744367
Summary: The GNU macro processor
744367
Name: m4
744367
Version: 1.4.16
3210fa
Release: 10%{?dist}
744367
License: GPLv3+
744367
Group: Applications/Text
744367
Source0: http://ftp.gnu.org/gnu/m4/m4-%{version}.tar.xz
744367
Source1: http://ftp.gnu.org/gnu/m4/m4-%{version}.tar.xz.sig
744367
URL: http://www.gnu.org/software/m4/
744367
# Patch0: Temporary fix to avoid fails, already fixed in gnulib, this patch
744367
#         should be removed after updating m4 to newer gnulib
744367
Patch0: m4-1.4.16-readlink-einval.patch
744367
# Patch1: Temporary fix to avoid build fails, this patch
744367
#         should be removed after updateing m4 to newer gnulib
744367
Patch1: m4-1.4.16-gnulib-gets.patch
3210fa
# Patch2: Fixes math tests for little-endian PowerPC,
3210fa
#         patch by Menanteau Guy and Ulrich Weigand
3210fa
Patch2: m4-1.4.17-gnulib-ppc64le.patch
744367
Requires(post): /sbin/install-info
744367
Requires(preun): /sbin/install-info
744367
# Gnulib bundled - the library has been granted an exception, see https://fedorahosted.org/fpc/ticket/174
744367
# Gnulib is not versioned, see m4 ChangeLog for approximate date of Gnulib copy
744367
Provides: bundled(gnulib)
744367
744367
%description
744367
A GNU implementation of the traditional UNIX macro processor.  M4 is
744367
useful for writing text files which can be logically parsed, and is used
744367
by many programs as part of their build process.  M4 has built-in
744367
functions for including files, running shell commands, doing arithmetic,
744367
etc.  The autoconf program needs m4 for generating configure scripts, but
744367
not for running configure scripts.
744367
744367
Install m4 if you need a macro processor.
744367
744367
%prep
744367
%setup -q
744367
%patch0 -p1 -b .readlink-einval
744367
%patch1 -p1 -b .gnulib-gets
3210fa
%patch2 -p1 -b .gnulib-ppc64le
744367
chmod 644 COPYING
744367
744367
%build
744367
%configure
744367
make %{?_smp_mflags}
744367
744367
%install
744367
make install INSTALL="%{__install} -p" DESTDIR=$RPM_BUILD_ROOT
744367
rm -f $RPM_BUILD_ROOT%{_infodir}/dir
744367
744367
%check
744367
make %{?_smp_mflags} check
744367
744367
%files
744367
%doc AUTHORS COPYING ChangeLog NEWS README THANKS TODO
744367
%{_bindir}/m4
744367
%{_infodir}/*
744367
%{_mandir}/man1/m4.1*
744367
744367
%post
744367
if [ -f %{_infodir}/m4.info ]; then # --excludedocs?
744367
    /sbin/install-info %{_infodir}/m4.info %{_infodir}/dir || :
744367
fi
744367
744367
%preun
744367
if [ "$1" = 0 ]; then
744367
    if [ -f %{_infodir}/m4.info ]; then # --excludedocs?
744367
        /sbin/install-info --delete %{_infodir}/m4.info %{_infodir}/dir || :
744367
    fi
744367
fi
744367
744367
%changelog
3210fa
* Thu Aug 07 2014 Vitezslav Crhonek <vcrhonek@redhat.com> - 1.4.16-10
3210fa
- Fix ppc64le test fails
3210fa
  Resolves: #1125604
3210fa
91dbe6
* Fri Jan 24 2014 Daniel Mach <dmach@redhat.com> - 1.4.16-9
91dbe6
- Mass rebuild 2014-01-24
91dbe6
91dbe6
* Fri Dec 27 2013 Daniel Mach <dmach@redhat.com> - 1.4.16-8
91dbe6
- Mass rebuild 2013-12-27
91dbe6
744367
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.4.16-7
744367
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
744367
744367
* Tue Aug 28 2012 Vitezslav Crhonek <vcrhonek@redhat.com> - 1.4.16-6
744367
- Fix issues found by fedora-review utility in the spec file
744367
744367
* Thu Jul 19 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.4.16-5
744367
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
744367
744367
* Mon May 28 2012 Vitezslav Crhonek <vcrhonek@redhat.com> - 1.4.16-4
744367
- Fix handling of bundled gnulib in the spec file
744367
  Resolves: #821777
744367
744367
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.4.16-3
744367
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
744367
744367
* Tue Sep 20 2011 Vitezslav Crhonek <vcrhonek@redhat.com> - 1.4.16-2
744367
- Temporarily fix readlink test to accept EINVAL also
744367
  Resolves: #739189
744367
744367
* Wed Mar 02 2011 Vitezslav Crhonek <vcrhonek@redhat.com> - 1.4.16-1
744367
- Update to m4-1.4.16
744367
744367
* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.4.15-2
744367
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
744367
744367
* Tue Sep  7 2010 Vitezslav Crhonek <vcrhonek@redhat.com> - 1.4.15-1
744367
- Update to m4-1.4.15 (removed include patch, already applied in upstream source)
744367
  Resolves: #630709
744367
744367
* Mon Mar  1 2010 Vitezslav Crhonek <vcrhonek@redhat.com> - 1.4.14-1
744367
- Update to m4-1.4.14
744367
  Resolves: #568339
744367
744367
* Thu Sep  3 2009 Vitezslav Crhonek <vcrhonek@redhat.com> - 1.4.13-4
744367
- Fix errors installing m4 with --excludedocs
744367
  Resolves: #516013
744367
744367
* Wed Aug 12 2009 Ville Skyttä <ville.skytta@iki.fi> - 1.4.13-3
744367
- Use xz compressed upstream tarball.
744367
744367
* Sat Jul 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.4.13-2
744367
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
744367
744367
* Wed May 27 2009 Stepan Kasal <skasal@redhat.com> - 1.4.13-1
744367
- new upstream release
744367
- drop the ununsed Source1: %%{SOURCE0}.sig
744367
- enable %%check again
744367
744367
* Wed Feb 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.4.12-2
744367
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
744367
744367
* Wed Nov  5 2008 Vitezslav Crhonek <vcrhonek@redhat.com> - 1.4.12-1
744367
- Update to m4-1.4.12
744367
  Resolves: #469944
744367
- Merge review
744367
  Resolves: #226115
744367
744367
* Wed Apr 23 2008 Vitezslav Crhonek <vcrhonek@redhat.com> - 1.4.11-1
744367
- Update to m4-1.4.11 (removed vasnprintf patch, it's included in
744367
  upstream source)
744367
  Resolves: #443589
744367
744367
* Mon Feb 11 2008 Vitezslav Crhonek <vcrhonek@redhat.com> - 1.4.10-3
744367
- Fix Buildroot
744367
744367
* Mon Dec 17 2007 Vitezslav Crhonek <vcrhonek@redhat.com> - 1.4.10-2
744367
- Fix vasnprintf puts %%n into a writeable format string in all cases
744367
  Resolves: #345651
744367
744367
* Wed Aug 22 2007 Vitezslav Crhonek <vcrhonek@redhat.com> - 1.4.10-1
744367
- Update to m4-1.4.10
744367
- Fix license to GPL version 3 or later
744367
744367
* Tue Jun  5 2007 Vitezslav Crhonek <vcrhonek@redhat.com> - 1.4.9-1
744367
- Update to m4-1.4.9
744367
744367
* Thu Apr 19 2007 Vitezslav Crhonek <vcrhonek@redhat.com> - 1.4.8-2
744367
- Rebuild
744367
744367
* Sun Nov 26 2006 Miloslav Trmac <mitr@redhat.com> - 1.4.8-1
744367
- Update to m4-1.4.8
744367
744367
* Wed Oct 25 2006 Miloslav Trmac <mitr@redhat.com> - 1.4.7-2
744367
- Drop %%check again.  SIGPIPE is set to SIG_IGN in mock, which breaks the
744367
  sysval test.
744367
744367
* Tue Oct 24 2006 Miloslav Trmac <mitr@redhat.com> - 1.4.7-1
744367
- Update to m4-1.4.7
744367
- Add %%check
744367
- Fix a rpmlint warning about Summary:
744367
744367
* Mon Jul 17 2006 Miloslav Trmac <mitr@redhat.com> - 1.4.5-3
744367
- Use the install-info scriptlets recommended in the Fedora Extras wiki
744367
- Move $RPM_BUILD_ROOT cleaning from %%prep to %%install
744367
744367
* Mon Jul 17 2006 Tomas Mraz <tmraz@redhat.com> - 1.4.5-2
744367
- remove infodir/dir so it isn't included in the package
744367
744367
* Mon Jul 17 2006 Miloslav Trmac <mitr@redhat.com> - 1.4.5-1
744367
- Update to m4-1.4.5
744367
744367
* Wed Jul 12 2006 Jesse Keating <jkeating@redhat.com> - 1.4.4-1.2.2
744367
- rebuild
744367
744367
* Fri Feb 10 2006 Jesse Keating <jkeating@redhat.com> - 1.4.4-1.2.1
744367
- bump again for double-long bug on ppc(64)
744367
744367
* Tue Feb 07 2006 Jesse Keating <jkeating@redhat.com> - 1.4.4-1.2
744367
- rebuilt for new gcc4.1 snapshot and glibc changes
744367
744367
* Fri Dec 09 2005 Jesse Keating <jkeating@redhat.com>
744367
- rebuilt
744367
744367
* Sat Oct 22 2005 Miloslav Trmac <mitr@redhat.com> - 1.4.4-1
744367
- Update to m4-1.4.4
744367
744367
* Sun Sep 18 2005 Miloslav Trmac <mitr@redhat.com> - 1.4.3-2
744367
- Ship COPYING and ChangeLog
744367
744367
* Fri Apr  1 2005 Miloslav Trmac <mitr@redhat.com> - 1.4.3-1
744367
- Update to m4-1.4.3
744367
744367
* Wed Mar 02 2005 Karsten Hopp <karsten@redhat.de> 1.4.2-3
744367
- build with gcc-4
744367
744367
* Sun Feb 27 2005 Florian La Roche <laroche@redhat.com>
744367
- rebuild
744367
744367
* Sun Dec 12 2004 Miloslav Trmac <mitr@redhat.com> - 1.4.2-1
744367
- Update to m4-1.4.2
744367
744367
* Tue Jun 15 2004 Elliot Lee <sopwith@redhat.com>
744367
- rebuilt
744367
744367
* Fri Feb 13 2004 Elliot Lee <sopwith@redhat.com>
744367
- rebuilt
744367
744367
* Wed Jun 04 2003 Elliot Lee <sopwith@redhat.com>
744367
- rebuilt
744367
744367
* Wed Jan 22 2003 Tim Powers <timp@redhat.com>
744367
- rebuilt
744367
744367
* Mon Nov 11 2002 Florian La Roche <Florian.LaRoche@redhat.de>
744367
- add french translation file
744367
744367
* Fri Jun 21 2002 Tim Powers <timp@redhat.com>
744367
- automated rebuild
744367
744367
* Wed Jun 19 2002 Florian La Roche <Florian.LaRoche@redhat.de>
744367
- do not strip apps
744367
744367
* Fri Jun 14 2002 Florian La Roche <Florian.LaRoche@redhat.de>
744367
- rebuild
744367
744367
* Thu May 23 2002 Tim Powers <timp@redhat.com>
744367
- automated rebuild
744367
744367
* Thu Mar 07 2002 Florian La Roche <Florian.LaRoche@redhat.de>
744367
- use _infodir on popular request #47465
744367
744367
* Sat Jan 05 2002 Florian La Roche <Florian.LaRoche@redhat.de>
744367
- add URL tag
744367
- improved spec file
744367
- add hack to update config.guess config.sub
744367
- fix to build with newer autoconf versions
744367
744367
* Sun Jun 24 2001 Elliot Lee <sopwith@redhat.com>
744367
- Bump release + rebuild.
744367
744367
* Tue Feb 13 2001 Florian La Roche <Florian.LaRoche@redhat.de>
744367
- signal patch is not necessary anymore
744367
- fix printf buffer overflow problem
744367
744367
* Wed Jul 12 2000 Prospector <bugzilla@redhat.com>
744367
- automatic rebuild
744367
744367
* Sat Jun 17 2000 Matt Wilson <msw@redhat.com>
744367
- added defattr
744367
744367
* Mon Jun  5 2000 Bernhard Rosenkraenzer <bero@redhat.com>
744367
- FHS compliance
744367
- 1.4.1
744367
- some fixes to spec file
744367
744367
* Sun Mar 21 1999 Cristian Gafton <gafton@redhat.com> 
744367
- auto rebuild in the new build environment (release 12)
744367
744367
* Thu Dec 17 1998 Cristian Gafton <gafton@redhat.com>
744367
- build against glibc 2.1
744367
744367
* Fri Apr 24 1998 Prospector System <bugs@redhat.com>
744367
- translations modified for de, fr, tr
744367
744367
* Fri Apr 10 1998 Cristian Gafton <gafton@redhat.com>
744367
- Manhattan build
744367
744367
* Wed Oct 21 1997 Cristian Gafton <gafton@redhat.com>
744367
- added info file handling and BuildRoot
744367
744367
* Mon Jun 02 1997 Erik Troan <ewt@redhat.com>
744367
- built against glibc
744367