public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/transmission] epel10: update scriptlets to match current guidelines
@ 2026-07-20 20:37 Adam Williamson
0 siblings, 0 replies; only message in thread
From: Adam Williamson @ 2026-07-20 20:37 UTC (permalink / raw)
To: git-commits
A new commit has been pushed.
Repo : rpms/transmission
Branch : epel10
Commit : e883518d60e336f8ffcae1476bc32f94337ca7e0
Author : Adam Williamson <awilliam@redhat.com>
Date : 2013-05-10T14:17:30-07:00
Stats : +15/-6 in 1 file(s)
URL : https://src.fedoraproject.org/rpms/transmission/c/e883518d60e336f8ffcae1476bc32f94337ca7e0?branch=epel10
Log:
update scriptlets to match current guidelines
---
diff --git a/transmission.spec b/transmission.spec
index 7e0c9ff..27a0810 100644
--- a/transmission.spec
+++ b/transmission.spec
@@ -124,13 +124,13 @@ desktop-file-install \
%post common
-touch --no-create %{_datadir}/icons/hicolor || :
+/bin/touch --no-create %{_datadir}/icons/hicolor &>/dev/null || :
%post gtk
-update-desktop-database > /dev/null 2>&1 || :
+/usr/bin/update-desktop-database &> /dev/null || :
%post qt
-update-desktop-database > /dev/null 2>&1 || :
+/usr/bin/update-desktop-database &> /dev/null || :
%post daemon
%systemd_post transmission-daemon.service
@@ -138,17 +138,23 @@ update-desktop-database > /dev/null 2>&1 || :
%preun daemon
%systemd_preun transmission-daemon.service
+%postun common
+if [ $1 -eq 0 ] ; then
+ /bin/touch --no-create %{_datadir}/icons/hicolor &>/dev/null
+ /usr/bin/gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
+fi
+
%postun daemon
%systemd_postun_with_restart transmission-daemon.service
%postun gtk
-update-desktop-database > /dev/null 2>&1 || :
+/usr/bin/update-desktop-database &> /dev/null || :
%postun qt
-update-desktop-database > /dev/null 2>&1 || :
+/usr/bin/update-desktop-database &> /dev/null || :
%posttrans common
-%{_bindir}/gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor || :
+/usr/bin/gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
%files
@@ -187,6 +193,9 @@ update-desktop-database > /dev/null 2>&1 || :
%doc %{_mandir}/man1/transmission-qt.*
%changelog
+* Fri May 10 2013 Adam Williamson <awilliam@redhat.com>
+- update scriptlets to match current guidelines
+
* Mon Apr 22 2013 Rahul Sundaram <sundaram@fedoraproject.org> - 2.77-3
- use hardened build macro and enable fPIC for Qt build. resolves rhbz#955268
^ 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: update scriptlets to match current guidelines Adam Williamson
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox