add install requires

(cherry picked from commit 2a7dbac6dee1782d17c21384686f5c9a331ea60d)
This commit is contained in:
liweiganga 2022-12-19 17:09:17 +08:00 committed by openeuler-sync-bot
parent 257ca0e398
commit bf45eb97b7

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