summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--mingw32-libltdl.spec11
1 files changed, 7 insertions, 4 deletions
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 <hun@n-dimensional.de> - 1.5.26-9
+- remove obsolete requires(post/pre)
+- remove mingw32-gcc-c++ requirement
+
* Mon Feb 2 2009 Hans Ulrich Niedermann <hun@n-dimensional.de> - 1.5.26-8
- Call configure with --host instead of setting CC and CXX.
- Use BuildArch: noarch