diff --git a/libusb1.spec b/libusb1.spec index 256a12d..6c2f458 100644 --- a/libusb1.spec +++ b/libusb1.spec @@ -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} < 44) || (0%{?rhel} && 0%{?rhel} < 11) autoscan aclocal autoconf automake --add-missing +%endif %build