parent
b36fd8d9a7
commit
58eeb75b2f
|
@ -6,13 +6,15 @@
|
||||||
Summary: A GNU tool for automatically creating Makefiles
|
Summary: A GNU tool for automatically creating Makefiles
|
||||||
Name: automake
|
Name: automake
|
||||||
Version: %{api_version}.1
|
Version: %{api_version}.1
|
||||||
Release: 4%{?dist}
|
Release: 5%{?dist}
|
||||||
|
|
||||||
# docs ~> GFDL, sources ~> GPLv2+, mkinstalldirs ~> PD and install-sh ~> MIT
|
# docs ~> GFDL, sources ~> GPLv2+, mkinstalldirs ~> PD and install-sh ~> MIT
|
||||||
License: GPLv2+ and GFDL and Public Domain and MIT
|
License: GPLv2+ and GFDL and Public Domain and MIT
|
||||||
|
|
||||||
Group: Development/Tools
|
Group: Development/Tools
|
||||||
Source: ftp://ftp.gnu.org/gnu/automake/automake-%{version}.tar.xz
|
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
|
# Disable tests for broken vala installation
|
||||||
# ~> downstream
|
# ~> downstream
|
||||||
|
@ -76,6 +78,11 @@ Makefiles.
|
||||||
%patch1 -p1 -b .hash_order
|
%patch1 -p1 -b .hash_order
|
||||||
autoreconf -iv
|
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:
|
# Fedora only to add ppc64p7 (Power7 optimized) arch:
|
||||||
perl -pi -e "s/ppc64-\*/ppc64-\* \| ppc64p7-\*/" lib/config.sub
|
perl -pi -e "s/ppc64-\*/ppc64-\* \| ppc64p7-\*/" lib/config.sub
|
||||||
|
|
||||||
|
@ -117,6 +124,9 @@ fi
|
||||||
%{_mandir}/man1/*
|
%{_mandir}/man1/*
|
||||||
|
|
||||||
%changelog
|
%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
|
* Mon Jun 09 2014 Pavel Raiskup <praiskup@redhat.com> - 1.14.1-4
|
||||||
- gcc-java removed completely from Fedora (#1105985)
|
- gcc-java removed completely from Fedora (#1105985)
|
||||||
|
|
||||||
|
|
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
|
@ -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