public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Michal Schmidt <mschmidt@redhat.com>
To: git-commits@fedoraproject.org
Subject: [rpms/icecream] rawhide: have the sysusers config as a source file
Date: Wed, 29 Jul 2026 11:52:09 GMT	[thread overview]
Message-ID: <178532592973.1.15489492123538253436.rpms-icecream-ec23c76e0583@fedoraproject.org> (raw)

            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 -

                 reply	other threads:[~2026-07-29 11:52 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=178532592973.1.15489492123538253436.rpms-icecream-ec23c76e0583@fedoraproject.org \
    --to=mschmidt@redhat.com \
    --cc=git-commits@fedoraproject.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox