From a66f1c17ea5b4fd51432df788bc98c9d27d3c7a3 Mon Sep 17 00:00:00 2001 From: Pavel Raiskup Date: Oct 09 2013 13:58:58 +0000 Subject: testsuite: enable it even considering that this is very long time obsoleted package, enable the upstream testsuite during build time. Just to monitor what does not work correctly. The AC_FUNC_GETLOADAVG macro does not work ATM. Version: 2.13-29 --- diff --git a/autoconf213-testsuite.patch b/autoconf213-testsuite.patch new file mode 100644 index 0000000..2eae233 --- /dev/null +++ b/autoconf213-testsuite.patch @@ -0,0 +1,13 @@ +diff --git a/testsuite/autoconf.s/syntax.exp b/testsuite/autoconf.s/syntax.exp +index 95a4611..3c5738a 100644 +--- a/testsuite/autoconf.s/syntax.exp ++++ b/testsuite/autoconf.s/syntax.exp +@@ -2,7 +2,7 @@ + + send_user "Checking for syntax errors in the specific tests...\n" + set script {s/^AC_DEFUN(\([^,]*\).*/\1/p} +-set macros [exec sed -n $script $srcdir/../acspecific.m4] ++set macros [exec sed -n $script $srcdir/../acspecific.m4 | grep -v AC_FUNC_GETLOADAVG] + + foreach mac $macros { + send_user "$mac\n" diff --git a/autoconf213.spec b/autoconf213.spec index fca1cf4..f97d860 100644 --- a/autoconf213.spec +++ b/autoconf213.spec @@ -1,7 +1,7 @@ Summary: A GNU tool for automatically configuring source code Name: autoconf213 Version: 2.13 -Release: 28%{?dist} +Release: 29%{?dist} License: GPLv2+ Group: Development/Tools URL: http://www.gnu.org/software/autoconf/ @@ -18,10 +18,11 @@ Patch8: autoconf-2.13-make-defs-62361.patch Patch9: autoconf-2.13-versioning.patch Patch10: autoconf213-destdir.patch Patch11: autoconf213-info.patch +Patch12: autoconf213-testsuite.patch Requires: gawk, m4 >= 1.1, coreutils, perl Requires(post): /sbin/install-info Requires(preun): /sbin/install-info -Buildrequires: texinfo, m4 >= 1.1, perl, gawk +Buildrequires: texinfo, m4 >= 1.1, perl, gawk, dejagnu, compat-gcc-34-g77, flex BuildArch: noarch BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) @@ -55,6 +56,7 @@ use. %patch9 -p1 %patch10 -p1 %patch11 -p1 +%patch12 -p1 mv autoconf.texi autoconf213.texi rm -f autoconf.info @@ -67,6 +69,9 @@ rm -rf ${RPM_BUILD_ROOT} #makeinstall make install DESTDIR=$RPM_BUILD_ROOT +%check +make check + # We don't want to include the standards.info stuff in the package, # because it comes from binutils... rm -f ${RPM_BUILD_ROOT}%{_infodir}/standards* @@ -90,6 +95,9 @@ rm -rf ${RPM_BUILD_ROOT} %doc AUTHORS COPYING NEWS README TODO %changelog +* Wed Oct 09 2013 Pavel Raiskup - 2.13-29 +- enable testsuite for obsolescent autoconf213 + * Sat Aug 03 2013 Fedora Release Engineering - 2.13-28 - Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild