public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/icecream] rawhide: have the sysusers config as a source file
@ 2026-07-29 11:52 Michal Schmidt
  0 siblings, 0 replies; only message in thread
From: Michal Schmidt @ 2026-07-29 11:52 UTC (permalink / raw)
  To: git-commits

            A new commit has been pushed.

            Repo   : rpms/icecream
            Branch : rawhide
            Commit : ec23c76e0583b34b51c950b66cbb4f078b72564b
            Author : Michal Schmidt <mschmidt@redhat.com>
            Date   : 2026-07-29T09:53:25+02:00
            Stats  : +4/-7 in 2 file(s)
            URL    : https://src.fedoraproject.org/rpms/icecream/c/ec23c76e0583b34b51c950b66cbb4f078b72564b?branch=rawhide

            Log:
            have the sysusers config as a source file

[skip changelog]

---
diff --git a/icecream.spec b/icecream.spec
index 7e66038..50abc86 100644
--- a/icecream.spec
+++ b/icecream.spec
@@ -19,6 +19,7 @@ Source10: icecc-scheduler-wrapper
 Source11: icecream-tmpfiles.conf
 Source12: icecream.xml
 Source13: icecream-scheduler.xml
+Source14: icecream.sysusers.conf
 
 BuildRequires: gcc-c++
 BuildRequires: systemd
@@ -84,12 +85,7 @@ This package contains development files for %{name}.
 mkdir SELinux
 cp -p %{SOURCE3} %{SOURCE4} %{SOURCE5} SELinux
 mkdir fedora
-cp -p %{SOURCE6} %{SOURCE7} %{SOURCE9} %{SOURCE10} %{SOURCE11} fedora
-
-# Create a sysusers.d config file
-cat >icecream.sysusers.conf <<EOF
-u icecc - 'Icecream distributed compiler' %{_localstatedir}/cache/icecream -
-EOF
+cp -p %{SOURCE6} %{SOURCE7} %{SOURCE9} %{SOURCE10} %{SOURCE11} %{SOURCE14} fedora
 
 %build
 ./autogen.sh
@@ -173,7 +169,7 @@ if [ $? == 0  -a "${SELINUXTYPE}" == %1 -a -f ${FILE_CONTEXT}.%{name} ]; then \
 	rm -f ${FILE_CONTEXT}.%name; \
 fi;
 
-install -m0644 -D icecream.sysusers.conf %{buildroot}%{_sysusersdir}/icecream.conf
+install -m0644 -D fedora/icecream.sysusers.conf %{buildroot}%{_sysusersdir}/icecream.conf
 
 %pre
 %if %{with selinux}

diff --git a/icecream.sysusers.conf b/icecream.sysusers.conf
new file mode 100644
index 0000000..65bb698
--- /dev/null
+++ b/icecream.sysusers.conf
@@ -0,0 +1 @@
+u icecc - 'Icecream distributed compiler' /var/cache/icecream -

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2026-07-29 11:52 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-07-29 11:52 [rpms/icecream] rawhide: have the sysusers config as a source file Michal Schmidt

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox