Skip to content

Commit

Permalink
Revert "revert sysusers setting [RHBZ#1740545]"
Browse files Browse the repository at this point in the history
This reverts commit ad7551f.

Provide users/groups via `/usr/lib/sysusers.d`. This is going
to be handled by RPM.

Relates to fedora-copr/copr#2789
  • Loading branch information
nikromen committed Jul 22, 2024
1 parent b9d77f4 commit 2b1b941
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions mock-core-configs/mock-core-configs.spec
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,9 @@ Rocky Linux and various other specific or combined chroots.

%install
mkdir -p %{buildroot}%{_sysusersdir}
%if 0%{?fedora} > 39 || 0%{?rhel} > 8
cp -a mock.conf %{buildroot}%{_sysusersdir}
%endif

mkdir -p %{buildroot}%{_sysconfdir}/mock/eol/templates
mkdir -p %{buildroot}%{_sysconfdir}/mock/templates
Expand Down Expand Up @@ -149,6 +152,9 @@ fi
%license COPYING
%doc README
%ghost %config(noreplace,missingok) %{_sysconfdir}/mock/default.cfg
%if 0%{?fedora} > 39 || 0%{?rhel} > 8
%config(noreplace) %{_sysusersdir}/mock.conf
%endif

%changelog
* Fri Apr 05 2024 Jakub Kadlcik <[email protected]> 40.3-1
Expand Down

0 comments on commit 2b1b941

Please sign in to comment.