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: add sysusers compatibility handling
Date: Wed, 29 Jul 2026 11:52:10 GMT [thread overview]
Message-ID: <178532593019.1.8018023755793489142.rpms-icecream-77b9a5e98b7b@fedoraproject.org> (raw)
A new commit has been pushed.
Repo : rpms/icecream
Branch : rawhide
Commit : 77b9a5e98b7b1a46ee57f24e7fb984b8d1dacd8e
Author : Michal Schmidt <mschmidt@redhat.com>
Date : 2026-07-29T09:54:13+02:00
Stats : +3/-1 in 1 file(s)
URL : https://src.fedoraproject.org/rpms/icecream/c/77b9a5e98b7b1a46ee57f24e7fb984b8d1dacd8e?branch=rawhide
Log:
add sysusers compatibility handling
This will be useful for EPEL 9.
[skip changelog]
---
diff --git a/icecream.spec b/icecream.spec
index 50abc86..cf90e54 100644
--- a/icecream.spec
+++ b/icecream.spec
@@ -22,7 +22,7 @@ Source13: icecream-scheduler.xml
Source14: icecream.sysusers.conf
BuildRequires: gcc-c++
-BuildRequires: systemd
+BuildRequires: systemd systemd-rpm-macros
BuildRequires: libcap-ng-devel
BuildRequires: lzo-devel libzstd-devel libarchive-devel
BuildRequires: docbook2X
@@ -36,6 +36,7 @@ Requires(post): systemd
Requires(preun): systemd
Requires(postun): systemd
Requires(post): findutils
+%{?sysusers_requires_compat}
%if %{with selinux}
# For SELinux protection:
@@ -172,6 +173,7 @@ fi;
install -m0644 -D fedora/icecream.sysusers.conf %{buildroot}%{_sysusersdir}/icecream.conf
%pre
+%sysusers_create_compat %{SOURCE14}
%if %{with selinux}
for selinuxvariant in %{selinux_variants}; do
%saveFileContext ${selinuxvariant}
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=178532593019.1.8018023755793489142.rpms-icecream-77b9a5e98b7b@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