!6 [sync] PR-4: add install requires

From: @openeuler-sync-bot 
Reviewed-by: @yeqinglong01 
Signed-off-by: @yeqinglong01
This commit is contained in:
openeuler-ci-bot 2022-12-20 01:32:26 +00:00 committed by Gitee
commit b393bc26d4
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F

View File

@ -1,6 +1,6 @@
Name: com.deepin.backup Name: com.deepin.backup
Version: 1.0 Version: 1.0
Release: 1 Release: 2
Source: %{name}-%{version}.tar.gz Source: %{name}-%{version}.tar.gz
Patch0: 0001-add-exit-after-the-backup-system-is-successful.patch Patch0: 0001-add-exit-after-the-backup-system-is-successful.patch
Patch1: 0002-modify-grub.cfg-path.patch Patch1: 0002-modify-grub.cfg-path.patch
@ -10,6 +10,7 @@ BuildRequires: libtool
BuildRequires: gcc-c++ BuildRequires: gcc-c++
Requires: restic Requires: restic
Requires: %{name}-grub2
Summary: UOS server backup tool Summary: UOS server backup tool
License: GPLv2 License: GPLv2
@ -22,6 +23,7 @@ Summary: A service for ubackup tools,when os starup in initramfs
BuildRequires: grub2-tools systemd BuildRequires: grub2-tools systemd
License: GPLv2 License: GPLv2
Provides: ubackup-grub2 Provides: ubackup-grub2
Requires: %{name} = %{version}-%{release}
%description grub2 %description grub2
A service for ubackup tools,when os starup in initramfs A service for ubackup tools,when os starup in initramfs
@ -97,6 +99,9 @@ install -p -m 0644 service/ubackup-restore.service %{buildroot}%{_sysconfdir}/ub
%{_prefix}/lib/dracut/modules.d/99ubackup/module-setup.sh %{_prefix}/lib/dracut/modules.d/99ubackup/module-setup.sh
%changelog %changelog
* Mon Dec 19 2022 liweiganga <liweiganga@uniontech.com> - 1.0-2
- feat: add requires
* Thu Aug 25 2022 liweiganga <liweiganga@uniontech.com> - 1.0-1 * Thu Aug 25 2022 liweiganga <liweiganga@uniontech.com> - 1.0-1
- feat: add exit after successful backup system - feat: add exit after successful backup system
- feat: modify restore path - feat: modify restore path