public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/icecream] epel9: - Require /usr/sbin/semanage for scriptlets. (BZ#581272)
@ 2026-07-30 15:34 Michal Schmidt
  0 siblings, 0 replies; only message in thread
From: Michal Schmidt @ 2026-07-30 15:34 UTC (permalink / raw)
  To: git-commits

A new commit has been pushed.

Repo   : rpms/icecream
Branch : epel9
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=epel9

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).

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

only message in thread, other threads:[~2026-07-30 15:34 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-07-30 15:34 [rpms/icecream] epel9: - Require /usr/sbin/semanage for scriptlets. (BZ#581272) Michal Schmidt

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