public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/icecream] epel8: - Moved away from fedora-usermgmt in favor of plain shadow-utils.
@ 2026-07-31  6:33 Michal Schmidt
  0 siblings, 0 replies; only message in thread
From: Michal Schmidt @ 2026-07-31  6:33 UTC (permalink / raw)
  To: git-commits

A new commit has been pushed.

Repo   : rpms/icecream
Branch : epel8
Commit : 060a6d631acfae9d3d725cd18a2d4f3390e7d5d3
Author : Michal Schmidt <michich@fedoraproject.org>
Date   : 2010-07-08T15:07:12+00:00
Stats  : +10/-12 in 1 file(s)
URL    : https://src.fedoraproject.org/rpms/icecream/c/060a6d631acfae9d3d725cd18a2d4f3390e7d5d3?branch=epel8

Log:
- Moved away from fedora-usermgmt in favor of plain shadow-utils.

---
diff --git a/icecream.spec b/icecream.spec
index 47e150a..c672fc4 100644
--- a/icecream.spec
+++ b/icecream.spec
@@ -1,8 +1,6 @@
 %if 0%{?fedora}
-%bcond_without	fedora
 %bcond_without	selinux
 %else
-%bcond_with	fedora
 # I'd need to modify the policy a bit to make it work on RHEL,
 # so default to off when not building for Fedora.
 %bcond_with	selinux
@@ -11,7 +9,7 @@
 
 Name:		icecream
 Version:	0.9.5
-Release:	5%{?dist}
+Release:	6%{?dist}
 Summary:	Distributed compiler
 
 Group:		Development/Tools
@@ -37,11 +35,7 @@ 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(pre):		shadow-utils
 Requires(post):		chkconfig
 Requires(preun):	chkconfig initscripts
 Requires(postun):	initscripts
@@ -178,10 +172,11 @@ for selinuxvariant in %{selinux_variants}; do
 done
 %endif
 
-# https://fedoraproject.org/wiki/PackageUserRegistry
-%__fe_groupadd 44 -r icecream &>/dev/null || :
-%__fe_useradd  44 -r -s /sbin/nologin -d %{_localstatedir}/cache/icecream -M \
-	-c 'Icecream distributed compiler' -g icecream icecream &>/dev/null ||:
+getent group icecream >/dev/null || groupadd -r icecream
+getent passwd icecream >/dev/null || \
+	useradd -r -g icecream -d %{_localstatedir}/cache/icecream \
+	-s /sbin/nologin -c "Icecream distributed compiler" icecream
+exit 0
 
 %post
 /sbin/ldconfig
@@ -277,6 +272,9 @@ rm -rf %{buildroot}
 %{_libdir}/pkgconfig/icecc.pc
 
 %changelog
+* Thu Jul 08 2010 Michal Schmidt <mschmidt@redhat.com> 0.9.5-6
+- Moved away from fedora-usermgmt in favor of plain shadow-utils.
+
 * Sun Jun 13 2010 Michal Schmidt <mschmidt@redhat.com> 0.9.5-5
 - Mark UDP port 8765 as icecc_scheduler_port_t.
 

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

only message in thread, other threads:[~2026-07-31  6:33 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-07-31  6:33 [rpms/icecream] epel8: - Moved away from fedora-usermgmt in favor of plain shadow-utils Michal Schmidt

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