Rebuild autotools-generated files
This commit is contained in:
parent
93e6810aa2
commit
702c53b55c
14
cairomm.spec
14
cairomm.spec
@ -1,6 +1,7 @@
|
||||
%global so_version 1
|
||||
%global apiver 1.0
|
||||
|
||||
%bcond_without autoreconf
|
||||
|
||||
Name: cairomm
|
||||
Summary: C++ API for the cairo graphics library
|
||||
@ -16,6 +17,12 @@ BuildRequires: gcc-c++
|
||||
BuildRequires: make
|
||||
BuildRequires: pkgconfig
|
||||
|
||||
%if %{with autoreconf}
|
||||
BuildRequires: autoconf
|
||||
BuildRequires: automake
|
||||
BuildRequires: libtool
|
||||
BuildRequires: autoconf-archive
|
||||
%endif
|
||||
BuildRequires: mm-common
|
||||
|
||||
BuildRequires: cairo-devel
|
||||
@ -65,6 +72,13 @@ rm docs/reference/%{name}-%{apiver}.tag \
|
||||
|
||||
|
||||
%build
|
||||
%if %{with autoreconf}
|
||||
# Update obsolete Boost m4 macros
|
||||
cp -vp %{_datadir}/aclocal/ax_boost_base.m4 \
|
||||
%{_datadir}/aclocal/ax_boost_unit_test_framework.m4 \
|
||||
build/
|
||||
NOCONFIGURE=1 ./autogen.sh
|
||||
%endif
|
||||
%configure --disable-static
|
||||
%make_build
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user