[gap] update scriplets
Rex Dieter
rdieter at fedoraproject.org
Sat Aug 16 16:48:13 UTC 2014
commit c1ac292ce416df4c04e0bd150439419bf6af7b66
Author: Rex Dieter <rdieter at math.unl.edu>
Date: Sat Aug 16 11:48:18 2014 -0500
update scriplets
gap.spec | 23 ++++++++++++++---------
1 files changed, 14 insertions(+), 9 deletions(-)
---
diff --git a/gap.spec b/gap.spec
index da83a48..133810d 100644
--- a/gap.spec
+++ b/gap.spec
@@ -6,7 +6,7 @@
Name: gap
Version: %(sed -r "s/r|p/./g" <<< %upstreamver)
-Release: 2%{?dist}
+Release: 3%{?dist}
Summary: Computational discrete algebra
Group: Applications/Engineering
@@ -260,20 +260,22 @@ sed "s|@VERSION@|%{version}|" %{SOURCE7} > $RPM_BUILD_ROOT%{_mandir}/man1/gac.1
cp -p %{SOURCE8} $RPM_BUILD_ROOT%{_mandir}/man1
%post core
-update-desktop-database %{_datadir}/applications &>/dev/null ||:
-update-mime-database %{_datadir}/mime &>/dev/null ||:
-touch --no-create %{icondir} >&/dev/null ||:
+/usr/bin/update-desktop-database %{_datadir}/applications &>/dev/null ||:
+/bin/touch --no-create %{icondir} >&/dev/null ||:
+/bin/touch --no-create %{_datadir}/mime/packages &> /dev/null || :
%posttrans
-%{_bindir}/gtk-update-icon-cache %{icondir} >&/dev/null ||:
+/usr/bin/gtk-update-icon-cache %{icondir} >&/dev/null ||:
+/usr/bin/update-mime-database %{?fedora:-n} %{_datadir}/mime &> /dev/null || :
%{_bindir}/update-gap-workspace ||:
%postun core
-update-desktop-database %{_datadir}/applications &>/dev/null ||:
-update-mime-database %{_datadir}/mime &>/dev/null ||:
+/usr/bin/update-desktop-database %{_datadir}/applications &>/dev/null ||:
if [ $1 -eq 0 ] ; then
- touch --no-create %{icondir} >&/dev/null ||:
- %{_bindir}/gtk-update-icon-cache %{icondir} >&/dev/null ||:
+ /bin/touch --no-create %{icondir} >&/dev/null ||:
+ /usr/bin//gtk-update-icon-cache %{icondir} >&/dev/null ||:
+ /bin/touch --no-create %{_datadir}/mime/packages &> /dev/null || :
+ /usr/bin/update-mime-database %{?fedora:-n} %{_datadir}/mime &> /dev/null || :
fi
%check
@@ -329,6 +331,9 @@ make testinstall
%{_datadir}/vim/vimfiles/syntax/gap.vim
%changelog
+* Sat Aug 16 2014 Rex Dieter <rdieter at fedoraproject.org> 4.7.5-3
+- update scriplets
+
* Sat Aug 16 2014 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 4.7.5-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
More information about the scm-commits
mailing list