Only pull in systemd-rpm-macros if rpm-build is installed
systemd-rpm-macros is small, but it pulls in bash and is always one more package. It is only useful if the rpm building utilities are there, so let's conditionalize on that.
This commit is contained in:
parent
05f788e704
commit
a82ca9b3d8
@ -178,7 +178,7 @@ Requires(pre): /usr/bin/getent
|
|||||||
Requires(pre): /usr/sbin/groupadd
|
Requires(pre): /usr/sbin/groupadd
|
||||||
Requires: dbus >= 1.9.18
|
Requires: dbus >= 1.9.18
|
||||||
Requires: %{name}-pam = %{version}-%{release}
|
Requires: %{name}-pam = %{version}-%{release}
|
||||||
Requires: %{name}-rpm-macros = %{version}-%{release}
|
Requires: (%{name}-rpm-macros = %{version}-%{release} if rpm-build)
|
||||||
Requires: %{name}-libs = %{version}-%{release}
|
Requires: %{name}-libs = %{version}-%{release}
|
||||||
%{?fedora:Recommends: %{name}-networkd = %{version}-%{release}}
|
%{?fedora:Recommends: %{name}-networkd = %{version}-%{release}}
|
||||||
Recommends: diffutils
|
Recommends: diffutils
|
||||||
|
Loading…
Reference in New Issue
Block a user