From a1e34cd292be7e877cc473c66e1cc778386d6dc03f36ca072925371be483e9fe Mon Sep 17 00:00:00 2001 From: OBS User unknown Date: Thu, 28 Aug 2008 00:07:54 +0000 Subject: [PATCH] OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/libmtp?expand=0&rev=21 --- libmtp.changes | 6 ++++++ libmtp.spec | 12 +++++++----- 2 files changed, 13 insertions(+), 5 deletions(-) diff --git a/libmtp.changes b/libmtp.changes index 5614684..180f96a 100644 --- a/libmtp.changes +++ b/libmtp.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Wed Aug 27 12:16:56 CEST 2008 - meissner@suse.de + +- let debuginfo require libmtp8 +- disable static libs and .la files + ------------------------------------------------------------------- Tue Aug 26 14:41:28 CEST 2008 - meissner@suse.de diff --git a/libmtp.spec b/libmtp.spec index 1dee1b7..8576add 100644 --- a/libmtp.spec +++ b/libmtp.spec @@ -15,8 +15,8 @@ # Please submit bugfixes or comments via http://bugs.opensuse.org/ # -# norootforbuild +%define debug_package_requires libmtp8 Name: libmtp Url: http://sf.net/projects/libmtp @@ -31,7 +31,7 @@ Group: Productivity/Multimedia/Sound/Players AutoReqProv: on Summary: Commandline utilities for access to MTP Players Version: 0.3.1 -Release: 1 +Release: 2 Source0: %name-%version.tar.bz2 BuildRoot: %{_tmppath}/%{name}-%{version}-build @@ -128,7 +128,7 @@ Authors: %setup -q %build -%configure --program-prefix=mtp- +%configure --program-prefix=mtp- --disable-static make %install @@ -136,6 +136,7 @@ make install DESTDIR=$RPM_BUILD_ROOT install -d $RPM_BUILD_ROOT/usr/share/hal/fdi/information/20thirdparty/ install -c -m 644 libmtp.fdi $RPM_BUILD_ROOT/usr/share/hal/fdi/information/20thirdparty/10-usb-music-players-libmtp.fdi rm -rf $RPM_BUILD_ROOT/usr/share/doc/libmtp* +rm -rf $RPM_BUILD_ROOT/%{_libdir}/*.la %post -n libmtp8 -p /sbin/ldconfig @@ -159,12 +160,13 @@ rm -rf $RPM_BUILD_ROOT/usr/share/doc/libmtp* %defattr(-, root, root) %doc doc/html TODO %{_libdir}/lib*.so -%{_libdir}/lib*.la -%{_libdir}/lib*.a %{_libdir}/pkgconfig/libmtp.pc %{_prefix}/include/libmtp.h %changelog +* Wed Aug 27 2008 meissner@suse.de +- let debuginfo require libmtp8 +- disable static libs and .la files * Tue Aug 26 2008 meissner@suse.de - upgraded to 0.3.1 - lots of new ids