- Second attempt to keep original config.guess and config.sub.

This commit is contained in:
skasal 2006-06-27 12:34:53 +00:00
parent be0db5ab76
commit 162dbcd1e4

View File

@ -1,7 +1,7 @@
Summary: A GNU tool for automatically configuring source code.
Name: autoconf
Version: 2.60
Release: 1
Release: 2
License: GPL
Group: Development/Tools
Source: http://ftp.gnu.org/gnu/autoconf/autoconf-%{version}.tar.bz2
@ -32,16 +32,16 @@ their use.
%prep
%setup -q -n autoconf-%{version}
%patch
# Hide these files from the eager find at the beginning of %build
cp -p config/config{.,-}guess
cp -p config/config{.,-}sub
%build
# ... restore them:
cp -p config/config{-,.}guess
cp -p config/config{-,.}sub
# Hide these files from the eager find in %configure:
cp -p config/config{.,-}guess
cp -p config/config{.,-}sub
%configure
# ... and restore them:
mv config/config{-,.}guess
mv config/config{-,.}sub
make
%check
@ -76,6 +76,9 @@ fi
%doc AUTHORS COPYING ChangeLog NEWS README THANKS TODO
%changelog
* Tue Jun 27 2006 Stepan Kasal <skasal@redhat.com> 2.60-2
- Second attempt to keep original config.guess and config.sub.
* Tue Jun 27 2006 Stepan Kasal <skasal@redhat.com> 2.60-1
- Do not allow rpm to replace config.guess and config.sub.