From 3aa60f189484e52b61d02e72298d5df85e654c04 Mon Sep 17 00:00:00 2001 From: Rahul Sundaram Date: Tue, 19 Feb 2013 11:49:53 -0500 Subject: [PATCH] upstream release 2.77 - https://trac.transmissionbt.com/wiki/Changes#version-2.77 --- sources | 2 +- transmission.spec | 31 ++++++++++++------------------- 2 files changed, 13 insertions(+), 20 deletions(-) diff --git a/sources b/sources index 124caaa..67897f5 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -9abbffe29ce9b5ee68a116d293c51111 transmission-2.76.tar.xz +60c0e77a1852656215f7102a437b2a3d transmission-2.77.tar.xz diff --git a/transmission.spec b/transmission.spec index 9fed9bd..daf143e 100644 --- a/transmission.spec +++ b/transmission.spec @@ -1,6 +1,6 @@ Name: transmission -Version: 2.76 -Release: 2%{?dist} +Version: 2.77 +Release: 1%{?dist} Summary: A lightweight GTK+ BitTorrent client Group: Applications/Internet @@ -134,24 +134,14 @@ update-desktop-database > /dev/null 2>&1 || : %post qt update-desktop-database > /dev/null 2>&1 || : -%preun daemon -if [ $1 = 0 ] ; then - /bin/systemctl stop transmission-daemon.service >/dev/null 2>&1 || : - /bin/systemctl disable transmission-daemon.service >/dev/null 2>&1 || : -fi +%post +%systemd_post transmission-daemon.service -%postun common -if [ $1 -eq 0 ]; then -touch --no-create %{_datadir}/icons/hicolor || : -%{_bindir}/gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor || : -fi +%preun +%systemd_preun transmission-daemon.service -%postun daemon -/bin/systemctl daemon-reload >/dev/null 2>&1 || : -if [ $1 -ge 1 ] ; then - # Package upgrade, not uninstall - /bin/systemctl try-restart transmission-daemon.service >/dev/null 2>&1 || : -fi +%postun +%systemd_postun_with_restart transmission-daemon.service %postun gtk update-desktop-database > /dev/null 2>&1 || : @@ -162,7 +152,6 @@ update-desktop-database > /dev/null 2>&1 || : %posttrans common %{_bindir}/gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor || : - %files %files common @@ -200,6 +189,10 @@ update-desktop-database > /dev/null 2>&1 || : %doc %{_mandir}/man1/transmission-qt.* %changelog +* Tue Feb 19 2013 Rahul Sundaram - 2.77-1 +- upstream release 2.77 +- https://trac.transmissionbt.com/wiki/Changes#version-2.77 + * Fri Feb 15 2013 Fedora Release Engineering - 2.76-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild