public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Dominik 'Rathann' Mierzejewski <dominik@greysector.net>
To: git-commits@fedoraproject.org
Subject: [rpms/inn] epel10.3: move %pre scriptlet after %install
Date: Wed, 26 Aug 2026 08:54:48 GMT [thread overview]
Message-ID: <178773448835.1.3483523780710387013.rpms-inn-465f6f512343@fedoraproject.org> (raw)
A new commit has been pushed.
Repo : rpms/inn
Branch : epel10.3
Commit : 465f6f5123437c0efb72f9b4f32b62d94cf3dfb4
Author : Dominik 'Rathann' Mierzejewski <dominik@greysector.net>
Date : 2017-01-27T00:10:06+01:00
Stats : +15/-15 in 1 file(s)
URL : https://src.fedoraproject.org/rpms/inn/c/465f6f5123437c0efb72f9b4f32b62d94cf3dfb4?branch=epel10.3
Log:
move %pre scriptlet after %install
---
diff --git a/inn.spec b/inn.spec
index ee91289..8c55069 100644
--- a/inn.spec
+++ b/inn.spec
@@ -91,21 +91,6 @@ Group: Applications/System
%description libs
This package contains dynamic libraries provided by INN project
-%pre
-getent group news >/dev/null || groupadd -g 13 -r news
-getent passwd news >/dev/null || \
-useradd -r -u 9 -g news -d /etc/news \
--c "News server user" news
-getent group uucp >/dev/null || groupadd -g 14 -r uucp
-if ! getent passwd uucp >/dev/null ; then
- if ! getent passwd 10 >/dev/null ; then
- useradd -r -u 10 -g uucp -d /var/spool/uucp -c "Uucp user" uucp
- else
- useradd -r -g uucp -d /var/spool/uucp -c "Uucp user" uucp
- fi
-fi
-exit 0
-
%prep
%setup -q -n inn-%{version}
%patch1 -p1 -b .rh
@@ -227,6 +212,21 @@ useradd -r -u 9 -g news -d /etc/news \
-c "News server user" news
exit 0
+%pre
+getent group news >/dev/null || groupadd -g 13 -r news
+getent passwd news >/dev/null || \
+useradd -r -u 9 -g news -d /etc/news \
+-c "News server user" news
+getent group uucp >/dev/null || groupadd -g 14 -r uucp
+if ! getent passwd uucp >/dev/null ; then
+ if ! getent passwd 10 >/dev/null ; then
+ useradd -r -u 10 -g uucp -d /var/spool/uucp -c "Uucp user" uucp
+ else
+ useradd -r -g uucp -d /var/spool/uucp -c "Uucp user" uucp
+ fi
+fi
+exit 0
+
%post
su -m news -c '/usr/libexec/news/makedbz -i -o'
reply other threads:[~2026-08-26 8:54 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=178773448835.1.3483523780710387013.rpms-inn-465f6f512343@fedoraproject.org \
--to=dominik@greysector.net \
--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