public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Rex Dieter <rdieter@math.unl.edu>
To: git-commits@fedoraproject.org
Subject: [rpms/amarok] epel10: optimize mimeinfo scriplet
Date: Mon, 06 Jul 2026 18:05:19 GMT	[thread overview]
Message-ID: <178336111979.1.11670244263548635237.rpms-amarok-07835479f59e@fedoraproject.org> (raw)

A new commit has been pushed.

Repo   : rpms/amarok
Branch : epel10
Commit : 07835479f59ee64cdd064b047d46186da93d1d44
Author : Rex Dieter <rdieter@math.unl.edu>
Date   : 2014-07-03T12:21:14-05:00
Stats  : +8/-3 in 1 file(s)
URL    : https://src.fedoraproject.org/rpms/amarok/c/07835479f59ee64cdd064b047d46186da93d1d44?branch=epel10

Log:
optimize mimeinfo scriplet

---
diff --git a/amarok.spec b/amarok.spec
index 80cd50c..0f8a4d5 100644
--- a/amarok.spec
+++ b/amarok.spec
@@ -6,7 +6,7 @@
 Name:    amarok
 Summary: Media player
 Version: 2.8.0
-Release: 6%{?dist}
+Release: 7%{?dist}
 
 # KDE e.V. may determine that future GPL versions are accepted
 License: GPLv2 or GPLv3
@@ -157,18 +157,20 @@ desktop-file-validate %{buildroot}%{_kde4_datadir}/applications/kde4/amarok_cont
 
 %post
 touch --no-create %{_kde4_iconsdir}/hicolor &> /dev/null || :
+touch --no-create %{_datadir}/mime/packages ||:
 
 %posttrans
 gtk-update-icon-cache %{_kde4_iconsdir}/hicolor &> /dev/null || :
 update-desktop-database -q &> /dev/null ||:
-update-mime-database %{_datadir}/mime >& /dev/null
+update-mime-database -n %{_datadir}/mime >& /dev/null
 
 %postun
 if [ $1 -eq 0 ] ; then
 touch --no-create %{_kde4_iconsdir}/hicolor &> /dev/null || :
 gtk-update-icon-cache %{_kde4_iconsdir}/hicolor &> /dev/null || :
 update-desktop-database -q &> /dev/null ||:
-update-mime-database %{_datadir}/mime >& /dev/null
+touch --no-create %{_datadir}/mime/packages ||:
+update-mime-database -n %{_datadir}/mime >& /dev/null
 fi
 
 %files -f amarok.lang
@@ -255,6 +257,9 @@ fi
 
 
 %changelog
+* Thu Jul 03 2014 Rex Dieter <rdieter@fedoraproject.org> 2.8.0-7
+- optimize mimeinfo scriplet
+
 * Thu Jun 19 2014 Rex Dieter <rdieter@fedoraproject.org> 2.8.0-6
 - work on epel7 support, BR: kdelibs4-webkit-devel
 

                 reply	other threads:[~2026-07-06 18:05 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=178336111979.1.11670244263548635237.rpms-amarok-07835479f59e@fedoraproject.org \
    --to=rdieter@math.unl.edu \
    --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