Problem: RPM build does not support automake

Solution: build-depend on the toolchain and call autoreconf in the
spec
This commit is contained in:
Luca Boccassi 2016-07-31 16:40:53 +01:00
parent 0372e5ce22
commit 373b63de9e

View File

@ -8,6 +8,7 @@ URL: http://www.zeromq.org/
Source: http://download.zeromq.org/%{name}-%{version}.tar.gz
Prefix: %{_prefix}
Buildroot: %{_tmppath}/%{name}-%{version}-%{release}-root
BuildRequires: autoconf automake libtool libsodium-devel glib2-devel
BuildRequires: gcc, make, gcc-c++, libstdc++-devel, asciidoc, xmlto
Requires: libstdc++
@ -72,6 +73,7 @@ This package contains ZeroMQ related development libraries and header files.
%setup -q
%build
autoreconf -fi
%configure \
%{?_with_libsodium} \
%{?_without_libsodium} \