Hello community,
here is the log from the commit of package libusb-compat
checked in at Mon Nov 17 17:19:22 CET 2008.
--------
--- libusb-compat/libusb-compat.changes 2008-10-22 17:06:15.000000000 +0200
+++ /mounts/work_src_done/STABLE/libusb-compat/libusb-compat.changes 2008-11-12 18:49:29.967608000 +0100
@@ -1,0 +2,8 @@
+Wed Nov 12 15:40:48 CET 2008 - sbrabec@suse.cz
+
+- Changed library soname to libusb-0.1 incompatible libusb-0.1.so.5
+ allowing to install both in paralel. (bnc#443861, works around
+ also bnc#432129 and bnc#439574)
+- Confllict with libusb-devel instead of obsoleting it.
+
+-------------------------------------------------------------------
calling whatdependson for head-i586
Old:
----
fix-ctx-NULL.patch
New:
----
libusb-compat-libusb0-incompat.patch
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ libusb-compat.spec ++++++
--- /var/tmp/diff_new_pack.d23378/_old 2008-11-17 17:18:30.000000000 +0100
+++ /var/tmp/diff_new_pack.d23378/_new 2008-11-17 17:18:30.000000000 +0100
@@ -24,13 +24,13 @@
Group: System/Libraries
Summary: libusb-1.0 Compatibility Layer for libusb-0.1
Version: 0.99.9.2
-Release: 6
+Release: 7
%define _version 0.1.0-beta2
Source: %{name}-%{_version}.tar.bz2
-Patch0: fix-ctx-NULL.patch
+Patch: libusb-compat-libusb0-incompat.patch
BuildRequires: libusb-1_0-devel pkg-config
BuildRoot: %{_tmppath}/%{name}-%{version}-build
-%define debug_package_requires libusb-0_1-4 = %{version}-%{release}
+%define debug_package_requires libusb-0_1-5 = %{version}-%{release}
%description
A compatibility layer allowing applications written for libusb-0.1 to
@@ -43,19 +43,17 @@
--------
Daniel Drake
-%package -n libusb-0_1-4
+%package -n libusb-0_1-5
License: BSD 3-Clause; LGPL v2.1 or later
Group: System/Libraries
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
-# libusb existed in <= openSUSE 11.0 and <= SLE10
-# latest version provided by native implementation: libusb-0.1.12
-# This package is a successor:
-Provides: libusb = 0.1.13
-Obsoletes: libusb < 0.1.13
+# Once in future, this may be used (after removing of ):
+#Provides: libusb = 0.1.13
+#Obsoletes: libusb < 0.1.13
-%description -n libusb-0_1-4
+%description -n libusb-0_1-5
A compatibility layer allowing applications written for libusb-0.1 to
work with libusb-1.0. libusb-compat-0.1 attempts to look, feel, smell
and walk like libusb-0.1.
@@ -70,10 +68,11 @@
License: BSD 3-Clause; LGPL v2.1 or later
Group: Development/Libraries/C and C++
Summary: libusb-1.0 Compatibility Layer for libusb-0.1
-Requires: libusb-0_1-4 = %{version} libusb-1_0-features-in-0_1-api libusb-1_0-devel glibc-devel
-# libusb-devel existed in <= openSUSE 11.0 and <= SLE10:
-Provides: libusb-devel = 0.1.13
-Obsoletes: libusb-devel < 0.1.13
+Requires: libusb-0_1-5 = %{version} libusb-1_0-features-in-0_1-api libusb-1_0-devel glibc-devel
+# Once in future, this may be used:
+#Provides: libusb-devel = 0.1.13
+#Obsoletes: libusb-devel < 0.1.13
+Conflicts: libusb-devel < 0.1.13
%description devel
A compatibility layer allowing applications written for libusb-0.1 to
@@ -88,7 +87,7 @@
%prep
%setup -q -n %{name}-%{_version}
-%patch0 -p0
+%patch
%build
autoreconf -f -i
@@ -98,12 +97,13 @@
%install
%makeinstall
+rm $RPM_BUILD_ROOT%{_libdir}/*.la
-%post -n libusb-0_1-4 -p /sbin/ldconfig
+%post -n libusb-0_1-5 -p /sbin/ldconfig
-%postun -n libusb-0_1-4 -p /sbin/ldconfig
+%postun -n libusb-0_1-5 -p /sbin/ldconfig
-%files -n libusb-0_1-4
+%files -n libusb-0_1-5
%defattr(-,root,root)
%doc AUTHORS COPYING ChangeLog LICENSE NEWS README
%{_libdir}/*.so.*
@@ -113,10 +113,14 @@
%{_bindir}/*-config
%{_includedir}/*.h
%{_libdir}/*.so
-%{_libdir}/*.*a
%{_libdir}/pkgconfig/*.pc
%changelog
+* Wed Nov 12 2008 sbrabec@suse.cz
+- Changed library soname to libusb-0.1 incompatible libusb-0.1.so.5
+ allowing to install both in paralel. (bnc#443861, works around
+ also bnc#432129 and bnc#439574)
+- Confllict with libusb-devel instead of obsoleting it.
* Wed Oct 22 2008 sbrabec@suse.cz
- Properly obsolete old implementation of the library (bnc#437768).
* Wed Oct 08 2008 meissner@suse.de
++++++ libusb-compat-libusb0-incompat.patch ++++++
libusb-compat cannot yet replace libusb0. Maybe it is compatible, but
supporting all applications require also bug compatibility.
That is why we are creating another soname, libusb-0.1.so.5.
================================================================================
--- configure.ac
+++ configure.ac
@@ -10,7 +10,7 @@
AM_PROG_CC_C_O
# Library versioning
-LT_MAJOR="8"
+LT_MAJOR="9"
LT_REVISION="4"
LT_AGE="4"
AC_SUBST(LT_MAJOR)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Remember to have fun...
--
To unsubscribe, e-mail: opensuse-commit+unsubscribe@opensuse.org
For additional commands, e-mail: opensuse-commit+help@opensuse.org