From 8c9526f773e9780647fc07417396bd9d8a16da31 Mon Sep 17 00:00:00 2001 From: Karsten Hopp Date: Mon, 3 Jul 2006 14:50:05 +0000 Subject: - detect gcc path at runtime instead of requiring one specific version --- libtool.spec | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) (limited to 'libtool.spec') diff --git a/libtool.spec b/libtool.spec index b9b37b6..ebc5608 100644 --- a/libtool.spec +++ b/libtool.spec @@ -1,10 +1,9 @@ %define upstream_version 1.5.22 -%define gcc_version %(gcc -dumpversion) Summary: The GNU Portable Library Tool Name: libtool Version: %{upstream_version} -Release: 5 +Release: 6 License: GPL Group: Development/Tools Source: http://ftp.gnu.org/gnu/libtool/libtool-%{upstream_version}.tar.gz @@ -15,13 +14,14 @@ Patch1: libtool-1.5.18-multilib.patch # Remove in libtool-1.5.23: Patch2: libtool-1.5.22-misc.patch +Patch3: libtool-1.5.22-anygcc.patch + PreReq: /sbin/install-info BuildRequires: autoconf >= 2.59, automake >= 1.9.2, texinfo # make sure we can configure all supported langs BuildRequires: gcc, gcc-c++, libstdc++-devel, gcc-gfortran, gcc-java # /usr/bin/libtool includes paths within gcc's versioned directories # Libtool must be rebuilt whenever a new upstream gcc is built -Requires: gcc = %{gcc_version} Requires: autoconf >= 2.50, automake >= 1.4 %description @@ -77,6 +77,7 @@ Static libraries and header files for development with ltdl. %setup -n libtool-%{upstream_version} -q %patch1 -p1 -b .multilib %patch2 -p1 +%patch3 -p1 -b .anygcc %build @@ -146,6 +147,9 @@ fi %changelog +* Thu Jun 29 2006 Karsten Hopp 1.5.22-6 +- detect gcc path at runtime instead of requiring one specific version + * Thu Jun 29 2006 Karsten Hopp 1.5.22-5 - miscellaneous upstream fixes -- cgit