[soundconverter] Update scriptlet sections with current recipes.
Michael Schwendt
mschwendt at fedoraproject.org
Tue Aug 27 21:37:43 UTC 2013
commit 1613e513d94ccb1aeb0bc670c1d1fbd616162713
Author: Michael Schwendt <mschwendt at fedoraproject.org>
Date: Tue Aug 27 23:37:30 2013 +0200
Update scriptlet sections with current recipes.
- Drop the minimum errata version for gstreamer-plugins-good for F15/16/17.
soundconverter.spec | 36 ++++++++++++++++++++----------------
1 files changed, 20 insertions(+), 16 deletions(-)
---
diff --git a/soundconverter.spec b/soundconverter.spec
index fcde172..728de75 100644
--- a/soundconverter.spec
+++ b/soundconverter.spec
@@ -2,7 +2,7 @@
Name: soundconverter
Version: 2.1.1
-Release: 2%{?dist}
+Release: 3%{?dist}
Summary: Simple sound converter application for GNOME
Group: Applications/Multimedia
@@ -11,6 +11,7 @@ URL: http://soundconverter.org
Source0: http://launchpad.net/soundconverter/trunk/%{tar_ver}/+download/soundconverter-%{tar_ver}.tar.xz
BuildArch: noarch
+BuildRequires: python2-devel
BuildRequires: desktop-file-utils
BuildRequires: intltool gettext
BuildRequires: pygtk2
@@ -32,13 +33,10 @@ Requires: gnome-python2-canvas
Requires: gnome-python2-gnomevfs
Requires: gstreamer-python
+# this is required by gstreamer-python already
Requires: gstreamer-plugins-base
-
-%if 0%{?fedora} > 16
-Requires: gstreamer-plugins-good >= 0.10.30-5.fc17
-%endif
-%{?fc16:Requires: gstreamer-plugins-good >= 0.10.30-5.fc16}
-%{?fc15:Requires: gstreamer-plugins-good >= 0.10.29-2.fc15}
+#
+Requires: gstreamer-plugins-good
%description
@@ -74,19 +72,21 @@ desktop-file-install \
%post
-touch --no-create %{_datadir}/icons/hicolor || :
-if [ -x %{_bindir}/gtk-update-icon-cache ]; then
- %{_bindir}/gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor || :
-fi
-update-desktop-database &> /dev/null ||:
+/bin/touch --no-create %{_datadir}/icons/hicolor || :
+
+/usr/bin/update-desktop-database &> /dev/null || :
%postun
-touch --no-create %{_datadir}/icons/hicolor || :
-if [ -x %{_bindir}/gtk-update-icon-cache ]; then
- %{_bindir}/gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor || :
+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
-update-desktop-database &> /dev/null ||:
+/usr/bin/update-desktop-database &> /dev/null || :
+
+
+%posttrans
+/usr/bin/gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
%files -f %{name}.lang
@@ -101,6 +101,10 @@ update-desktop-database &> /dev/null ||:
%changelog
+* Tue Aug 27 2013 Michael Schwendt <mschwendt at fedoraproject.org> - 2.1.1-3
+- Update scriptlet sections with current recipes.
+- Drop the minimum errata version for gstreamer-plugins-good for F15/16/17.
+
* Sun Aug 04 2013 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 2.1.1-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
More information about the scm-commits
mailing list