public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/transmission] epel10: fix use of systemd macros to apply to daemon subpackage only
@ 2026-07-20 20:37 Rahul Sundaram
0 siblings, 0 replies; only message in thread
From: Rahul Sundaram @ 2026-07-20 20:37 UTC (permalink / raw)
To: git-commits
A new commit has been pushed.
Repo : rpms/transmission
Branch : epel10
Commit : ebf452ad492ec7daab69673cf76e4717731bf4b8
Author : Rahul Sundaram <sundaram@fedoraproject.org>
Date : 2013-04-02T18:50:40-04:00
Stats : +7/-10 in 1 file(s)
URL : https://src.fedoraproject.org/rpms/transmission/c/ebf452ad492ec7daab69673cf76e4717731bf4b8?branch=epel10
Log:
fix use of systemd macros to apply to daemon subpackage only
---
diff --git a/transmission.spec b/transmission.spec
index daf143e..3056036 100644
--- a/transmission.spec
+++ b/transmission.spec
@@ -1,6 +1,6 @@
Name: transmission
Version: 2.77
-Release: 1%{?dist}
+Release: 2%{?dist}
Summary: A lightweight GTK+ BitTorrent client
Group: Applications/Internet
@@ -122,25 +122,19 @@ desktop-file-install \
%post common
touch --no-create %{_datadir}/icons/hicolor || :
-%post daemon
-if [ $1 -eq 1 ] ; then
- # Initial installation
- /bin/systemctl daemon-reload >/dev/null 2>&1 || :
-fi
-
%post gtk
update-desktop-database > /dev/null 2>&1 || :
%post qt
update-desktop-database > /dev/null 2>&1 || :
-%post
+%post daemon
%systemd_post transmission-daemon.service
-%preun
+%preun daemon
%systemd_preun transmission-daemon.service
-%postun
+%postun daemon
%systemd_postun_with_restart transmission-daemon.service
%postun gtk
@@ -189,6 +183,9 @@ update-desktop-database > /dev/null 2>&1 || :
%doc %{_mandir}/man1/transmission-qt.*
%changelog
+* Tue Apr 02 2013 Rahul Sundaram <sundaram@fedoraproject.org> - 2.77-2
+- fix use of systemd macros to apply to daemon subpackage only
+
* Tue Feb 19 2013 Rahul Sundaram <sundaram@fedoraproject.org> - 2.77-1
- upstream release 2.77
- https://trac.transmissionbt.com/wiki/Changes#version-2.77
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2026-07-20 20:37 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-07-20 20:37 [rpms/transmission] epel10: fix use of systemd macros to apply to daemon subpackage only Rahul Sundaram
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox