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}