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
This commit is contained in:
parent
6101efbbb4
commit
a66f1c17ea
13
autoconf213-testsuite.patch
Normal file
13
autoconf213-testsuite.patch
Normal file
@ -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"
|
@ -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 <praiskup@redhat.com> - 2.13-29
|
||||
- enable testsuite for obsolescent autoconf213
|
||||
|
||||
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.13-28
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user