Hello community,

here is the log from the commit of package libusb-compat for openSUSE:Factory
checked in at Thu Jun 9 12:40:57 CEST 2011.



--------
--- libusb-compat/libusb-compat.changes 2009-12-15 01:55:43.000000000 +0100
+++ /mounts/work_src_done/STABLE/libusb-compat/libusb-compat.changes    
2011-06-01 14:37:03.000000000 +0200
@@ -1,0 +2,6 @@
+Wed Jun  1 10:54:34 UTC 2011 - seife+...@b1-systems.com
+
+- move libusb-compat from /usr to / to make it usable for other
+  packages and work around rpmlint stupidity
+
+-------------------------------------------------------------------

calling whatdependson for head-i586


++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ libusb-compat.spec ++++++
--- /var/tmp/diff_new_pack.4462c6/_old  2011-06-09 12:40:29.000000000 +0200
+++ /var/tmp/diff_new_pack.4462c6/_new  2011-06-09 12:40:29.000000000 +0200
@@ -1,7 +1,7 @@
 #
-# spec file for package libusb-compat (Version 0.1.3)
+# spec file for package libusb-compat
 #
-# Copyright (c) 2010 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -24,7 +24,7 @@
 Group:          System/Libraries
 Summary:        libusb-1.0 Compatibility Layer for libusb-0.1
 Version:        0.1.3
-Release:        2
+Release:        12
 Source:         %{name}-%{version}.tar.bz2
 Source2:        baselibs.conf
 BuildRequires:  libusb-1_0-devel pkg-config
@@ -47,7 +47,7 @@
 Group:          System/Libraries
 # A better version than 0.1.12 provided by libusb-0_1:
 Version:        0.1.13
-Release:        7
+Release:        9
 Summary:        libusb-1.0 Compatibility Library for libusb-0.1
 # Special symbol for packages, that use libusb-0.1 API, but use libusb-1.0 
features:
 Provides:       libusb-1_0-features-in-0_1-api
@@ -98,12 +98,21 @@
 autoreconf -f -i
 %endif
 %configure\
+       --libdir=/%{_lib} \
        --disable-static
 make %{?jobs:-j%jobs}
 
 %install
 %makeinstall
-rm $RPM_BUILD_ROOT%{_libdir}/*.la
+
+install -d -m 0755 %{buildroot}%{_libdir}
+for i in %{buildroot}/%{_lib}/*.so; do
+       link=$(readlink $i)
+       ln -s /%{_lib}/$link %{buildroot}%{_libdir}/$(basename $i)
+       rm $i
+done
+mv %{buildroot}/%{_lib}/pkgconfig %{buildroot}%{_libdir}
+rm $RPM_BUILD_ROOT/%{_lib}/*.la
 
 %post -n libusb-0_1-4 -p /sbin/ldconfig
 
@@ -112,7 +121,7 @@
 %files -n libusb-0_1-4
 %defattr(-,root,root)
 %doc AUTHORS COPYING ChangeLog LICENSE NEWS README
-%{_libdir}/*.so.*
+/%{_lib}/*.so.*
 
 %files devel
 %defattr(-,root,root)


++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++



Remember to have fun...

-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org

Reply via email to