- Added fix for outdated config.[sub|guess] files in %configure section.

This commit is contained in:
Phil Knirsch 2002-10-16 18:07:49 +00:00
parent d5044b55bf
commit 0a68ef9360
2 changed files with 7 additions and 1 deletions

3
macros
View File

@ -28,6 +28,9 @@
CFLAGS="${CFLAGS:-%optflags}" ; export CFLAGS ; \ CFLAGS="${CFLAGS:-%optflags}" ; export CFLAGS ; \
CXXFLAGS="${CXXFLAGS:-%optflags}" ; export CXXFLAGS ; \ CXXFLAGS="${CXXFLAGS:-%optflags}" ; export CXXFLAGS ; \
FFLAGS="${FFLAGS:-%optflags}" ; export FFLAGS ; \ FFLAGS="${FFLAGS:-%optflags}" ; export FFLAGS ; \
for i in $(find . -name config.guess 2>/dev/null) $(find . -name config.sub 2>/dev/null) ; do \
[ -f /usr/share/libtool/$(basename $i) ] && %{__rm} -f $i && %{__cp} -fv /usr/share/libtool/$(basename $i) $i ; \
done ; \
./configure --host=%{_host} --build=%{_build} \\\ ./configure --host=%{_host} --build=%{_build} \\\
--target=%{_target_platform} \\\ --target=%{_target_platform} \\\
--program-prefix=%{?_program_prefix:%{_program_prefix}} \\\ --program-prefix=%{?_program_prefix:%{_program_prefix}} \\\

View File

@ -1,7 +1,7 @@
Summary: Red Hat specific rpm configuration files. Summary: Red Hat specific rpm configuration files.
Name: redhat-rpm-config Name: redhat-rpm-config
Version: 8.0.3 Version: 8.0.3
Release: 1 Release: 2
License: GPL License: GPL
Group: Development/System Group: Development/System
Source: redhat-rpm-config-%{version}.tar.gz Source: redhat-rpm-config-%{version}.tar.gz
@ -27,6 +27,9 @@ rm -rf ${RPM_BUILD_ROOT}
%{_prefix}/lib/rpm/redhat %{_prefix}/lib/rpm/redhat
%changelog %changelog
* Wed Oct 16 2002 Phil Knirsch <pknirsch@redhat.com> 8.0.3-2
- Added fix for outdated config.[sub|guess] files in %configure section
* Wed Oct 16 2002 Elliot Lee <sopwith@redhat.com> 8.0.3-1 * Wed Oct 16 2002 Elliot Lee <sopwith@redhat.com> 8.0.3-1
- New release that blows up on unpackaged files and missing doc files. - New release that blows up on unpackaged files and missing doc files.