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).
epel9
Kalev Lember 2 years ago
parent 4063285d28
commit 029731ac23

@ -2,7 +2,7 @@
Name: transmission Name: transmission
Version: 4.0.3 Version: 4.0.3
Release: 2%{?dist} Release: 3%{?dist}
Summary: A lightweight GTK+ BitTorrent client Summary: A lightweight GTK+ BitTorrent client
# See COPYING. This licensing situation is... special. # See COPYING. This licensing situation is... special.
License: MIT and GPL-2.0-only License: MIT and GPL-2.0-only
@ -62,9 +62,6 @@ Command line version of Transmission BitTorrent client.
Summary: Transmission daemon Summary: Transmission daemon
Requires: transmission-common%{?_isa} Requires: transmission-common%{?_isa}
Requires(pre): shadow-utils Requires(pre): shadow-utils
Requires(post): systemd
Requires(preun): systemd
Requires(postun): systemd
BuildRequires: systemd BuildRequires: systemd
%description daemon %description daemon
Transmission BitTorrent client daemon. Transmission BitTorrent client daemon.
@ -180,6 +177,9 @@ desktop-file-install \
%doc %{_mandir}/man1/transmission-qt.* %doc %{_mandir}/man1/transmission-qt.*
%changelog %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 * Thu Jun 22 2023 Gwyn Ciesla <gwync@protonmail.com> - 4.0.3-2
- Set build type - Set build type

Loading…
Cancel
Save