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/grsync] epel10.2: update mime scriptlet
Date: Sun, 01 Nov 2026 04:21:05 GMT	[thread overview]
Message-ID: <179350686532.1.18026751833860054460.rpms-grsync-6b2d7ce3dc85@fedoraproject.org> (raw)

A new commit has been pushed.

Repo   : rpms/grsync
Branch : epel10.2
Commit : 6b2d7ce3dc8556af03edc163b05abd9881e39a17
Author : Rex Dieter <rdieter@math.unl.edu>
Date   : 2014-10-02T14:09:13-05:00
Stats  : +11/-4 in 1 file(s)
URL    : https://src.fedoraproject.org/rpms/grsync/c/6b2d7ce3dc8556af03edc163b05abd9881e39a17?branch=epel10.2

Log:
update mime scriptlet

---
diff --git a/grsync.spec b/grsync.spec
index 1c5670a..19e54e4 100644
--- a/grsync.spec
+++ b/grsync.spec
@@ -1,6 +1,6 @@
 Name:           grsync
 Version:        1.2.5
-Release:        1%{?dist}
+Release:        2%{?dist}
 Summary:        A Gtk+ GUI for rsync
 
 Group:          User Interface/Desktops
@@ -58,25 +58,29 @@ rm -rf $RPM_BUILD_ROOT
 %post
 touch --no-create %{_datadir}/icons/hicolor &>/dev/null || :
 
+touch --no-create %{_datadir}/mime/packages &> /dev/null || :
+
 update-desktop-database &> /dev/null || :
 
-update-mime-database %{_datadir}/mime &> /dev/null || :
 
 
 %postun
 if [ $1 -eq 0 ] ; then
     touch --no-create %{_datadir}/icons/hicolor &>/dev/null
     gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
+
+    touch --no-create %{_datadir}/mime/packages &> /dev/null || :
+    update-mime-database %{?fedora:-n} %{_datadir}/mime &> /dev/null || :
 fi
 
 update-desktop-database &> /dev/null || :
 
-update-mime-database %{_datadir}/mime &> /dev/null || :
-
 
 %posttrans
 gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
 
+update-mime-database %{?fedora:-n} %{_datadir}/mime &> /dev/null || :
+
 
 %files -f %{name}.lang
 %defattr(-,root,root,-)
@@ -91,6 +95,9 @@ gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
 
 
 %changelog
+* Thu Oct 02 2014 Rex Dieter <rdieter@fedoraproject.org> 1.2.5-2
+- update mime scriptlet
+
 * Wed Aug 21 2014 Christoph Wickert <cwickert@fedoraproject.org> - 1.2.5-1
 - Update to 1.2.5
 

                 reply	other threads:[~2026-11-01  4:21 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=179350686532.1.18026751833860054460.rpms-grsync-6b2d7ce3dc85@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