From 95ad4d7502258ddbbca513effe7fe7aec5113c45 Mon Sep 17 00:00:00 2001 From: Hans Ulrich Niedermann Date: Mon, 2 Feb 2009 15:01:47 +0100 Subject: remove require for post/pre and mingw32-gcc-c++ --- mingw32-libltdl.spec | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) (limited to 'mingw32-libltdl.spec') diff --git a/mingw32-libltdl.spec b/mingw32-libltdl.spec index dd3982c..e360a50 100644 --- a/mingw32-libltdl.spec +++ b/mingw32-libltdl.spec @@ -7,7 +7,7 @@ Summary: Runtime libraries for GNU Libtool Dynamic Module Loader Name: mingw32-libltdl Version: 1.5.26 -Release: 8%{?dist} +Release: 9%{?dist} Group: System Environment/Libraries License: GPLv2+ and LGPLv2+ and GFDL Group: Development/Tools @@ -22,9 +22,7 @@ Patch2: libtool-1.5.24-relativepath.patch BuildRequires: mingw32-filesystem >= 30 BuildRequires: mingw32-binutils -# make sure we can configure all supported langs BuildRequires: mingw32-gcc -BuildRequires: mingw32-gcc-c++ BuildArch: noarch @@ -45,11 +43,12 @@ the rest of the GNU Autotools (including GNU Autoconf and GNU Automake). %patch2 -p1 %build -export PATH=%{_mingw32_bindir}:$PATH +export PATH=%{_mingw32_bindir}:$PATH #./bootstrap cd libltdl +export CXX=false export F77=false export CFLAGS="$RPM_OPT_FLAGS -fPIC" # dumb redhat-rpm-config replaces config.{sub,guess} with ancient ones in %%configure, use ./configure instead: @@ -86,6 +85,10 @@ rm -rf %{buildroot} %changelog +* Mon Feb 2 2009 Hans Ulrich Niedermann - 1.5.26-9 +- remove obsolete requires(post/pre) +- remove mingw32-gcc-c++ requirement + * Mon Feb 2 2009 Hans Ulrich Niedermann - 1.5.26-8 - Call configure with --host instead of setting CC and CXX. - Use BuildArch: noarch -- cgit