From b392cdf415e4d27048dbd8dc2e871b76de21f58d522e3324b7e8c4fd90b60672 Mon Sep 17 00:00:00 2001 From: OBS User unknown Date: Fri, 30 Nov 2007 15:13:00 +0000 Subject: [PATCH] OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/m4?expand=0&rev=4 --- m4-1.4.10.diff | 26 ++++++++++++++++++++++++++ m4.changes | 5 +++++ m4.spec | 12 +++++++++--- 3 files changed, 40 insertions(+), 3 deletions(-) create mode 100644 m4-1.4.10.diff diff --git a/m4-1.4.10.diff b/m4-1.4.10.diff new file mode 100644 index 0000000..231530c --- /dev/null +++ b/m4-1.4.10.diff @@ -0,0 +1,26 @@ +--- m4/gnulib-comp.m4 ++++ m4/gnulib-comp.m4 +@@ -105,7 +105,6 @@ AC_DEFUN([M4_INIT], + gl_PATHMAX + gl_FUNC_PRINTF_FREXP + gl_FUNC_PRINTF_FREXPL +- m4_divert_text([INIT_PREPARE], [gl_printf_safe=yes]) + gl_QUOTEARG + gl_REGEX + gl_SIGNAL_H +--- tests/Makefile.am ++++ tests/Makefile.am +@@ -256,13 +256,6 @@ check_PROGRAMS += test-unistd + + ## end gnulib module unistd-tests + +-## begin gnulib module vasnprintf-tests +- +-TESTS += test-vasnprintf +-check_PROGRAMS += test-vasnprintf +- +-## end gnulib module vasnprintf-tests +- + ## begin gnulib module vasprintf-posix-tests + + TESTS += test-vasprintf-posix diff --git a/m4.changes b/m4.changes index bcb4d71..112c96f 100644 --- a/m4.changes +++ b/m4.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Mon Nov 26 13:24:51 CET 2007 - schwab@suse.de + +- Remove broken tests. + ------------------------------------------------------------------- Tue Jul 10 13:55:30 CEST 2007 - schwab@suse.de diff --git a/m4.spec b/m4.spec index e690648..c92e27b 100644 --- a/m4.spec +++ b/m4.spec @@ -14,13 +14,14 @@ Name: m4 License: GPL v3 or later Group: Development/Languages/Other Provides: base:/usr/bin/m4 -Autoreqprov: on +AutoReqProv: on PreReq: %{install_info_prereq} Version: 1.4.10 -Release: 1 +Release: 25 Summary: GNU m4 -URL: http://www.gnu.org/software/m4/ +Url: http://www.gnu.org/software/m4/ Source: ftp://ftp.gnu.org/pub/gnu/m4/m4-%{version}.tar.bz2 +Patch: m4-%{version}.diff BuildRoot: %{_tmppath}/%{name}-%{version}-build %description @@ -34,8 +35,11 @@ Authors: %prep %setup +%patch %build +AUTOPOINT=true autoreconf -fi +gl_cv_func_printf_directive_n=yes \ ./configure CFLAGS="$RPM_OPT_FLAGS" --without-included-regex \ --prefix=/usr --mandir=%{_mandir} --infodir=%{_infodir} make @@ -58,6 +62,8 @@ make install DESTDIR="$RPM_BUILD_ROOT" %{_mandir}/*/* %changelog +* Mon Nov 26 2007 - schwab@suse.de +- Remove broken tests. * Tue Jul 10 2007 - schwab@suse.de - Update to m4 1.4.10. * Upgrade from GPL version 2 to GPL version 3 or later.