Browse Source

automake-1.16.1-1

Tomohiro "Tomo-p" KATO 4 years ago
parent
commit
b9a4c3e1bf
1 changed files with 29 additions and 10 deletions
  1. 29 10
      a/automake/automake-vl.spec

+ 29 - 10
a/automake/automake-vl.spec

@@ -1,24 +1,33 @@
-%define api_version 1.14
+%define api_version 1.16
 
 Summary: A GNU tool for automatically creating Makefiles.
 Summary(ja): Makefile を自動生成するための GNU ツール
 Name: automake
 Version: %{api_version}.1
-Release: 2%{?_dist_release}
+Release: 1%{?_dist_release}
 License: GPL
 Group: Development/Tools
-Source: ftp://ftp.gnu.org/gnu/automake/automake-%{version}.tar.xz
-# patch for perl-5.22 and later from upstream
-Patch0: perl-5.22-rexexp.patch
+Source: https://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
+
+Patch0:     automake-1.15-disable-vala-tests.patch
+# BZ#1716384
+# automake bug#31222 - Don't use '\n' in sed substitution
+# http://git.savannah.gnu.org/cgit/automake.git/commit/?id=a348d830659fffd2cfc42994524783b07e69b4b5
+Patch1:     automake-1.16-pep3147-tweak-fix.patch
 
 URL: http://sources.redhat.com/automake
 Requires: perl, autoconf >= 2.58
 Buildrequires: autoconf >= 2.58
 Requires(pre): install-info
 
-BuildArchitectures: noarch
+BuildRequires: texinfo
+
+BuildArch: noarch
 Buildroot: %{_tmppath}/%{name}-%{version}-root
 
+
 Vendor: Project Vine
 Distribution: Vine Linux
 Packager: daisuke
@@ -38,8 +47,14 @@ GNU's Autoconf package.
 
 
 %prep
-%setup -q -n automake-%{version}
-%patch0 -p1
+%autosetup -p1
+autoreconf -vi
+
+#for file in %SOURCE2 %SOURCE3; do
+#    for dest in $(find -name "$(basename "$file")"); do
+#        cp "$file" "$dest"
+#    done
+#done
 
 %build
 ./configure \
@@ -64,7 +79,8 @@ rm -f $RPM_BUILD_ROOT%{_infodir}/dir
 
 %check
 %if %{with check}
-%{__make} check
+%{__make} -k %{?_smp_mflags} check %{?TESTS_FLAGS: TESTS="%{TESTS_FLAGS}"} \
+    || ( cat ./test-suite.log && false )
 %endif
 
 %clean
@@ -83,7 +99,7 @@ fi
 
 %files
 %defattr(-,root,root)
-%license COPYING
+%license COPYING*
 %doc AUTHORS ChangeLog INSTALL NEWS README THANKS
 %doc REAME.aclocal README.multilib
 %{_bindir}/*
@@ -95,6 +111,9 @@ fi
 
 
 %changelog
+* Thu Aug 29 2019 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 1.16.1-1
+- updated to 1.16.1.
+
 * Sat May 18 2019 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 1.14.1-2
 - added Patch0 for perl-5.26.