diff --git a/SPECS/libidn.spec b/SPECS/libidn.spec index 3e93383..905632f 100644 --- a/SPECS/libidn.spec +++ b/SPECS/libidn.spec @@ -1,12 +1,16 @@ Summary: Internationalized Domain Name support library Name: libidn Version: 1.28 -Release: 3%{?dist} +Release: 4%{?dist} URL: http://www.gnu.org/software/libidn/ License: LGPLv2+ and GPLv3+ and GFDL Source0: http://ftp.gnu.org/gnu/libidn/libidn-%{version}.tar.gz Group: System Environment/Libraries BuildRequires: pkgconfig, gettext +%ifarch ppc64le +# libtool automatic fixing tool will touch things +BuildRequires: autoconf +%endif Requires(post): /sbin/install-info /sbin/ldconfig Requires(preun): /sbin/install-info Requires(postun): /sbin/ldconfig @@ -56,6 +60,12 @@ mv iconv.tmp doc/libidn.info sed -i 's|^hardcode_libdir_flag_spec=.*|hardcode_libdir_flag_spec=""|g' libtool sed -i 's|^runpath_var=LD_RUN_PATH|runpath_var=DIE_RPATH_DIE|g' libtool +%ifarch ppc64le +# ppc64le libtool fixing tool might have tweaked libtool.m4. +# Touch these files so aclocal-1.14 is not needed. +touch aclocal.m4 Makefile.in configure +%endif + make %{?_smp_mflags} V=1 %check @@ -112,6 +122,9 @@ fi %{_emacs_sitelispdir}/%{name} %changelog +* Fri Aug 22 2014 Miroslav Lichvar - 1.28-4 +- fix building on ppc64le (#1125577) + * Fri Jan 24 2014 Daniel Mach - 1.28-3 - Mass rebuild 2014-01-24