From ec2aa3077fc5578e0b45c2d652f4d86d69a74e95 Mon Sep 17 00:00:00 2001 From: "Jonathan G. Underwood" Date: Tue, 17 Dec 2013 16:25:11 +0000 Subject: [PATCH] Only call autoreconf for Fedora 19 and higher, and not RHEL --- djvulibre.spec | 14 ++++++++++++-- 1 file changed, 12 insertions(+), 2 deletions(-) diff --git a/djvulibre.spec b/djvulibre.spec index 03c0c2b..230f3fb 100644 --- a/djvulibre.spec +++ b/djvulibre.spec @@ -1,7 +1,7 @@ Summary: DjVu viewers, encoders, and utilities Name: djvulibre Version: 3.5.25.3 -Release: 10%{?dist} +Release: 11%{?dist} License: GPLv2+ Group: Applications/Publishing URL: http://djvu.sourceforge.net/ @@ -19,7 +19,11 @@ BuildRequires: libjpeg-devel BuildRequires: libtiff-devel BuildRequires: xdg-utils chrpath BuildRequires: hicolor-icon-theme -BuildRequires: inkscape autoconf +BuildRequires: inkscape +%if 0%{?fedora} > 18 +# Autoreconf needs to be called for aarch64 support - see BZ 925264 +BuildRequires: autoconf +%endif Provides: %{name}-mozplugin = %{version} Obsoletes: %{name}-mozplugin < 3.5.24 @@ -59,7 +63,10 @@ Development files for DjVuLibre. %prep %setup -q -n %{name}-3.5.25 # call autoreconf to support aarch64 before applying patches (#925264). +%if 0%{?fedora} > 18 +# Autoreconf needs to be called for aarch64 support - see BZ 925264 autoreconf +%endif %patch0 -p1 -b .cdefs %patch1 -p1 -b .cflags @@ -169,6 +176,9 @@ fi %changelog +* Tue Dec 17 2013 Jonathan Underwood - 3.5.25.3-11 +- Only call autoreconf for Fedora 19 and higher, and not RHEL + * Sat Aug 03 2013 Fedora Release Engineering - 3.5.25.3-10 - Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild