Add a build conditional for autoreconf

epel9
Benjamin A. Beasley 3 years ago
parent 8cc93cafdc
commit 7ca735c4eb

@ -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 <code@musicinmybrain.net> - 0.1-28
- Update URLs
- Adjust whitespace to match personal preference
- Add a build conditional for autoreconf
* Thu Jul 22 2021 Fedora Release Engineering <releng@fedoraproject.org> - 0.1-27
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild

Loading…
Cancel
Save