添加centos7 客户端aarch64依赖
This commit is contained in:
parent
f7d2ac5c1e
commit
35e89ae16e
@ -1,8 +1,7 @@
|
|||||||
Name: migration-tools
|
Name: migration-tools
|
||||||
Version: 1.0.0
|
Version: 1.0.0
|
||||||
Release: 2
|
Release: 3
|
||||||
Summary: A tool to help users migrate the Centos system to the UOS system and openEuler system
|
Summary: A tool to help users migrate the Centos system to the UOS system and openEuler system
|
||||||
|
|
||||||
License: MulanPSL-2.0
|
License: MulanPSL-2.0
|
||||||
Source0: ut-Migration-tools.tar.gz
|
Source0: ut-Migration-tools.tar.gz
|
||||||
Patch0: 0001-fix-export-error-and-no-migration-details-issue.patch
|
Patch0: 0001-fix-export-error-and-no-migration-details-issue.patch
|
||||||
@ -10,23 +9,20 @@ BuildArch: noarch
|
|||||||
%description
|
%description
|
||||||
UOS Migration Software
|
UOS Migration Software
|
||||||
|
|
||||||
|
|
||||||
%package -n migration-tools-server
|
%package -n migration-tools-server
|
||||||
Summary: migration-tools-server
|
Summary: migration-tools-server
|
||||||
License: MulanPSL-2.0
|
License: MulanPSL-2.0
|
||||||
Requires:python3
|
Requires: python3
|
||||||
Requires:python3-pip
|
Requires: python3-pip
|
||||||
Requires:sshpass
|
Requires: sshpass
|
||||||
Requires:python3-paramiko
|
Requires: python3-paramiko
|
||||||
Requires:python3-flask
|
Requires: python3-flask
|
||||||
Requires:python3-requests
|
Requires: python3-requests
|
||||||
|
|
||||||
|
|
||||||
%description -n migration-tools-server
|
%description -n migration-tools-server
|
||||||
Migration software server side
|
Migration software server side
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -c
|
%setup -c
|
||||||
%patch 0 -p1
|
%patch 0 -p1
|
||||||
@ -37,7 +33,6 @@ mkdir -p $RPM_BUILD_ROOT/usr/lib/migration-tools-server
|
|||||||
mkdir -p $RPM_BUILD_ROOT/var/tmp/uos-migration
|
mkdir -p $RPM_BUILD_ROOT/var/tmp/uos-migration
|
||||||
%{__mkdir_p} $RPM_BUILD_ROOT/etc/migration-tools
|
%{__mkdir_p} $RPM_BUILD_ROOT/etc/migration-tools
|
||||||
|
|
||||||
|
|
||||||
cp -r ut-Migration-tools/* $RPM_BUILD_ROOT/usr/lib/migration-tools-server/
|
cp -r ut-Migration-tools/* $RPM_BUILD_ROOT/usr/lib/migration-tools-server/
|
||||||
|
|
||||||
# Install server config
|
# Install server config
|
||||||
@ -54,7 +49,6 @@ systemctl daemon-reload
|
|||||||
systemctl restart migration-tools-server.service
|
systemctl restart migration-tools-server.service
|
||||||
systemctl enable migration-tools-server.service
|
systemctl enable migration-tools-server.service
|
||||||
|
|
||||||
|
|
||||||
%postun -n migration-tools-server
|
%postun -n migration-tools-server
|
||||||
systemctl disable migration-tools-server.service
|
systemctl disable migration-tools-server.service
|
||||||
rm -rf /usr/lib/migration-tools-server/
|
rm -rf /usr/lib/migration-tools-server/
|
||||||
@ -62,13 +56,14 @@ rm -rf /usr/lib/migration-tools
|
|||||||
rm -rf /usr/bin/migration-tools
|
rm -rf /usr/bin/migration-tools
|
||||||
rm -rf /usr/lib/systemd/system/migration-tools-server.service
|
rm -rf /usr/lib/systemd/system/migration-tools-server.service
|
||||||
|
|
||||||
|
|
||||||
%files -n migration-tools-server
|
%files -n migration-tools-server
|
||||||
/etc/migration-tools
|
/etc/migration-tools
|
||||||
/usr/lib/migration-tools-server
|
/usr/lib/migration-tools-server
|
||||||
|
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Tue Aug 22 2023 lixin <lixinb@uniontech.com> - 1.0.0-3
|
||||||
|
- feat: add aarch64 agent package
|
||||||
|
|
||||||
* Mon Aug 21 2023 lixin <lixinb@uniontech.com> - 1.0.0-2
|
* Mon Aug 21 2023 lixin <lixinb@uniontech.com> - 1.0.0-2
|
||||||
- fix export log and migration report error
|
- fix export log and migration report error
|
||||||
- fix no migration detail error
|
- fix no migration detail error
|
||||||
|
|||||||
Binary file not shown.
Loading…
x
Reference in New Issue
Block a user