Justify running autoreconf.

This commit is contained in:
Jiri Popelka 2015-11-18 16:13:26 +01:00
parent 90b9b0eaf8
commit 8753f6e113

View File

@ -220,8 +220,11 @@ sed -i.env-python -e 's,^#!/usr/bin/env python,#!%{__python3},' \
fax/filters/pstotiff
%build
# work-around rpaths errors
# Work-around Makefile.am imperfections.
sed -i 's|^AM_INIT_AUTOMAKE|AM_INIT_AUTOMAKE([foreign])|g' configure.in
# Upstream uses old libtool, which causes problems (due to libhpmud requiring
# libhpdiscovery) when we try to remove rpath from it.
# Regenerating all autotools files works-around these rpath issues.
autoreconf --verbose --force --install
%configure \