Skip to content

Commit

Permalink
fix: use proper macro syntax for systemd_requires (#881)
Browse files Browse the repository at this point in the history
  • Loading branch information
lleyton authored Jan 7, 2024
1 parent b8e8cd3 commit a7c8f8a
Showing 1 changed file with 4 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,7 @@ License: GPLv3+
Source0: polkit.conf
Source1: rpcbind.conf
BuildRequires: systemd-rpm-macros
%systemd_requires

%{?systemd_requires}

%description
A set of systemd system user presets to supplement Fedora's defaults,
Expand All @@ -22,7 +21,7 @@ generates the polkitd system user for Polkit to use properly.
%package polkit
Summary: Polkit system user
Requires: rpcbind
%systemd_requires
%{?systemd_requires}
Supplements: polkit

%description polkit
Expand All @@ -31,7 +30,7 @@ Polkit system user preset
%package rpcbind
Summary: RPC bind system user
Requires: rpcbind
%systemd_requires
%{?systemd_requires}
Supplements: rpcbind

%description rpcbind
Expand All @@ -56,4 +55,4 @@ systemd-sysusers %{_sysusersdir}/rpcbind.conf
%{_sysusersdir}/rpcbind.conf

%changelog
%autochangelog
%autochangelog

0 comments on commit a7c8f8a

Please sign in to comment.