From f423b5c8215e6b9c33806abf0d804186eafa1a27 Mon Sep 17 00:00:00 2001 From: Kate Hsuan Date: Wed, 16 Apr 2025 16:59:02 +0800 Subject: [PATCH] Update to the upstream version 1.0.28 - Update to the upstream version 1.0.28 - Fix automake-1.17 issue since the release was based on automake-1.17 Resolves: RHEL-86184 --- .gitignore | 1 + libusb1.spec | 7 ++++++- sources | 2 +- 3 files changed, 8 insertions(+), 2 deletions(-) diff --git a/.gitignore b/.gitignore index a91d702..e118dbe 100644 --- a/.gitignore +++ b/.gitignore @@ -2,3 +2,4 @@ /libusb-1.0.25.tar.bz2 /libusb-1.0.26.tar.bz2 /libusb-1.0.27.tar.bz2 +/libusb-1.0.28.tar.bz2 diff --git a/libusb1.spec b/libusb1.spec index f5f609a..7933b0e 100644 --- a/libusb1.spec +++ b/libusb1.spec @@ -1,6 +1,6 @@ Summary: Library for accessing USB devices Name: libusb1 -Version: 1.0.27 +Version: 1.0.28 Release: %autorelease Source0: https://github.com/libusb/libusb/releases/download/v%{version}/libusb-%{version}.tar.bz2 License: LGPL-2.1-or-later @@ -61,6 +61,11 @@ This package contains tests and examples for %{name}. chmod -x examples/*.c mkdir -p m4 sed -i '/AM_LDFLAGS = -static/d' tests/Makefile.am +%if 0%{?rhel} < 11 +aclocal +autoconf +automake --add-missing +%endif %build diff --git a/sources b/sources index 959d93c..6ba27ac 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (libusb-1.0.27.tar.bz2) = 42abbbcf2564f86cc2f05826aeefa6beb03c9f89dc9fe05bdfa351caa3dbd07713ce193daadecf29557604dd3cbc770c8031a78e1ad0a8df3627c3f551d28ff0 +SHA512 (libusb-1.0.28.tar.bz2) = 0f4efa6b54e6195d2e5446652c2dc07358583e205d63bf438c4409511b8637d1700a71268c40499755747827d23cc730d9122267386f847bf781993c045c519f