!5 添加centos7客户端aarch64依赖
From: @f16lx Reviewed-by: @xingwei-liu Signed-off-by: @xingwei-liu
This commit is contained in:
commit
ac057d0979
@ -1,8 +1,7 @@
|
||||
Name: migration-tools
|
||||
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
|
||||
|
||||
License: MulanPSL-2.0
|
||||
Source0: ut-Migration-tools.tar.gz
|
||||
Patch0: 0001-fix-export-error-and-no-migration-details-issue.patch
|
||||
@ -10,23 +9,20 @@ BuildArch: noarch
|
||||
%description
|
||||
UOS Migration Software
|
||||
|
||||
|
||||
%package -n migration-tools-server
|
||||
Summary: migration-tools-server
|
||||
License: MulanPSL-2.0
|
||||
Requires:python3
|
||||
Requires:python3-pip
|
||||
Requires:sshpass
|
||||
Requires:python3-paramiko
|
||||
Requires:python3-flask
|
||||
Requires:python3-requests
|
||||
|
||||
Summary: migration-tools-server
|
||||
License: MulanPSL-2.0
|
||||
Requires: python3
|
||||
Requires: python3-pip
|
||||
Requires: sshpass
|
||||
Requires: python3-paramiko
|
||||
Requires: python3-flask
|
||||
Requires: python3-requests
|
||||
|
||||
%description -n migration-tools-server
|
||||
Migration software server side
|
||||
|
||||
|
||||
|
||||
%prep
|
||||
%setup -c
|
||||
%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/etc/migration-tools
|
||||
|
||||
|
||||
cp -r ut-Migration-tools/* $RPM_BUILD_ROOT/usr/lib/migration-tools-server/
|
||||
|
||||
# Install server config
|
||||
@ -54,7 +49,6 @@ systemctl daemon-reload
|
||||
systemctl restart migration-tools-server.service
|
||||
systemctl enable migration-tools-server.service
|
||||
|
||||
|
||||
%postun -n migration-tools-server
|
||||
systemctl disable migration-tools-server.service
|
||||
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/lib/systemd/system/migration-tools-server.service
|
||||
|
||||
|
||||
%files -n migration-tools-server
|
||||
/etc/migration-tools
|
||||
/usr/lib/migration-tools-server
|
||||
|
||||
|
||||
%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
|
||||
- fix export log and migration report error
|
||||
- fix no migration detail error
|
||||
|
||||
Binary file not shown.
Loading…
x
Reference in New Issue
Block a user