diff --git a/libfakekey.spec b/libfakekey.spec index 894d55c..db4db0b 100644 --- a/libfakekey.spec +++ b/libfakekey.spec @@ -1,3 +1,7 @@ +# Note: running autoreconf is not currently possible +# (configure.ac:21: error: possibly undefined macro: LT_AGE) +%bcond_with autoreconf + Name: libfakekey Version: 0.1 Release: 28%{?dist} @@ -11,6 +15,12 @@ BuildRequires: gcc BuildRequires: gcc-c++ BuildRequires: make +%if %{with autoreconf} +BuildRequires: autoconf +BuildRequires: automake +BuildRequires: libtool +%endif + BuildRequires: libXtst-devel BuildRequires: libXi-devel @@ -36,6 +46,9 @@ developing applications that use %{name}. %build +%if %{with autoreconf} +autoreconf -f -i -v +%endif %configure --disable-static make %{?_smp_mflags} AM_LDFLAGS=-lX11 @@ -63,6 +76,7 @@ rm -f $RPM_BUILD_ROOT%{_libdir}/libfakekey.la * Wed Oct 06 2021 Benjamin A. Beasley - 0.1-28 - Update URLs - Adjust whitespace to match personal preference +- Add a build conditional for autoreconf * Thu Jul 22 2021 Fedora Release Engineering - 0.1-27 - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild