!6 [sync] PR-4: add install requires
From: @openeuler-sync-bot Reviewed-by: @yeqinglong01 Signed-off-by: @yeqinglong01
This commit is contained in:
commit
b393bc26d4
@ -1,6 +1,6 @@
|
||||
Name: com.deepin.backup
|
||||
Version: 1.0
|
||||
Release: 1
|
||||
Release: 2
|
||||
Source: %{name}-%{version}.tar.gz
|
||||
Patch0: 0001-add-exit-after-the-backup-system-is-successful.patch
|
||||
Patch1: 0002-modify-grub.cfg-path.patch
|
||||
@ -10,6 +10,7 @@ BuildRequires: libtool
|
||||
BuildRequires: gcc-c++
|
||||
|
||||
Requires: restic
|
||||
Requires: %{name}-grub2
|
||||
|
||||
Summary: UOS server backup tool
|
||||
License: GPLv2
|
||||
@ -22,6 +23,7 @@ Summary: A service for ubackup tools,when os starup in initramfs
|
||||
BuildRequires: grub2-tools systemd
|
||||
License: GPLv2
|
||||
Provides: ubackup-grub2
|
||||
Requires: %{name} = %{version}-%{release}
|
||||
|
||||
%description grub2
|
||||
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
|
||||
|
||||
%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
|
||||
- feat: add exit after successful backup system
|
||||
- feat: modify restore path
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user