diff --git a/unbound.spec b/unbound.spec index 2964468..b1f90c8 100644 --- a/unbound.spec +++ b/unbound.spec @@ -106,9 +106,11 @@ BuildRequires: systemd-rpm-macros %else BuildRequires: systemd %endif -# Required for SVN versions -# BuildRequires: bison -# BuildRequires: automake autoconf libtool +# Required for snapshot versions or modified configure.ac +BuildRequires: bison +BuildRequires: automake +BuildRequires: autoconf +BuildRequires: libtool # Needed because /usr/sbin/unbound links unbound libs staticly Requires: %{name}-libs%{?_isa} = %{version}-%{release} @@ -231,7 +233,7 @@ pushd %{pkgname} %autopatch -p2 # only for snapshots -# autoreconf -iv +autoreconf -fiv # copy common doc files - after here, since it may be patched cp -pr doc pythonmod libunbound ../ @@ -252,9 +254,6 @@ cp -a %{dir_primary} %{dir_secondary} %endif %build -# This is needed to rebuild the configure script to support Python 3.x -# autoreconf -iv - # ./configure script common arguments %global configure_args --with-libevent --with-pthreads --with-ssl \\\ --disable-rpath --disable-static \\\