diff --git a/libusb.spec b/libusb.spec index cb532de..2a45598 100644 --- a/libusb.spec +++ b/libusb.spec @@ -1,5 +1,5 @@ Name: libusb -Version: 1.0.26 +Version: 1.0.27 Release: 1mamba Summary: A library that provides generic access to USB devices Group: System/Libraries @@ -8,11 +8,9 @@ Distribution: openmamba Packager: Silvan Calarco URL: https://sourceforge.net/projects/libusbx/ Source: https://github.com/libusb/libusb.git/v%{version}/libusb-%{version}.tar.bz2 -#Source: http://downloads.sourceforge.net/libusb/libusb-%{version}.tar.bz2 License: LGPL ## AUTOBUILDREQ-BEGIN BuildRequires: glibc-devel -BuildRequires: libatomic-devel BuildRequires: libudev-devel ## AUTOBUILDREQ-END %ifarch x86_64 @@ -20,10 +18,8 @@ Provides: libusb-1.0.so.2()(64bit) %else Provides: libusb-1.0.so.2 %endif -#Provides: libusbx -Obsoletes: libusbx -#Provides: libusb1 -Obsoletes: libusb1 +Obsoletes: libusbx < 1.0.27 +Obsoletes: libusb1 < 1.0.27 %description libusbx is a library that provides generic access to USB devices. As a library, it is meant to be used by developers, to facilitate the development of applications that communicate with USB hardware. @@ -33,9 +29,9 @@ Group: Development/Libraries Summary: Development files for %{name} Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release} Provides: libusb1-devel -Obsoletes: libusb1-devel +Obsoletes: libusb1-devel < 1.0.27 Provides: libusbx-devel -Obsoletes: libusbx-devel +Obsoletes: libusbx-devel < 1.0.27 Requires: pkg-config %description devel @@ -45,9 +41,9 @@ This package contains libraries and header files for developing applications tha %prep %setup -q +./autogen.sh %build -./autogen.sh %configure %make -j1 @@ -73,12 +69,14 @@ ln -sf libusb-1.0.so.0 %{buildroot}%{_libdir}/libusb-1.0.so.2 %dir %{_includedir}/libusb-1.0 %{_includedir}/libusb-1.0/libusb.h %{_libdir}/libusb-1.0.a -%{_libdir}/libusb-1.0.la %{_libdir}/libusb-1.0.so %{_libdir}/pkgconfig/libusb-1.0.pc %doc ChangeLog NEWS README TODO %changelog +* Fri Feb 02 2024 Automatic Build System 1.0.27-1mamba +- automatic version update by autodist + * Mon Apr 11 2022 Automatic Build System 1.0.26-1mamba - automatic version update by autodist