From 029731ac23c0082fcf887d947b9f4e5400c97c36 Mon Sep 17 00:00:00 2001 From: Kalev Lember Date: Fri, 14 Jul 2023 21:33:20 +0200 Subject: [PATCH] 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). --- transmission.spec | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) 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 - 4.0.3-3 +- Remove unnecessary post/preun/postun requires on systemd + * Thu Jun 22 2023 Gwyn Ciesla - 4.0.3-2 - Set build type