public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Kalev Lember <klember@redhat.com>
To: git-commits@fedoraproject.org
Subject: [rpms/transmission] epel10: Remove unnecessary post/preun/postun requires on systemd
Date: Mon, 20 Jul 2026 20:37:50 GMT	[thread overview]
Message-ID: <178457987065.1.3625264957877822889.rpms-transmission-029731ac23c0@fedoraproject.org> (raw)

            A new commit has been pushed.

            Repo   : rpms/transmission
            Branch : epel10
            Commit : 029731ac23c0082fcf887d947b9f4e5400c97c36
            Author : Kalev Lember <klember@redhat.com>
            Date   : 2023-07-14T21:37:02+02:00
            Stats  : +4/-4 in 1 file(s)
            URL    : https://src.fedoraproject.org/rpms/transmission/c/029731ac23c0082fcf887d947b9f4e5400c97c36?branch=epel10

            Log:
            Remove unnecessary post/preun/postun requires on systemd

There is no need to have them as systemd and latest systemd rpm macros
correctly handle reloading depending on the transaction ordering (even
if systemd gets installed _after_ the package that installs the unit
file).

---
diff --git a/transmission.spec b/transmission.spec
index eff403a..a56b7e7 100644
--- a/transmission.spec
+++ b/transmission.spec
@@ -2,7 +2,7 @@
 
 Name:           transmission
 Version:        4.0.3
-Release:        2%{?dist}
+Release:        3%{?dist}
 Summary:        A lightweight GTK+ BitTorrent client
 # See COPYING. This licensing situation is... special.
 License:        MIT and GPL-2.0-only
@@ -62,9 +62,6 @@ Command line version of Transmission BitTorrent client.
 Summary:       Transmission daemon
 Requires:      transmission-common%{?_isa}
 Requires(pre): shadow-utils
-Requires(post): systemd
-Requires(preun): systemd
-Requires(postun): systemd
 BuildRequires: systemd
 %description daemon
 Transmission BitTorrent client daemon.
@@ -180,6 +177,9 @@ desktop-file-install \
 %doc %{_mandir}/man1/transmission-qt.*
 
 %changelog
+* Fri Jul 14 2023 Kalev Lember <klember@redhat.com> - 4.0.3-3
+- Remove unnecessary post/preun/postun requires on systemd
+
 * Thu Jun 22 2023 Gwyn Ciesla <gwync@protonmail.com> - 4.0.3-2
 - Set build type
 

                 reply	other threads:[~2026-07-20 20:37 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=178457987065.1.3625264957877822889.rpms-transmission-029731ac23c0@fedoraproject.org \
    --to=klember@redhat.com \
    --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