Compare commits

...
Sign in to create a new pull request.

5 commits

Author SHA1 Message Date
Kate Hsuan
4a3bd6f9ec Revert "Add patches to skip uninitialized devices" (rhbz#2390535)
The fix brought a regression to mess storage so revert the fix and then
trying to find the better fixes.

This reverts commit 3c2e5bfcc5.
2025-08-29 10:43:28 +08:00
Benjamin Berg
3c2e5bfcc5 Add patches to skip uninitialized devices
Otherwise there is a race condition if libusb enumerates the devices
while udev is processing the event.

Resolves: #2346771
2025-08-11 21:15:41 +02:00
Yaakov Selkowitz
378cca96bd Always regenerate autotools
Since we're modifying a Makefile.am, the corresponding Makefile.in will
have to be regenerated, and we should never rely on any release having
matching autotools versions.
2025-08-05 10:18:38 -04:00
Kate Hsuan
1029314e65 Update to the upstream version 1.0.29 and migrate to tmt test
1. Update to upstream version 1.0.29.
2. Migrate the test to tmt.

Resolves: #2382956 #2385130
2025-08-05 14:03:49 +08:00
Fedora Release Engineering
48b605aa37 Rebuilt for https://fedoraproject.org/wiki/Fedora_43_Mass_Rebuild 2025-07-24 20:31:14 +00:00
8 changed files with 23 additions and 18 deletions

1
.fmf/version Normal file
View file

@ -0,0 +1 @@
1

2
.gitignore vendored
View file

@ -5,3 +5,5 @@
/libusb-1.0.27.tar.bz2.asc
/libusb-1.0.28.tar.bz2
/libusb-1.0.28.tar.bz2.asc
/libusb-1.0.29.tar.bz2
/libusb-1.0.29.tar.bz2.asc

View file

@ -2,7 +2,7 @@
Summary: Library for accessing USB devices
Name: libusb1
Version: 1.0.28
Version: 1.0.29
Release: %autorelease
Source0: https://github.com/libusb/libusb/releases/download/v%{version}/libusb-%{version}.tar.bz2
Source1: https://github.com/libusb/libusb/releases/download/v%{version}/libusb-%{version}.tar.bz2.asc
@ -94,12 +94,10 @@ MinGW Windows %{name} library.
chmod -x examples/*.c
mkdir -p m4
sed -i '/AM_LDFLAGS = -static/d' tests/Makefile.am
%if (0%{?fedora} && 0%{?fedora} < 43) || (0%{?rhel} && 0%{?rhel} < 11)
autoscan
aclocal
autoconf
automake --add-missing
%endif
%build

11
plans/integration.fmf Normal file
View file

@ -0,0 +1,11 @@
summary: Basic smoke test
discover:
how: fmf
prepare:
- name: packages
how: install
package:
- glibc-common
- libusb1-tests-examples
execute:
how: tmt

View file

@ -1,2 +1,2 @@
SHA512 (libusb-1.0.28.tar.bz2) = 0f4efa6b54e6195d2e5446652c2dc07358583e205d63bf438c4409511b8637d1700a71268c40499755747827d23cc730d9122267386f847bf781993c045c519f
SHA512 (libusb-1.0.28.tar.bz2.asc) = 3ba1a91d0cf70a8e419df684c0465d9ef149a568286a42ce8606ed2ac574e35a5eb05ae71bb4549652b489e77dd337b4e28f9d27e20b7dc5f5ead73eb3217e85
SHA512 (libusb-1.0.29.tar.bz2) = 04f8bda8197c9ecf52709609b8fbfea762fd82ddb5cde153a7630b0e8ed557d42da8cbc44f2f593aa22fdd0762e16716300565d67adb0c5240d7f3723321f690
SHA512 (libusb-1.0.29.tar.bz2.asc) = 57e12d3a58d8ac418e28f6d83a7cb8c0268ed5d2752707796aa5bf1f8bcf2a8083aa664d36ffcdcc96da62153afa792728662fa8230be9e2865d4a37003e199d

View file

@ -0,0 +1,6 @@
summary:
Test for libusb1
test: bash ./run.sh

View file

@ -1,13 +0,0 @@
---
- hosts: localhost
roles:
# Running these tests does not require the sources
- role: standard-test-basic
tags:
- atomic
- classic
tests:
- test:
dir: .
run: run.sh