Hello community,

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



--------
--- libusb-1_0/libusb-1_0.changes       2010-06-21 12:42:11.000000000 +0200
+++ /mounts/work_src_done/STABLE/libusb-1_0/libusb-1_0.changes  2011-06-01 
12:49:41.000000000 +0200
@@ -1,0 +2,6 @@
+Wed Jun  1 10:48:18 UTC 2011 - seife+...@b1-systems.com
+
+- move libusb from /usr to / to make it usable for other packages
+  and work around rpmlint stupidity
+
+-------------------------------------------------------------------

calling whatdependson for head-i586


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

Other differences:
------------------
++++++ libusb-1_0.spec ++++++
--- /var/tmp/diff_new_pack.3C1h0w/_old  2011-06-09 12:36:04.000000000 +0200
+++ /var/tmp/diff_new_pack.3C1h0w/_new  2011-06-09 12:36:04.000000000 +0200
@@ -1,7 +1,7 @@
 #
-# spec file for package libusb-1_0 (Version 1.0.8)
+# spec file for package libusb-1_0
 #
-# 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
@@ -25,7 +25,7 @@
 Summary:        USB Library
 Group:          System/Libraries
 Version:        1.0.8
-Release:        1
+Release:        7
 Source:         %{_name}-%{version}.tar.bz2
 Source2:        baselibs.conf
 BuildRoot:      %{_tmppath}/%{name}-%{version}-build
@@ -58,12 +58,21 @@
 %build
 mkdir m4 ; autoreconf -f -i
 %configure\
+       --libdir=/%{_lib} \
        --disable-static
 make %{?jobs:-j%jobs}
 
 %install
 %makeinstall
-%{__rm} -f %{buildroot}%{_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} -f %{buildroot}/%{_lib}/*.la
 
 %post -n libusb-1_0-0 -p /sbin/ldconfig
 
@@ -72,7 +81,7 @@
 %files -n libusb-1_0-0
 %defattr(-,root,root)
 %doc AUTHORS COPYING ChangeLog NEWS README THANKS TODO
-%{_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