rpms/drumstick/devel drumstick.spec,1.6,1.7
Kevin Kofler
kkofler at fedoraproject.org
Fri May 28 22:00:00 UTC 2010
Author: kkofler
Update of /cvs/pkgs/rpms/drumstick/devel
In directory cvs01.phx2.fedoraproject.org:/tmp/cvs-serv15704/devel
Modified Files:
drumstick.spec
Log Message:
Fix file list and update scriptlets.
Index: drumstick.spec
===================================================================
RCS file: /cvs/pkgs/rpms/drumstick/devel/drumstick.spec,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -p -r1.6 -r1.7
--- drumstick.spec 28 May 2010 21:46:40 -0000 1.6
+++ drumstick.spec 28 May 2010 21:59:59 -0000 1.7
@@ -17,6 +17,9 @@ BuildRequires: cmake qt4-devel alsa-lib-
Obsoletes: aseqmm < %{version}-%{release}
Provides: aseqmm = %{version}-%{release}
+Requires(post): /sbin/ldconfig
+Requires(postun): /sbin/ldconfig
+
%description
The drumstick library is a C++ wrapper around the ALSA library sequencer
interface, using Qt4 objects, idioms and style. The ALSA sequencer interface
@@ -67,9 +70,13 @@ done
rm -rf $RPM_BUILD_ROOT
-%post -p /sbin/ldconfig
-
-%postun -p /sbin/ldconfig
+%post
+/sbin/ldconfig
+update-mime-database %{_datadir}/mime &> /dev/null || :
+
+%postun
+/sbin/ldconfig
+update-mime-database %{_datadir}/mime &> /dev/null || :
%post examples
touch --no-create %{_datadir}/icons/hicolor &>/dev/null || :
@@ -91,6 +98,7 @@ gtk-update-icon-cache %{_datadir}/icons/
%doc ChangeLog COPYING
%{_libdir}/libdrumstick-file.so.*
%{_libdir}/libdrumstick-alsa.so.*
+%{_datadir}/mime/packages/drumstick.xml
%files devel
%defattr(-,root,root,-)
More information about the scm-commits
mailing list