public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Michal Schmidt <michich@fedoraproject.org>
To: git-commits@fedoraproject.org
Subject: [rpms/icecream] epel10: - Require /usr/sbin/semanage for scriptlets. (BZ#581272)
Date: Thu, 30 Jul 2026 15:15:35 GMT	[thread overview]
Message-ID: <178542453571.1.2188707403998892923.rpms-icecream-a3e36cd509fd@fedoraproject.org> (raw)

A new commit has been pushed.

Repo   : rpms/icecream
Branch : epel10
Commit : a3e36cd509fdfd4c5be6c3e19052e016bbd5507f
Author : Michal Schmidt <michich@fedoraproject.org>
Date   : 2010-06-12T21:37:12+00:00
Stats  : +17/-10 in 1 file(s)
URL    : https://src.fedoraproject.org/rpms/icecream/c/a3e36cd509fdfd4c5be6c3e19052e016bbd5507f?branch=epel10

Log:
- Require /usr/sbin/semanage for scriptlets. (BZ#581272)

---
diff --git a/icecream.spec b/icecream.spec
index 18ef4a0..b0f0eff 100644
--- a/icecream.spec
+++ b/icecream.spec
@@ -11,7 +11,7 @@
 
 Name:		icecream
 Version:	0.9.5
-Release:	3%{?dist}
+Release:	4%{?dist}
 Summary:	Distributed compiler
 
 Group:		Development/Tools
@@ -37,9 +37,22 @@ BuildRoot:	%{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 
 BuildRequires:	symlinks
 
+BuildRequires:	fedora-usermgmt-devel
+%{?FE_USERADD_REQ}
+Provides:	group(icecream)	= 44
+Provides:	user(icecream)	= 44
+
+Requires(post):		chkconfig
+Requires(preun):	chkconfig initscripts
+Requires(postun):	initscripts
+
 %if %{with selinux}
 # For SELinux protection:
 BuildRequires:	checkpolicy selinux-policy-devel hardlink
+# semanage is in policycoreutils (EL-5) or policycoreutils-python (Fedora). File dep will work in both.
+Requires(post):		policycoreutils /usr/sbin/semanage
+Requires(preun):	policycoreutils /usr/sbin/semanage
+Requires(postun):	policycoreutils
 %define selinux_policyver %(sed -e 's,.*selinux-policy-\\([^/]*\\)/.*,\\1,' /usr/share/selinux/devel/policyhelp) 
 %if "%{selinux_policyver}" != ""
 Requires:	selinux-policy >= %{selinux_policyver}
@@ -47,15 +60,6 @@ Requires:	selinux-policy >= %{selinux_policyver}
 %define selinux_variants mls strict targeted 
 %endif
 
-BuildRequires:	fedora-usermgmt-devel
-%{?FE_USERADD_REQ}
-Requires(post):		chkconfig policycoreutils
-Requires(preun):	chkconfig initscripts policycoreutils 
-Requires(postun):	initscripts policycoreutils
-
-Provides:	group(icecream)	= 44
-Provides:	user(icecream)	= 44
-
 
 # description copied from Debian icecc package
 %description
@@ -272,6 +276,9 @@ rm -rf %{buildroot}
 %{_libdir}/pkgconfig/icecc.pc
 
 %changelog
+* Sat Jun 12 2010 Michal Schmidt <mschmidt@redhat.com> 0.9.5-4
+- Require /usr/sbin/semanage for scriptlets. (BZ#581272)
+
 * Sat Jun 12 2010 Michal Schmidt <mschmidt@redhat.com> 0.9.5-3
 - Fix incorrect handling of SELinux in the scriptlets.
 - Avoid recursive rpm invocation (fixfiles -R).

                 reply	other threads:[~2026-07-30 15:15 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=178542453571.1.2188707403998892923.rpms-icecream-a3e36cd509fd@fedoraproject.org \
    --to=michich@fedoraproject.org \
    --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