diff --git a/libusb-1.0.26.tar.bz2 b/libusb-1.0.26.tar.bz2 deleted file mode 100644 index bf1074fa60ad51f91b737a5dfbda7e1b348eab48..0000000000000000000000000000000000000000 Binary files a/libusb-1.0.26.tar.bz2 and /dev/null differ diff --git a/libusb-1.0.29.tar.bz2 b/libusb-1.0.29.tar.bz2 new file mode 100644 index 0000000000000000000000000000000000000000..344a5caa1f2913068f1b510191b2d1ce36b87250 Binary files /dev/null and b/libusb-1.0.29.tar.bz2 differ diff --git a/libusbx.spec b/libusbx.spec index 9ce0002710d5400b582c18f35ef91874e70a40c9..9014b9ba7b8d1b544b854e69799d6b25ad577957 100644 --- a/libusbx.spec +++ b/libusbx.spec @@ -1,15 +1,12 @@ -#Resolve name conflict with libusb-compat-0.1 -%global source libusb - Name: libusbx -Version: 1.0.26 +Version: 1.0.29 Release: 1 Summary: Library for accessing USB devices -License: LGPLv2+ -URL: http://libusb.info -Source0: https://github.com/libusb/libusb/releases/download/v1.0.26/libusb-1.0.26.tar.bz2 +License: LGPL-2.1-or-later +URL: https://libusb.info +Source0: https://github.com/libusb/libusb/releases/download/v%{version}/libusb-%{version}.tar.bz2 -BuildRequires: systemd-devel doxygen libtool +BuildRequires: systemd-devel doxygen %description libusb is a library for USB device access from Linux, macOS, Windows, OpenBSD/NetBSD and Haiku userspace. It is written in C (Haiku backend in C++) and licensed under the GNU Lesser General Public License version 2.1 or, at your option, any later version (see COPYING). @@ -21,37 +18,33 @@ Summary: %{name} libs and docs files for development Requires: %{name}%{?_isa} = %{version}-%{release} Provides: libusb1-devel = %{version}-%{release} Provides: libusb1-devel-doc = %{version}-%{release} -Provides: libusbx-devel-doc +Provides: libusbx-devel-doc = %{version}-%{release} Obsoletes: libusb1-devel <= 1.0.9 Obsoletes: libusb1-devel-doc <= 1.0.22-1 -Obsoletes: libusbx-devel-doc +Obsoletes: libusbx-devel-doc = %{version}-%{release} %description devel The %{name}-devel package contains libraries and header files. %prep -%autosetup -n %{source}-%{version} -p1 +%autosetup -n libusb-%{version} -p1 %build -mkdir -p m4 -autoreconf -ivf %configure --disable-static --enable-examples-build %make_build make docs -C doc %check -make check +%make_build check %install %make_install - -%ldconfig_scriptlets +%delete_la %files %doc AUTHORS README ChangeLog %license COPYING %{_libdir}/*.so.* -%exclude %{_libdir}/*.la %files devel %doc examples/*.c @@ -60,6 +53,9 @@ make check %{_libdir}/pkgconfig/libusb-1.0.pc %changelog +* Wed Jun 04 2025 Funda Wang - 1.0.29-1 +- update to 1.0.29 + * Fri Oct 28 2022 Wenchao Hao - 1.0.26-1 - Update to libusb-1.0.26 diff --git a/libusbx.yaml b/libusbx.yaml index 57460ea52a12a0b0a42fce29e4ce59e7b009f90c..b4f1564b4e9b06cd54982acc1e998d11170b8157 100644 --- a/libusbx.yaml +++ b/libusbx.yaml @@ -1,5 +1,4 @@ version_control: github src_repo: libusb/libusb tag_prefix: "^v" -seperator: . - +separator: .