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: - Moved away from fedora-usermgmt in favor of plain shadow-utils.
Date: Thu, 30 Jul 2026 15:15:36 GMT	[thread overview]
Message-ID: <178542453667.1.3754169579838517206.rpms-icecream-060a6d631acf@fedoraproject.org> (raw)

A new commit has been pushed.

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

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.
 

                 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=178542453667.1.3754169579838517206.rpms-icecream-060a6d631acf@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