Blame SPECS/make.spec

71dafe
# -*- coding: utf-8 -*-
71dafe
Summary: A GNU tool which simplifies the build process for users
71dafe
Name: make
71dafe
Epoch: 1
71dafe
Version: 3.82
052295
Release: 21%{?dist}
71dafe
License: GPLv2+
71dafe
Group: Development/Tools
71dafe
URL: http://www.gnu.org/software/make/
71dafe
Source: ftp://ftp.gnu.org/gnu/make/make-%{version}.tar.bz2
71dafe
71dafe
Patch1: make-3.82-noclock_gettime.patch
71dafe
Patch2: make-3.82-j8k.patch
71dafe
Patch3: make-3.82-getcwd.patch
71dafe
Patch4: make-3.82-err-reporting.patch
71dafe
71dafe
# Upstream: https://savannah.gnu.org/bugs/?30748
71dafe
Patch6: make-3.82-weird-shell.patch
71dafe
71dafe
Patch7: make-3.82-newlines.patch
71dafe
Patch8: make-3.82-jobserver.patch
71dafe
71dafe
# Upstream: https://savannah.gnu.org/bugs/?30612
71dafe
# Upstream: https://savannah.gnu.org/bugs/?30723
71dafe
Patch9: make-3.82-bugfixes.patch
71dafe
71dafe
Patch10: make-3.82-sort-blank.patch
71dafe
Patch11: make-3.82-copy-on-expand.patch
71dafe
71dafe
# Upstream: https://savannah.gnu.org/bugs/?33873
71dafe
Patch12: make-3.82-parallel-remake.patch
71dafe
71dafe
# http://savannah.gnu.org/bugs/?34335
71dafe
Patch13: make-3.82-warn_undefined_function.patch
71dafe
71dafe
# http://lists.gnu.org/archive/html/bug-make/2011-06/msg00032.html
71dafe
Patch14: make-3.82-trace.patch
71dafe
71dafe
# http://lists.gnu.org/archive/html/bug-make/2011-04/msg00002.html
71dafe
Patch15: make-3.82-expensive_glob.patch
71dafe
71dafe
# Upstream: https://savannah.gnu.org/bugs/?30653
71dafe
Patch16: make-3.82-dont-prune-intermediate.patch
71dafe
71dafe
# https://bugzilla.redhat.com/show_bug.cgi?id=926115
71dafe
Patch17: make-3.82-aarch64.patch
71dafe
71dafe
# Additional fix for https://savannah.gnu.org/bugs/?30612
71dafe
Patch18: make-3.82-empty-members.patch
71dafe
71dafe
# Can't use a stem and a glob in the same dependency.
71dafe
# https://savannah.gnu.org/bugs/?39310
71dafe
# https://bugzilla.redhat.com/show_bug.cgi?id=987672
71dafe
Patch19: make-3.82-stem_glob.patch
71dafe
71dafe
# Stack limit not restored for processes spawned through $(shell)
71dafe
# https://savannah.gnu.org/bugs/index.php?39851
71dafe
Patch20: make-3.82-func_shell-rlimit.patch
71dafe
71dafe
# This to make the test targets/SECONDARY deterministic.  The above
71dafe
# patch causes this to occasionally fail.
71dafe
Patch21: make-3.82-tests-SECONDARY.patch
71dafe
71dafe
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
71dafe
Requires(post): /sbin/install-info
71dafe
Requires(preun): /sbin/install-info
71dafe
BuildRequires: procps
71dafe
71dafe
%description
71dafe
A GNU tool for controlling the generation of executables and other
71dafe
non-source files of a program from the program's source files. Make
71dafe
allows users to build and install packages without any significant
71dafe
knowledge about the details of the build process. The details about
71dafe
how the program should be built are provided for make in the program's
71dafe
makefile.
71dafe
71dafe
%prep
71dafe
%setup -q
71dafe
%patch1 -p1
71dafe
%patch2 -p1
71dafe
%patch3 -p1
71dafe
%patch4 -p1
71dafe
%patch6 -p1
71dafe
%patch7 -p1
71dafe
%patch8 -p1
71dafe
%patch9 -p1
71dafe
%patch10 -p1
71dafe
%patch11 -p1
71dafe
%patch12 -p0
71dafe
%patch13 -p2
71dafe
%patch14 -p1
71dafe
%patch15 -p0
71dafe
%patch16 -p0
71dafe
%patch17 -p1
71dafe
%patch18 -p1
71dafe
%patch19 -p1
71dafe
%patch20 -p1
71dafe
%patch21 -p1
71dafe
71dafe
rm -f tests/scripts/features/parallelism.orig
71dafe
71dafe
%build
71dafe
%configure
71dafe
make %{?_smp_mflags}
71dafe
71dafe
%install
71dafe
rm -rf ${RPM_BUILD_ROOT}
71dafe
make DESTDIR=$RPM_BUILD_ROOT install
71dafe
ln -sf make ${RPM_BUILD_ROOT}/%{_bindir}/gmake
71dafe
ln -sf make.1 ${RPM_BUILD_ROOT}/%{_mandir}/man1/gmake.1
71dafe
rm -f ${RPM_BUILD_ROOT}/%{_infodir}/dir
71dafe
71dafe
%find_lang %name
71dafe
71dafe
%check
71dafe
echo ============TESTING===============
71dafe
/usr/bin/env LANG=C make check
71dafe
echo ============END TESTING===========
71dafe
71dafe
%clean
71dafe
rm -rf ${RPM_BUILD_ROOT}
71dafe
71dafe
%post
71dafe
if [ -f %{_infodir}/make.info.gz ]; then # for --excludedocs
71dafe
   /sbin/install-info %{_infodir}/make.info.gz %{_infodir}/dir --entry="* Make: (make).                 The GNU make utility." || :
71dafe
fi
71dafe
71dafe
%preun
71dafe
if [ $1 = 0 ]; then
71dafe
   if [ -f %{_infodir}/make.info.gz ]; then # for --excludedocs
71dafe
      /sbin/install-info --delete %{_infodir}/make.info.gz %{_infodir}/dir --entry="* Make: (make).                 The GNU make utility." || :
71dafe
   fi
71dafe
fi
71dafe
71dafe
%files  -f %{name}.lang
71dafe
%defattr(-,root,root)
71dafe
%doc NEWS README COPYING AUTHORS
71dafe
%{_bindir}/*
71dafe
%{_mandir}/man*/*
71dafe
%{_infodir}/*.info*
71dafe
71dafe
%changelog
052295
* Fri Jan 24 2014 Daniel Mach <dmach@redhat.com> - 1:3.82-21
052295
- Mass rebuild 2014-01-24
052295
052295
* Fri Dec 27 2013 Daniel Mach <dmach@redhat.com> - 1:3.82-20
052295
- Mass rebuild 2013-12-27
052295
71dafe
* Thu Aug 22 2013 Petr Machata <pmachata@redhat.com> - 1:3.82-19
71dafe
- make now restores rlimit to its original values before launching
71dafe
  subprocess via $(shell) (make-3.82-func_shell-rlimit.patch)
71dafe
- Determinize one test (make-3.82-tests-SECONDARY.patch)
71dafe
71dafe
* Fri Jul 26 2013 Petr Machata <pmachata@redhat.com> - 1:3.82-18
71dafe
- Backport upstream patch that adds wildcard expansion to pattern
71dafe
  rules. (make-3.82-stem_glob.patch)
71dafe
71dafe
* Wed Jun 19 2013 Petr Machata <pmachata@redhat.com> - 1:3.82-17
71dafe
- Add another fix for upstream bug 30612
71dafe
71dafe
* Thu Apr  4 2013 Petr Machata <pmachata@redhat.com> - 1:3.82-16
71dafe
- Update config.sub and config.guess to support aarch64
71dafe
71dafe
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1:3.82-15
71dafe
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
71dafe
71dafe
* Thu Nov 29 2012 Petr Machata <pmachata@redhat.com> - 1:3.82-14
71dafe
- Drop patch5, which hasn't been applied for years
71dafe
71dafe
* Mon Sep 10 2012 Petr Machata <pmachata@redhat.com> - 1:3.82-13
71dafe
- Add fix for upstream bug 30653
71dafe
- Resolves: #835424
71dafe
71dafe
* Fri Jul 27 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1:3.82-12
71dafe
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
71dafe
71dafe
* Tue Mar 13 2012 Petr Machata <pmachata@redhat.com> - 1:3.82-11
71dafe
- Add a patch for avoiding glob if possible by Michael Meeks
71dafe
71dafe
* Mon Mar 12 2012 Petr Machata <pmachata@redhat.com> - 1:3.82-10
71dafe
- Apply the following patches, proposed upstream by Norbert Thiebaud:
71dafe
  - A patch for warning on call of undefined function
71dafe
  - A patch for tracing calls to "eval" and "call"
71dafe
71dafe
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1:3.82-9
71dafe
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
71dafe
71dafe
* Thu Nov  3 2011 Petr Machata <pmachata@redhat.com> - 1:3.82-8
71dafe
- Add a patch for preserving -j across Makefile rebuild
71dafe
- Resolves: #698702
71dafe
71dafe
* Wed Oct 26 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1:3.82-7
71dafe
- Rebuilt for glibc bug#747377
71dafe
71dafe
* Tue May 12 2011 Lubomir Rintel <lkundrak@v3.sk> - 1:3.82-6
71dafe
- Fix free-after-use with nested assignments (#703104)
71dafe
71dafe
* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1:3.82-5
71dafe
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
71dafe
71dafe
* Wed Oct 27 2010 Petr Machata <pmachata@redhat.com> - 1:3.82-4
71dafe
- Fix a discrepancy between behavior of find_next_token and
71dafe
  pre-allocation of token memory in func_sort.
71dafe
- Resolves: #643359
71dafe
71dafe
* Wed Sep 29 2010 jkeating - 1:3.82-3
71dafe
- Rebuilt for gcc bug 634757
71dafe
71dafe
* Mon Sep 13 2010 Petr Machata <pmachata@redhat.com> - 1:3.82-2
71dafe
- Add upstream fixes for upstream bugs 30612 and 30723
71dafe
- Resolves: #631552
71dafe
71dafe
* Wed Aug 11 2010 Petr Machata <pmachata@redhat.com> - 1:3.82-1
71dafe
- Upstream 3.82:
71dafe
  - Drop rlimit, fdleak, strcpy-overlap, recursion-test, double-free
71dafe
    patches, make supports this functionality now
71dafe
  - Disable the memory patch for the time being
71dafe
  - Port remaining patches
71dafe
  - Add weird-shell patch, upstream bug 30748
71dafe
- Resolves: #618998
71dafe
71dafe
* Wed Aug 11 2010 Petr Machata <pmachata@redhat.com> - 1:3.81-21
71dafe
- Add BR procps
71dafe
- Resolves: #616813
71dafe
71dafe
* Thu Jul  1 2010 Petr Machata <pmachata@redhat.com> - 1:3.81-20
71dafe
- Add a patch by Steve Kemp @debian that might fix the double free
71dafe
  problem.
71dafe
- Related: #609806
71dafe
71dafe
* Fri Jun  4 2010 Petr Machata <pmachata@redhat.com> - 1:3.81-19
71dafe
- Fix testsuite on F13
71dafe
- Resolves: #600004
71dafe
71dafe
* Tue Aug 11 2009 Petr Machata <pmachata@redhat.com> - 1:3.81-18
71dafe
- Fix installation with --excludedocs
71dafe
- Resolves: #515917
71dafe
71dafe
* Fri Jul 31 2009 Petr Machata <pmachata@redhat.com> - 1:3.81-17
71dafe
- Replace the use of strcpy on overlapping areas with memmove
71dafe
- Resolves: #514721
71dafe
71dafe
* Sat Jul 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1:3.81-16
71dafe
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
71dafe
71dafe
* Wed Feb 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1:3.81-15
71dafe
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
71dafe
71dafe
* Mon Sep 22 2008 Petr Machata <pmachata@redhat.com> - 1:3.81-14
71dafe
- Fix patches to apply cleanly with fuzz=0
71dafe
71dafe
* Tue Sep 16 2008 Petr Machata <pmachata@redhat.com> - 1:3.81-13
71dafe
- Mark opened files as cloexec to prevent their leaking through fork
71dafe
- Resolves: #462090
71dafe
71dafe
* Tue Mar 25 2008 Petr Machata <pmachata@redhat.com> - 1:3.81-12
71dafe
- Fix the rlimit patch.  The success flag is kept in memory shared
71dafe
  with parent process after vfork, and so cannot be reset.
71dafe
- Related: #214033
71dafe
71dafe
* Tue Feb 19 2008 Fedora Release Engineering <rel-eng@fedoraproject.org> - 1:3.81-11
71dafe
- Autorebuild for GCC 4.3
71dafe
71dafe
* Thu Oct  4 2007 Petr Machata <pmachata@redhat.com> - 1:3.81-10
71dafe
- Fix parallel builds with reexec.
71dafe
- Related: #212111, #211290
71dafe
71dafe
* Thu Oct  4 2007 Petr Machata <pmachata@redhat.com> - 1:3.81-8
71dafe
- Cleaned up per merge review.
71dafe
- Related: #226120
71dafe
71dafe
* Thu Aug 16 2007 Petr Machata <pmachata@redhat.com> - 1:3.81-7
71dafe
- Fix licensing tag.
71dafe
71dafe
* Fri Mar 16 2007 Petr Machata <pmachata@redhat.com> - 1:3.81-6
71dafe
- Always run testsuite with C locale.
71dafe
- Resolves: #232607
71dafe
71dafe
* Thu Feb 22 2007 Petr Machata <pmachata@redhat.com> - 1:3.81-5
71dafe
- Fix newline handling for quoted SHELL.
71dafe
- Resolves: #219409
71dafe
71dafe
* Fri Feb  2 2007 Petr Machata <pmachata@redhat.com> - 1:3.81-4
71dafe
- Tidy up the specfile per rpmlint comments
71dafe
- Use utf-8 and fix national characters in contributor's names
71dafe
71dafe
* Thu Jan 25 2007 Petr Machata <pmachata@redhat.com> - 1:3.81-3
71dafe
- Ville Skyttä: patch for non-failing %%post, %%preun
71dafe
- Resolves: #223709
71dafe
71dafe
* Thu Jan 25 2007 Petr Machata <pmachata@redhat.com> - 1:3.81-2
71dafe
- make now restores rlimit to its original values before launching
71dafe
  subprocess (#214033)
71dafe
71dafe
* Wed Jul 12 2006 Jesse Keating <jkeating@redhat.com> - 1:3.81-1.1
71dafe
- rebuild
71dafe
71dafe
* Tue May 23 2006 Petr Machata <pmachata@redhat.com> - 1:3.81-1
71dafe
- Upstream 3.81:
71dafe
  - Contains several backwards incompatible changes.  See NEWS inside
71dafe
    the source package to find out more.
71dafe
- memory patch and error reporting patch were ported to this version.
71dafe
71dafe
* Wed Mar 15 2006 Petr Machata <pmachata@redhat.com> 1:3.80-11
71dafe
- Applied (five years old) patch from Jonathan Kamens to allow make to
71dafe
  handle several pattern-specific variables (#52962).
71dafe
71dafe
  The patch was changed so that it forces make to process pattern
71dafe
  specific variables in the same order as they appear in file.
71dafe
  (Upstream make behaves this way, too.)  This is change from old make
71dafe
  behavior, which processed the variables in reverse order.  In case
71dafe
  you used only x=a assignments, this had the effect of using the
71dafe
  first pattern specific variable that matched.  For x+=a this just
71dafe
  doesn't work, and it produces absolutely nonintuitive results.
71dafe
71dafe
- (It would be great if make's target-specific variables were handled
71dafe
  the same way as pattern-specific ones, just without the pattern
71dafe
  component.  However current handling is documented and considered a
71dafe
  feature.)
71dafe
71dafe
* Fri Feb 10 2006 Jesse Keating <jkeating@redhat.com> - 1:3.80-10.2
71dafe
- bump again for double-long bug on ppc(64)
71dafe
71dafe
* Tue Feb 07 2006 Jesse Keating <jkeating@redhat.com> - 1:3.80-10.1
71dafe
- rebuilt for new gcc4.1 snapshot and glibc changes
71dafe
71dafe
* Mon Feb 02 2006 Petr Machata <pmachata@redhat.com> 3.80-10
71dafe
- H.J. Lu caught a typo in the patch and provided a new one. (#175376)
71dafe
71dafe
* Mon Jan 09 2006 Petr Machata <pmachata@redhat.com> 3.80-9
71dafe
- Applied patch from H.J. Lu.  Somehow reduces make's enormous memory
71dafe
  consumption. (#175376)
71dafe
71dafe
* Fri Dec 09 2005 Jesse Keating <jkeating@redhat.com>
71dafe
- rebuilt
71dafe
71dafe
* Mon Aug 22 2005 Jakub Jelinek <jakub@redhat.com> 3.80-8
71dafe
- make sure errno for error reporting is not lost accross _() calls
71dafe
- report EOF on read pipe differently from read returning < 0 reporting
71dafe
71dafe
* Mon Mar  7 2005 Jakub Jelinek <jakub@redhat.com> 3.80-7
71dafe
- rebuilt with GCC 4
71dafe
71dafe
* Mon Dec 13 2004 Jakub Jelinek <jakub@redhat.com> 3.80-6
71dafe
- refuse -jN where N is bigger than PIPE_BUF (#142691, #17374)
71dafe
71dafe
* Thu Oct  7 2004 Jakub Jelinek <jakub@redhat.com> 3.80-5
71dafe
- add URL rpm tag (#134799)
71dafe
71dafe
* Tue Jun 15 2004 Elliot Lee <sopwith@redhat.com>
71dafe
- rebuilt
71dafe
71dafe
* Fri Feb 13 2004 Elliot Lee <sopwith@redhat.com>
71dafe
- rebuilt
71dafe
71dafe
* Tue Dec 02 2003 Florian La Roche <Florian.LaRoche@redhat.de>
71dafe
- add important bug-fixes from make home-page
71dafe
71dafe
* Sun Nov 30 2003 Florian La Roche <Florian.LaRoche@redhat.de>
71dafe
- update to 3.80
71dafe
71dafe
* Wed Jun 04 2003 Elliot Lee <sopwith@redhat.com>
71dafe
- rebuilt
71dafe
71dafe
* Wed Jan 22 2003 Tim Powers <timp@redhat.com>
71dafe
- rebuilt
71dafe
71dafe
* Sun Dec 29 2002 Tim Powers <timp@redhat.com>
71dafe
- fix references to %%install in the changelog so that the package will build
71dafe
71dafe
* Tue Dec 03 2002 Elliot Lee <sopwith@redhat.com> 3.79.1-15
71dafe
- _smp_mflags
71dafe
- Fix ppc build (sys_siglist issues in patch2)
71dafe
71dafe
* Fri Jun 21 2002 Tim Powers <timp@redhat.com>
71dafe
- automated rebuild
71dafe
71dafe
* Thu May 23 2002 Tim Powers <timp@redhat.com>
71dafe
- automated rebuild
71dafe
71dafe
* Thu May 23 2002 Jakub Jelinek <jakub@redhat.com>
71dafe
- Run make check during build
71dafe
71dafe
* Thu May 23 2002 Bernhard Rosenkraenzer <bero@redhat.com>
71dafe
- Fix build with current auto* tools
71dafe
71dafe
* Fri Jan 25 2002 Jakub Jelinek <jakub@redhat.com>
71dafe
- rebuilt with gcc 3.1
71dafe
71dafe
* Fri Jul  6 2001 Trond Eivind Glomsrød <teg@redhat.com>
71dafe
- s/Copyright/License/
71dafe
- langify
71dafe
- Make sure it isn't setgid if built as root
71dafe
71dafe
* Sun Jun 24 2001 Elliot Lee <sopwith@redhat.com>
71dafe
- Bump release + rebuild.
71dafe
71dafe
* Mon Aug  7 2000 Tim Waugh <twaugh@redhat.com>
71dafe
- change info-dir entry so that 'info make' works (#15029).
71dafe
71dafe
* Tue Aug  1 2000 Jakub Jelinek <jakub@redhat.com>
71dafe
- assume we don't have clock_gettime in configure, so that
71dafe
  make is not linked against -lpthread (and thus does not
71dafe
  limit stack to 2MB).
71dafe
71dafe
* Sat Jul 22 2000 Jeff Johnson <jbj@redhat.com>
71dafe
- add locale files (#14362).
71dafe
71dafe
* Wed Jul 12 2000 Prospector <bugzilla@redhat.com>
71dafe
- automatic rebuild
71dafe
71dafe
* Sat Jun 24 2000 Preston Brown <pbrown@redhat.com>
71dafe
- 3.79.1 bugfix release
71dafe
71dafe
* Mon Jun  5 2000 Jeff Johnson <jbj@redhat.com>
71dafe
- FHS packaging.
71dafe
71dafe
* Sun May  7 2000 Bernhard Rosenkraenzer <bero@redhat.com>
71dafe
- Fix build for some odd situations, such as
71dafe
  - previously installed make != GNU make
71dafe
  - /bin/sh != bash
71dafe
71dafe
* Mon Apr 17 2000 Florian La Roche <Florian.LaRoche@redhat.com>
71dafe
- update to 3.79
71dafe
71dafe
* Thu Feb 24 2000 Cristian Gafton <gafton@redhat.com>
71dafe
- add patch from Andreas Jaeger to fix dtype lookups (for glibc 2.1.3
71dafe
  builds)
71dafe
71dafe
* Mon Feb  7 2000 Jeff Johnson <jbj@redhat.com>
71dafe
- compress man page.
71dafe
71dafe
* Fri Jan 21 2000 Cristian Gafton <gafton@redhat.com>
71dafe
- apply patch to fix a /tmp race condition from Thomas Biege
71dafe
- simplify %%install
71dafe
71dafe
* Sat Nov 27 1999 Jeff Johnson <jbj@redhat.com>
71dafe
- update to 3.78.1.
71dafe
71dafe
* Thu Apr 15 1999 Bill Nottingham <notting@redhat.com>
71dafe
- added a serial tag so it upgrades right
71dafe
71dafe
* Sun Mar 21 1999 Cristian Gafton <gafton@redhat.com> 
71dafe
- auto rebuild in the new build environment (release 5)
71dafe
71dafe
* Wed Sep 16 1998 Cristian Gafton <gafton@redhat.com>
71dafe
- added a patch for large file support in glob
71dafe
 
71dafe
* Tue Aug 18 1998 Jeff Johnson <jbj@redhat.com>
71dafe
- update to 3.77
71dafe
71dafe
* Mon Apr 27 1998 Prospector System <bugs@redhat.com>
71dafe
- translations modified for de, fr, tr
71dafe
71dafe
* Thu Oct 16 1997 Donnie Barnes <djb@redhat.com>
71dafe
- udpated from 3.75 to 3.76
71dafe
- various spec file cleanups
71dafe
- added install-info support
71dafe
71dafe
* Mon Jun 02 1997 Erik Troan <ewt@redhat.com>
71dafe
- built against glibc