From 8753f6e113b548e850f249ab0458d290de6fca1f Mon Sep 17 00:00:00 2001 From: Jiri Popelka Date: Wed, 18 Nov 2015 16:13:26 +0100 Subject: [PATCH] Justify running autoreconf. --- hplip.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/hplip.spec b/hplip.spec index 0095dbf..836d064 100644 --- a/hplip.spec +++ b/hplip.spec @@ -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 \