diff --git a/epkg-0.2.0.tar.gz b/epkg-0.2.0.tar.gz deleted file mode 100644 index fb719f59ad7ee010667f00fcbb2cea008ea3f228..0000000000000000000000000000000000000000 Binary files a/epkg-0.2.0.tar.gz and /dev/null differ diff --git a/epkg-0.3.0.tar.gz b/epkg-0.3.0.tar.gz new file mode 100644 index 0000000000000000000000000000000000000000..6e591daf078144e61d68a083bb6d8cd1ce7b3147 Binary files /dev/null and b/epkg-0.3.0.tar.gz differ diff --git a/epkg.spec b/epkg.spec index cec3cdc3e872c1ce630301d2f1cfbbebcf5702dd..32e60358a75c91b93e64e30d500bfe0c4aa92ff4 100644 --- a/epkg.spec +++ b/epkg.spec @@ -1,19 +1,20 @@ Name: epkg -Version: 0.2.0 -Release: 5 +Version: 0.3.0 +Release: 2 Summary: A new type of software package License: MulanPSL-2.0+ URL: https://gitee.com/openeuler/epkg Source0: %{name}-%{version}.tar.gz Source1: rootfs.tar.gz +Requires: coreutils, tar + +%global debug_package %{nil} %if "%{_arch}" != "x86_64" && "%{_arch}" != "aarch64" %error "Unsupported architecture: %{_arch}. Only x86_64 and aarch64 are supported." exit 1 %endif -Requires: coreutils, tar - %description epkg is a new type of software package format developed by the openEuler community. It supports multiple environments and versions, addressing software package compatibility issues. @@ -48,29 +49,25 @@ ln -sT usr/lib64 lib64 cd %{buildroot}%{common_root}/ ln -sT profile-1 profile-current -# mv to cache +# epkg-manager mv %{_builddir}/%{name}-%{version}/ %{buildroot}%{cache_root}/epkg-manager/ -mv %{_builddir}/rootfs/epkg-%{_arch} %{buildroot}%{cache_root}/ -mv %{_builddir}/rootfs/epkg-rootfs-%{_arch}.tar.gz %{buildroot}%{cache_root}/ -mv %{_builddir}/rootfs/epkg-helper-%{_arch} %{buildroot}%{cache_root}/ -mv %{_builddir}/rootfs/epkg-hash-%{_arch} %{buildroot}%{cache_root}/ +rm -rf %{buildroot}%{cache_root}/epkg-manager/target + +# rootfs mv %{_builddir}/rootfs/elf-loader-%{_arch} %{buildroot}%{cache_root}/ +mv %{_builddir}/rootfs/epkg-%{_arch} %{buildroot}%{cache_root}/ # unpack cp -a %{buildroot}%{cache_root}/epkg-manager/bin %{buildroot}%{common_root}/profile-1/usr/ cp -a %{buildroot}%{cache_root}/epkg-manager/lib/epkg %{buildroot}%{common_root}/profile-1/usr/lib/ -cp %{buildroot}%{cache_root}/epkg-manager/channel.json %{buildroot}%{common_root}/profile-1/etc/epkg/ cp %{buildroot}%{cache_root}/epkg-manager/channel/openEuler-24.03-LTS-channel.yaml %{buildroot}%{common_root}/profile-1/etc/epkg/channel.yaml cp -a %{buildroot}%{cache_root}/epkg-manager/build %{buildroot}%{opt_epkg}/ -cp %{buildroot}%{cache_root}/epkg-%{_arch} %{buildroot}%{common_root}/profile-1/usr/bin/epkg -cp %{buildroot}%{cache_root}/epkg-hash-%{_arch} %{buildroot}%{common_root}/profile-1/usr/bin/epkg-hash cp %{buildroot}%{cache_root}/elf-loader-%{_arch} %{buildroot}%{common_root}/profile-1/usr/bin/elf-loader -cp %{buildroot}%{cache_root}/epkg-helper-%{_arch} %{buildroot}%{common_root}/profile-1/usr/bin/epkg-helper +cp %{buildroot}%{cache_root}/epkg-%{_arch} %{buildroot}%{common_root}/profile-1/usr/bin/epkg # chmod chmod -R 755 %{buildroot}%{opt_epkg} chmod 4755 %{buildroot}%{common_root}/profile-1/usr/bin/epkg -chmod 4755 %{buildroot}%{common_root}/profile-1/usr/bin/epkg-helper %post # Add epkg environment configuration to system profile @@ -111,6 +108,11 @@ done %{opt_epkg}/ %changelog +* Tue Mar 21 2025 rkingkoyo - 0.3.0-2 +- Update version to 0.3.0 +- remove epkg-hash +- remove epkg-helper + * Fri Mar 7 2025 rkingkoyo - 0.2.0-5 - Update version to 0.2.0 - update epkg.spec diff --git a/rootfs.tar.gz b/rootfs.tar.gz index fe274ba79075d16d35578e4bfa5da55ffe0dfcdc..cf7f3388cf89c10be04fd68198f6a9a170689c3e 100644 Binary files a/rootfs.tar.gz and b/rootfs.tar.gz differ