public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Rex Dieter <rdieter@fedoraproject.org>
To: git-commits@fedoraproject.org
Subject: [rpms/transmission] epel10: - -common: move icon scriptlets here (where the icons are), update/optimize
Date: Mon, 20 Jul 2026 20:36:47 GMT	[thread overview]
Message-ID: <178457980795.1.3056842613835113851.rpms-transmission-d4bcdf074d09@fedoraproject.org> (raw)

            A new commit has been pushed.

            Repo   : rpms/transmission
            Branch : epel10
            Commit : d4bcdf074d0912a8388bbb6c366cabe92093ddc4
            Author : Rex Dieter <rdieter@fedoraproject.org>
            Date   : 2010-02-24T19:46:41+00:00
            Stats  : +23/-5 in 1 file(s)
            URL    : https://src.fedoraproject.org/rpms/transmission/c/d4bcdf074d0912a8388bbb6c366cabe92093ddc4?branch=epel10

            Log:
            - -common: move icon scriptlets here (where the icons are), update/optimize
- -qt : add mime scriptlet

---
diff --git a/transmission.spec b/transmission.spec
index de9e85b..1891de5 100644
--- a/transmission.spec
+++ b/transmission.spec
@@ -1,6 +1,6 @@
 Name:           transmission
 Version:        1.91
-Release:        1%{?dist}
+Release:        2%{?dist}
 Summary:        A lightweight GTK+ BitTorrent client
 
 Group:          Applications/Internet
@@ -124,13 +124,16 @@ desktop-file-install --dir=%{buildroot}%{_datadir}/applications/ %{SOURCE1}
 %clean
 rm -rf %{buildroot}
 
+%post common
+touch --no-create %{_datadir}/icons/hicolor || :
+
 %post daemon
 /sbin/chkconfig --add transmission-daemon
 
 %post gtk
+update-desktop-database > /dev/null 2>&1 || :
 
-touch --no-create %{_datadir}/icons/hicolor || :
-%{_bindir}/gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor || :
+%post qt
 update-desktop-database > /dev/null 2>&1 || :
 
 %preun daemon
@@ -139,16 +142,27 @@ if [ $1 = 0 ] ; then
     /sbin/chkconfig --del transmission-daemon
 fi
 
+%postun common
+if [ $1 -eq 0 ]; then
+touch --no-create %{_datadir}/icons/hicolor || :
+%{_bindir}/gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor || :
+fi
+
 %postun daemon
 if [ "$1" -ge "1" ] ; then
     /sbin/service transmission-daemon condrestart >/dev/null 2>&1 || :
 fi
 
 %postun gtk
-touch --no-create %{_datadir}/icons/hicolor || :
-%{_bindir}/gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor || :
 update-desktop-database > /dev/null 2>&1 || :
 
+%postun qt
+update-desktop-database > /dev/null 2>&1 || :
+
+%posttrans common
+%{_bindir}/gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor || :
+
+
 %files 
 
 %files common 
@@ -185,6 +199,10 @@ update-desktop-database > /dev/null 2>&1 || :
 %{_datadir}/applications/qtr.desktop
 
 %changelog
+* Wed Feb 24 2010 Rex Dieter <rdieter@fedoraproject.org> - 1.91-2
+- -common: move icon scriptlets here (where the icons are), update/optimize 
+- -qt : add mime scriptlet
+
 * Mon Feb 22 2010 Rahul Sundaram <sundaram@fedoraproject.org> - 1.91-1
 - http://trac.transmissionbt.com/wiki/Changes#version-1.91
 

                 reply	other threads:[~2026-07-20 20:36 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=178457980795.1.3056842613835113851.rpms-transmission-d4bcdf074d09@fedoraproject.org \
    --to=rdieter@fedoraproject.org \
    --cc=git-commits@fedoraproject.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox