parent
b36fd8d9a7
commit
58eeb75b2f
@ -6,13 +6,15 @@
|
||||
Summary: A GNU tool for automatically creating Makefiles
|
||||
Name: automake
|
||||
Version: %{api_version}.1
|
||||
Release: 4%{?dist}
|
||||
Release: 5%{?dist}
|
||||
|
||||
# docs ~> GFDL, sources ~> GPLv2+, mkinstalldirs ~> PD and install-sh ~> MIT
|
||||
License: GPLv2+ and GFDL and Public Domain and MIT
|
||||
|
||||
Group: Development/Tools
|
||||
Source: ftp://ftp.gnu.org/gnu/automake/automake-%{version}.tar.xz
|
||||
Source2: http://git.savannah.gnu.org/cgit/config.git/plain/config.sub
|
||||
Source3: http://git.savannah.gnu.org/cgit/config.git/plain/config.guess
|
||||
|
||||
# Disable tests for broken vala installation
|
||||
# ~> downstream
|
||||
@ -76,6 +78,11 @@ Makefiles.
|
||||
%patch1 -p1 -b .hash_order
|
||||
autoreconf -iv
|
||||
|
||||
file=`find -name config.sub | head -1`
|
||||
cp %{SOURCE2} $file
|
||||
file=`find -name config.guess | head -1`
|
||||
cp %{SOURCE3} $file
|
||||
|
||||
# Fedora only to add ppc64p7 (Power7 optimized) arch:
|
||||
perl -pi -e "s/ppc64-\*/ppc64-\* \| ppc64p7-\*/" lib/config.sub
|
||||
|
||||
@ -117,6 +124,9 @@ fi
|
||||
%{_mandir}/man1/*
|
||||
|
||||
%changelog
|
||||
* Wed Sep 10 2014 Pavel Raiskup <praiskup@redhat.com> - 1.14.1-5
|
||||
- update config.{guess,sub} to gnuconfig git HEAD
|
||||
|
||||
* Mon Jun 09 2014 Pavel Raiskup <praiskup@redhat.com> - 1.14.1-4
|
||||
- gcc-java removed completely from Fedora (#1105985)
|
||||
|
||||
|
1420
config.guess
vendored
Executable file
1420
config.guess
vendored
Executable file
File diff suppressed because it is too large
Load Diff
1798
config.sub
vendored
Executable file
1798
config.sub
vendored
Executable file
File diff suppressed because it is too large
Load Diff
33
sync_gnuconfig.sh
Executable file
33
sync_gnuconfig.sh
Executable file
@ -0,0 +1,33 @@
|
||||
#!/bin/bash
|
||||
|
||||
die() { echo >&2 "$@"; exit 1; }
|
||||
|
||||
lines=`git status --porcelain | grep -v ^?? | wc -l`
|
||||
test "$lines" != "0" && die "stash the git changes"
|
||||
|
||||
if test -d config; then
|
||||
cd config
|
||||
git pull
|
||||
cd ..
|
||||
else
|
||||
git clone git://git.savannah.gnu.org/config.git
|
||||
fi
|
||||
|
||||
|
||||
cp config/config.guess .
|
||||
cp config/config.sub .
|
||||
|
||||
lines=`git status --porcelain config.guess config.sub | wc -l`
|
||||
if test "$lines" = "0"; then
|
||||
echo "no upstream change"
|
||||
exit 0
|
||||
fi
|
||||
|
||||
make -C config check || die "make check failed"
|
||||
|
||||
rpmdev-bumpspec automake.spec \
|
||||
-c "update config.{guess,sub} to gnuconfig git HEAD" \
|
||||
|| die "can not bump spec"
|
||||
|
||||
git add -f config.sub config.guess automake.spec
|
||||
git commit -m "gnuconfig: sync with upstream git" --no-verify
|
Loading…
Reference in New Issue
Block a user