This commit is contained in:
Elliot Lee 2003-07-15 13:38:58 +00:00
parent 9d388dbd19
commit a2894a5e9a
2 changed files with 10 additions and 3 deletions

7
macros
View File

@ -30,10 +30,13 @@
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 -o config.sub 2>/dev/null) ; do \ for i in $(find . -name config.guess -o -name config.sub) ; do \
[ -f /usr/lib/rpm/redhat/$(basename $i) ] && %{__rm} -f $i && %{__cp} -fv /usr/lib/rpm/redhat/$(basename $i) $i ; \ [ -f /usr/lib/rpm/redhat/$(basename $i) ] && %{__rm} -f $i && %{__cp} -fv /usr/lib/rpm/redhat/$(basename $i) $i ; \
done ; \ done ; \
./configure --prefix=%{_prefix} \\\ ./configure --host=%{_host} --build=%{_build} \\\
--target=%{_target_platform} \\\
--program_prefix=%{?_program_prefix} \\\
--prefix=%{_prefix} \\\
--exec-prefix=%{_exec_prefix} \\\ --exec-prefix=%{_exec_prefix} \\\
--bindir=%{_bindir} \\\ --bindir=%{_bindir} \\\
--sbindir=%{_sbindir} \\\ --sbindir=%{_sbindir} \\\

View File

@ -1,6 +1,6 @@
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.26 Version: 8.0.27
Release: 1 Release: 1
License: GPL License: GPL
Group: Development/System Group: Development/System
@ -31,6 +31,10 @@ rm -rf ${RPM_BUILD_ROOT}
%{_prefix}/lib/rpm/redhat %{_prefix}/lib/rpm/redhat
%changelog %changelog
* Tue Jul 15 2003 Elliot Lee <sopwith@redhat.com> 8.0.27-1
- Fix broken configure macro find for config.guess/config.sub
- Put host/target/build back for now
* Mon Jul 7 2003 Jens Petersen <petersen@redhat.com> - 8.0.26-1 * Mon Jul 7 2003 Jens Petersen <petersen@redhat.com> - 8.0.26-1
- preserve the vendor field when VENDOR not set - preserve the vendor field when VENDOR not set
- put VENDOR in the final i386-libc line, not the tentative one - put VENDOR in the final i386-libc line, not the tentative one