[sgml-common] get rid of the explicit automake14 requirement

Ondrej Vasik ovasik at fedoraproject.org
Thu Oct 11 12:26:03 UTC 2012


commit 52edcfae37fc7843b59cc7a32ce98d06a7a78bbf
Author: Ondřej Vašík <ovasik at redhat.com>
Date:   Thu Oct 11 14:25:54 2012 +0200

    get rid of the explicit automake14 requirement

 sgml-common.spec |   10 +++++++---
 1 files changed, 7 insertions(+), 3 deletions(-)
---
diff --git a/sgml-common.spec b/sgml-common.spec
index 321e363..929ba72 100644
--- a/sgml-common.spec
+++ b/sgml-common.spec
@@ -2,7 +2,7 @@
 
 Name: sgml-common
 Version: 0.6.3
-Release: 37%{?dist}
+Release: 38%{?dist}
 Group: Applications/Text
 
 Summary: Common SGML catalog and DTD files
@@ -30,7 +30,7 @@ Patch1: sgml-common-xmldir.patch
 Patch2: sgml-common-quotes.patch
 
 BuildRequires: libxml2
-BuildRequires: automake14
+BuildRequires: automake
 Requires: /bin/basename
 
 %description
@@ -57,9 +57,10 @@ but that don't need to be included in main package.
 %patch2 -p1 -b .quotes
 
 # replace bogus links with files
+automakedir=`ls -1d /usr/share/automake* | head -n +1`
 for file in COPYING INSTALL install-sh missing mkinstalldirs; do
    rm $file
-   cp -p /usr/share/automake-1.4/$file .
+   cp -p $automakedir/$file .
 done
 
 %build
@@ -165,6 +166,9 @@ fi
 %{_datadir}/xml/xml.xsd
 
 %changelog
+* Thu Oct 11 2012 Ondrej Vasik <ovasik at redhat.com> 0.6.3-38
+- get rid of the explicit automake14 requirement
+
 * Sat Jul 21 2012 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 0.6.3-37
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
 


More information about the scm-commits mailing list