Skip to content

Commit

Permalink
Merge branch 'rawhide-vs-rpmbuild-vs-sysuser'
Browse files Browse the repository at this point in the history
  • Loading branch information
natoscott committed Jul 9, 2024
2 parents eecf73d + 52635ce commit df2f03f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions build/rpm/pcp.spec.in
Original file line number Diff line number Diff line change
Expand Up @@ -2668,7 +2668,7 @@ done
%selinux_relabel_pre -s targeted
%endif
%if 0%{?fedora} >= 32 || 0%{?rhel} >= 9
systemd-sysusers --replace=@pcp_systemdsysusers_dir@/pcp-testsuite.conf - < %{_builddir}/debian/pcp-testsuite.sysusers
systemd-sysusers --replace=@pcp_systemdsysusers_dir@/pcp-testsuite.conf - < %{_topdir}/debian/pcp-testsuite.sysusers
%else
getent group pcpqa >/dev/null || groupadd -r pcpqa
getent passwd pcpqa >/dev/null || \
Expand Down Expand Up @@ -2708,7 +2708,7 @@ fi

%pre
%if 0%{?fedora} >= 32 || 0%{?rhel} >= 9
systemd-sysusers --replace=@pcp_systemdsysusers_dir@/pcp.conf - < %{_builddir}/debian/pcp.sysusers
systemd-sysusers --replace=@pcp_systemdsysusers_dir@/pcp.conf - < %{_topdir}/debian/pcp.sysusers
%else
getent group pcp >/dev/null || groupadd -r pcp
getent passwd pcp >/dev/null || \
Expand Down

0 comments on commit df2f03f

Please sign in to comment.