From 1b27e81c183e31cc1b3f3ef04ad53ff0950ffbe8442d9c294e7afdb950d22bd3 Mon Sep 17 00:00:00 2001 From: David Sterba Date: Wed, 10 Feb 2021 15:44:42 +0000 Subject: [PATCH] Accepting request 870892 from home:kukuk:branches:filesystems - Require libzypp plugin only if zypper is used (Required for e.g. image based systems). OBS-URL: https://build.opensuse.org/request/show/870892 OBS-URL: https://build.opensuse.org/package/show/filesystems/btrfsmaintenance?expand=0&rev=52 --- btrfsmaintenance.changes | 6 ++++++ btrfsmaintenance.spec | 4 ++-- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/btrfsmaintenance.changes b/btrfsmaintenance.changes index ede56e4..b86b9d2 100644 --- a/btrfsmaintenance.changes +++ b/btrfsmaintenance.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Wed Feb 10 12:49:06 UTC 2021 - Thorsten Kukuk + +- Require libzypp plugin only if zypper is used (Required for e.g. + image based systems). + ------------------------------------------------------------------- Wed Aug 19 09:01:02 UTC 2020 - Callum Farmer diff --git a/btrfsmaintenance.spec b/btrfsmaintenance.spec index d1568b1..ce2b6f3 100644 --- a/btrfsmaintenance.spec +++ b/btrfsmaintenance.spec @@ -1,7 +1,7 @@ # # spec file for package btrfsmaintenance # -# Copyright (c) 2020 SUSE LLC +# Copyright (c) 2021 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -32,7 +32,7 @@ Source0: %{name}-%{version}.tar.bz2 Source1: btrfs-defrag-plugin.sh BuildRequires: pkgconfig(systemd) Requires: btrfsprogs -Requires: libzypp(plugin:commit) +Requires: (libzypp(plugin:commit) if zypper) Supplements: btrfsprogs BuildArch: noarch %{?systemd_ordering}