Hello community,

here is the log from the commit of package libusb-compat for openSUSE:Factory 
checked in at 2012-02-15 16:16:26
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/libusb-compat (Old)
 and      /work/SRC/openSUSE:Factory/.libusb-compat.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "libusb-compat", Maintainer is "[email protected]"

Changes:
--------
--- /work/SRC/openSUSE:Factory/libusb-compat/libusb-compat.changes      
2011-11-21 15:47:58.000000000 +0100
+++ /work/SRC/openSUSE:Factory/.libusb-compat.new/libusb-compat.changes 
2012-02-15 16:16:51.000000000 +0100
@@ -1,0 +2,5 @@
+Sun Feb 12 15:15:17 UTC 2012 - [email protected]
+
+- Libraries back to %{_libdir}, /usr merge project 
+
+-------------------------------------------------------------------

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

Other differences:
------------------
++++++ libusb-compat.spec ++++++
--- /var/tmp/diff_new_pack.2aRjPJ/_old  2012-02-15 16:16:52.000000000 +0100
+++ /var/tmp/diff_new_pack.2aRjPJ/_new  2012-02-15 16:16:52.000000000 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package libusb-compat
 #
-# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2012 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
@@ -15,19 +15,19 @@
 # Please submit bugfixes or comments via http://bugs.opensuse.org/
 #
 
-# norootforbuild
-
 
 Name:           libusb-compat
 Url:            http://libusb.wiki.sourceforge.net/LibusbCompat0.1
+Summary:        libusb-1.0 Compatibility Layer for libusb-0.1
 License:        BSD-3-Clause ; LGPL-2.1+
 Group:          System/Libraries
-Summary:        libusb-1.0 Compatibility Layer for libusb-0.1
 Version:        0.1.3
-Release:        12
+Release:        0
 Source:         %{name}-%{version}.tar.bz2
 Source2:        baselibs.conf
-BuildRequires:  libtool libusb-1_0-devel pkg-config
+BuildRequires:  libtool
+BuildRequires:  libusb-1_0-devel
+BuildRequires:  pkg-config
 BuildRoot:      %{_tmppath}/%{name}-%{version}-build
 %define debug_package_requires libusb-0_1-5 = %{version}-%{release}
 
@@ -43,12 +43,11 @@
     Daniel Drake <[email protected]>
 
 %package -n libusb-0_1-4
-License:        BSD-3-Clause ; LGPL-2.1+
-Group:          System/Libraries
 # A better version than 0.1.12 provided by libusb-0_1:
 Version:        0.1.13
-Release:        9
+Release:        0
 Summary:        libusb-1.0 Compatibility Library for libusb-0.1
+Group:          System/Libraries
 # 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
 # Update of libusb from openSUSE < 11.1 SLE < 11:
@@ -70,9 +69,8 @@
     Daniel Drake <[email protected]>
 
 %package devel
-License:        BSD-3-Clause ; LGPL-2.1+
-Group:          Development/Libraries/C and C++
 Summary:        libusb-1.0 Compatibility Layer for libusb-0.1
+Group:          Development/Libraries/C and C++
 Requires:       libusb-0_1-4 = 0.1.13 libusb-1_0-features-in-0_1-api 
libusb-1_0-devel glibc-devel
 # Update of libusb from openSUSE < 11.1 SLE < 11:
 Provides:       libusb-devel = 0.1.13
@@ -97,22 +95,12 @@
 %if %suse_version > 1100
 autoreconf -f -i
 %endif
-%configure\
-       --libdir=/%{_lib} \
-       --disable-static
+%configure --with-pic --disable-static
 make %{?jobs:-j%jobs}
 
 %install
 %makeinstall
-
-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
+rm %{buildroot}%{_libdir}/*.la
 
 %post -n libusb-0_1-4 -p /sbin/ldconfig
 
@@ -121,7 +109,7 @@
 %files -n libusb-0_1-4
 %defattr(-,root,root)
 %doc AUTHORS COPYING ChangeLog LICENSE NEWS README
-/%{_lib}/*.so.*
+%{_libdir}/*.so.*
 
 %files devel
 %defattr(-,root,root)

-- 
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to