From bf45eb97b7acd519d2c54142fdbfa8d44e16677b Mon Sep 17 00:00:00 2001 From: liweiganga Date: Mon, 19 Dec 2022 17:09:17 +0800 Subject: [PATCH] add install requires (cherry picked from commit 2a7dbac6dee1782d17c21384686f5c9a331ea60d) --- ubackup.spec | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/ubackup.spec b/ubackup.spec index 62f63f1..23aa4b9 100644 --- a/ubackup.spec +++ b/ubackup.spec @@ -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 - 1.0-2 +- feat: add requires + * Thu Aug 25 2022 liweiganga - 1.0-1 - feat: add exit after successful backup system - feat: modify restore path