- add a quick fix for #449944
- remove Requires: mktemp, imake, grep; these are required by the generated configure, but not by Autoconf. - switch on make check
This commit is contained in:
parent
6f8699b2eb
commit
02b7a35c64
33
autoconf-2.62-449944.patch
Normal file
33
autoconf-2.62-449944.patch
Normal file
@ -0,0 +1,33 @@
|
||||
diff -ur autoconf-2.62/ChangeLog autoconf-2.62_new/ChangeLog
|
||||
--- autoconf-2.62/ChangeLog 2008-04-06 01:04:49.000000000 +0200
|
||||
+++ autoconf-2.62_new/ChangeLog 2008-07-04 17:40:40.000000000 +0200
|
||||
@@ -1,3 +1,8 @@
|
||||
+2008-07-04 Stepan Kasal <skasal@redhat.com>
|
||||
+
|
||||
+ * lib/autoconf/c.m4 (AC_C_BIGENDIAN): Remove the checks for
|
||||
+ universal binaries, it produced false positives.
|
||||
+
|
||||
2008-06-16 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
|
||||
|
||||
Fix '#undef variable /* comment */' transform in config
|
||||
diff -ur autoconf-2.62/lib/autoconf/c.m4 autoconf-2.62_new/lib/autoconf/c.m4
|
||||
--- autoconf-2.62/lib/autoconf/c.m4 2008-04-06 01:04:48.000000000 +0200
|
||||
+++ autoconf-2.62_new/lib/autoconf/c.m4 2008-07-04 17:38:31.000000000 +0200
|
||||
@@ -1407,17 +1407,6 @@
|
||||
#endif])dnl
|
||||
AC_CACHE_CHECK([whether byte ordering is bigendian], [ac_cv_c_bigendian],
|
||||
[ac_cv_c_bigendian=unknown
|
||||
- m4_ifval(m4_ifdef([AH_HEADER], 1)[$4],
|
||||
- [# See if __BIG_ENDIAN__ or __LITTLE_ENDIAN__ is defined.
|
||||
- AC_COMPILE_IFELSE(
|
||||
- [AC_LANG_SOURCE(
|
||||
- [[#if ! (defined __BIG_ENDIAN__ || defined __LITTLE_ENDIAN__)
|
||||
- neither is defined;
|
||||
- #endif
|
||||
- typedef int dummy;
|
||||
- ]])],
|
||||
- [ac_cv_c_bigendian=universal])],
|
||||
- [AC_DIAGNOSE([obsolete], [AC_C_BIGENDIAN suggests AC_CONFIG_HEADERS])])
|
||||
if test $ac_cv_c_bigendian = unknown; then
|
||||
# See if sys/param.h defines the BYTE_ORDER macro.
|
||||
AC_COMPILE_IFELSE(
|
@ -1,7 +1,7 @@
|
||||
Summary: A GNU tool for automatically configuring source code
|
||||
Name: autoconf
|
||||
Version: 2.62
|
||||
Release: 3%{?dist}
|
||||
Release: 4%{?dist}
|
||||
License: GPLv2+ and GFDL
|
||||
Group: Development/Tools
|
||||
Source: http://ftp.gnu.org/gnu/autoconf/autoconf-%{version}.tar.bz2
|
||||
@ -10,9 +10,10 @@ Source2: filter-requires-automake.sh
|
||||
# This one will be included in 2.63:
|
||||
Patch0: autoconf-2.62-449973.patch
|
||||
Patch1: autoconf-2.62-449245.patch
|
||||
Patch2: autoconf-2.62-449944.patch
|
||||
URL: http://www.gnu.org/software/autoconf/
|
||||
BuildRequires: m4 >= 1.4.7, emacs
|
||||
Requires: m4 >= 1.4.7, mktemp, imake, grep
|
||||
Requires: m4 >= 1.4.7
|
||||
Requires(post): /sbin/install-info
|
||||
Requires(preun): /sbin/install-info
|
||||
BuildArch: noarch
|
||||
@ -43,16 +44,17 @@ their use.
|
||||
%setup -q
|
||||
%patch0 -p1
|
||||
%patch1 -p1
|
||||
%patch2 -p1
|
||||
|
||||
%build
|
||||
# use ./configure here to avoid copying config.{sub,guess} with those from the
|
||||
# rpm package
|
||||
./configure --prefix=%{_prefix} --mandir=%{_mandir} --infodir=%{_infodir} \
|
||||
--bindir=%{_bindir} --datadir=%{_datadir}
|
||||
make # %{?_smp_mflags} Makefile not smp save
|
||||
make # %{?_smp_mflags} The Makefile is not smp safe.
|
||||
|
||||
#check
|
||||
#make check VERBOSE=yes
|
||||
%check
|
||||
make check VERBOSE=yes
|
||||
|
||||
%install
|
||||
rm -rf ${RPM_BUILD_ROOT}
|
||||
@ -84,6 +86,12 @@ fi
|
||||
%doc AUTHORS COPYING ChangeLog NEWS README THANKS TODO
|
||||
|
||||
%changelog
|
||||
* Fri Jul 4 2008 Stepan Kasal <skasal@redhat.com> 2.62-4
|
||||
- add a quick fix for #449944
|
||||
- remove Requires: mktemp, imake, grep; these are required by the generated
|
||||
configure, but not by Autoconf.
|
||||
- switch on make check
|
||||
|
||||
* Tue Jun 24 2008 Karsten Hopp <karsten@redhat.com> 2.62-3
|
||||
- add fix for same line comments #449245 (Ralf Wildenhues)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user