diff --git a/.fmf/version b/.fmf/version deleted file mode 100644 index d00491f..0000000 --- a/.fmf/version +++ /dev/null @@ -1 +0,0 @@ -1 diff --git a/.gitignore b/.gitignore index 415c8df..32cc235 100644 --- a/.gitignore +++ b/.gitignore @@ -5,5 +5,3 @@ /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 diff --git a/libusb1.spec b/libusb1.spec index 256a12d..41f06f3 100644 --- a/libusb1.spec +++ b/libusb1.spec @@ -2,7 +2,7 @@ Summary: Library for accessing USB devices Name: libusb1 -Version: 1.0.29 +Version: 1.0.28 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,10 +94,12 @@ 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 diff --git a/plans/integration.fmf b/plans/integration.fmf deleted file mode 100644 index 2bb7504..0000000 --- a/plans/integration.fmf +++ /dev/null @@ -1,11 +0,0 @@ -summary: Basic smoke test -discover: - how: fmf -prepare: - - name: packages - how: install - package: - - glibc-common - - libusb1-tests-examples -execute: - how: tmt diff --git a/sources b/sources index b3dcd4d..ff2dc84 100644 --- a/sources +++ b/sources @@ -1,2 +1,2 @@ -SHA512 (libusb-1.0.29.tar.bz2) = 04f8bda8197c9ecf52709609b8fbfea762fd82ddb5cde153a7630b0e8ed557d42da8cbc44f2f593aa22fdd0762e16716300565d67adb0c5240d7f3723321f690 -SHA512 (libusb-1.0.29.tar.bz2.asc) = 57e12d3a58d8ac418e28f6d83a7cb8c0268ed5d2752707796aa5bf1f8bcf2a8083aa664d36ffcdcc96da62153afa792728662fa8230be9e2865d4a37003e199d +SHA512 (libusb-1.0.28.tar.bz2) = 0f4efa6b54e6195d2e5446652c2dc07358583e205d63bf438c4409511b8637d1700a71268c40499755747827d23cc730d9122267386f847bf781993c045c519f +SHA512 (libusb-1.0.28.tar.bz2.asc) = 3ba1a91d0cf70a8e419df684c0465d9ef149a568286a42ce8606ed2ac574e35a5eb05ae71bb4549652b489e77dd337b4e28f9d27e20b7dc5f5ead73eb3217e85 diff --git a/tests/integration/main.fmf b/tests/integration/main.fmf deleted file mode 100644 index 486f50b..0000000 --- a/tests/integration/main.fmf +++ /dev/null @@ -1,6 +0,0 @@ -summary: - Test for libusb1 -test: bash ./run.sh - - - diff --git a/tests/integration/run.sh b/tests/run.sh similarity index 100% rename from tests/integration/run.sh rename to tests/run.sh diff --git a/tests/tests.yml b/tests/tests.yml new file mode 100644 index 0000000..57b120c --- /dev/null +++ b/tests/tests.yml @@ -0,0 +1,13 @@ +--- +- hosts: localhost + roles: + # Running these tests does not require the sources + - role: standard-test-basic + tags: + - atomic + - classic + tests: + - test: + dir: . + run: run.sh +