rpms/audacity/devel audacity.spec,1.35.2.5.2.15,1.35.2.5.2.16

Michael Schwendt (mschwendt) fedora-extras-commits at redhat.com
Fri May 9 21:56:01 UTC 2008


Author: mschwendt

Update of /cvs/pkgs/rpms/audacity/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv7030

Modified Files:
      Tag: audacity-1_3_4-test
	audacity.spec 
Log Message:
update scriptlets in accordance with packaging guidelines


Index: audacity.spec
===================================================================
RCS file: /cvs/pkgs/rpms/audacity/devel/audacity.spec,v
retrieving revision 1.35.2.5.2.15
retrieving revision 1.35.2.5.2.16
diff -u -r1.35.2.5.2.15 -r1.35.2.5.2.16
--- audacity.spec	9 May 2008 21:43:14 -0000	1.35.2.5.2.15
+++ audacity.spec	9 May 2008 21:55:17 -0000	1.35.2.5.2.16
@@ -69,9 +69,6 @@
 # for 1.3.2-beta
 BuildRequires: compat-wxGTK26-devel
 
-Requires(post): shared-mime-info, desktop-file-utils
-Requires(postun): shared-mime-info, desktop-file-utils
-
 
 %description
 Audacity is a cross-platform multitrack audio editor. It allows you to
@@ -225,14 +222,14 @@
 
 %post
 umask 022
-%{_bindir}/update-mime-database %{_datadir}/mime > /dev/null 2>&1 || :
-%{_bindir}/update-desktop-database %{_datadir}/applications > /dev/null 2>&1 || :
+update-mime-database %{_datadir}/mime &> /dev/null || :
+update-desktop-database &> /dev/null || :
 
 
 %postun
 umask 022
-%{_bindir}/update-mime-database %{_datadir}/mime > /dev/null 2>&1 || :
-%{_bindir}/update-desktop-database %{_datadir}/applications > /dev/null 2>&1 || :
+update-mime-database %{_datadir}/mime &> /dev/null || :
+update-desktop-database &> /dev/null || :
 
 
 %files -f %{name}.lang
@@ -252,6 +249,8 @@
 * Fri May  9 2008 Michael Schwendt <mschwendt at fedoraproject.org> - 1.3.5-0.2.beta
 - update to 1.3.5-beta
 - expat2 patch merged upstream
+- scriptlets: run update-desktop-database without path
+- drop scriptlet dependencies
 
 * Mon May  5 2008 Michael Schwendt <mschwendt at fedoraproject.org> - 1.3.5-0.1.rc3.20080505cvs
 - update to 1.3.5-rc3 cvs snapshot




More information about the scm-commits mailing list