Blame SPECS/make.spec

595530
# -*- coding: utf-8 -*-
595530
%global __python /usr/bin/python3
595530
%{?scl:%{?scl_package:%scl_package ltrace}}
595530
595530
Summary: A GNU tool which simplifies the build process for users
595530
Name: %{?scl_prefix}make
595530
Epoch: 1
595530
Version: 4.2.1
595530
Release: 1%{?dist}
595530
License: GPLv3+
595530
URL: http://www.gnu.org/software/make/
595530
Source: ftp://ftp.gnu.org/gnu/make/make-%{version}.tar.bz2
595530
595530
Patch0: make-4.2-getcwd.patch
595530
Patch1: make-4.0-newlines.patch
595530
595530
# Assume we don't have clock_gettime in configure, so that
595530
# make is not linked against -lpthread (and thus does not
595530
# limit stack to 2MB).
595530
Patch2: make-4.0-noclock_gettime.patch
595530
595530
# BZs #142691, #17374
595530
Patch3: make-4.2-j8k.patch
595530
595530
# Upstream: https://savannah.gnu.org/bugs/?30748
595530
# The default value of .SHELL_FLAGS is -c.
595530
Patch4: make-4.0-weird-shell.patch
595530
595530
# Upstream patch: https://git.savannah.gnu.org/cgit/make.git/patch/?id=193f1e81edd6b1b56b0eb0ff8aa4b41c7b4257b4
595530
# Fixes wrong assumptions of glibc's glob internals.
595530
Patch5: make-4.2.1-glob-fix-2.patch
595530
# Upstream patch: https://git.savannah.gnu.org/cgit/make.git/patch/?id=48c8a116a914a325a0497721f5d8b58d5bba34d4
595530
# Fixes incorrect use of glibc 2.27 glob internals.
595530
Patch6: make-4.2.1-glob-fix.patch
595530
Patch7: make-4.2.1-glob-fix-3.patch
595530
595530
# Perl 5.26 removed the implicit CWD in @INC.
595530
Patch8: make-4.2.1-test-driver.patch
595530
595530
# Upstream patch: https://git.savannah.gnu.org/cgit/make.git/commit/?id=fbf71ec25a5986d9003ac16ee9e23675feac9053
595530
# Adds support of guile 2.2
595530
Patch9: 0001-configure.ac-SV-50648-Detect-Guile-2.2-packages.patch
595530
595530
# Upstream patch: https://git.savannah.gnu.org/cgit/make.git/commit/?id=b552b05251980f693c729e251f93f5225b400714
595530
# Avoids hangs in parallel builds
595530
Patch10: make-4.2.1-nonblocking-reads.patch
595530
595530
# autoreconf
595530
BuildRequires: autoconf, automake, gettext-devel
595530
BuildRequires: procps
595530
BuildRequires: perl-interpreter
595530
BuildRequires: gcc
595530
595530
%description
595530
A GNU tool for controlling the generation of executables and other
595530
non-source files of a program from the program's source files. Make
595530
allows users to build and install packages without any significant
595530
knowledge about the details of the build process. The details about
595530
how the program should be built are provided for make in the program's
595530
makefile.
595530
595530
%package devel
595530
Summary: Header file for externally visible definitions
595530
595530
%description devel
595530
The make-devel package contains gnumake.h.
595530
595530
%prep
595530
%autosetup -p1 -n make-%{version}
595530
595530
rm -f tests/scripts/features/parallelism.orig
595530
595530
%build
595530
autoreconf -vfi
595530
595530
%configure
595530
%make_build
595530
595530
%install
595530
%make_install
595530
ln -sf make ${RPM_BUILD_ROOT}/%{_bindir}/gmake
595530
ln -sf make.1 ${RPM_BUILD_ROOT}/%{_mandir}/man1/gmake.1
595530
rm -f ${RPM_BUILD_ROOT}/%{_infodir}/dir
595530
595530
%find_lang make
595530
595530
%check
595530
echo ============TESTING===============
595530
/usr/bin/env LANG=C make -k check && true
595530
echo ============END TESTING===========
595530
595530
%files  -f make.lang
595530
%license COPYING
595530
%doc NEWS README AUTHORS
595530
%{_bindir}/*
595530
%{_mandir}/man*/*
595530
%{_infodir}/*.info*
595530
%{_includedir}/gnumake.h
595530
595530
%files devel
595530
%{_includedir}/gnumake.h
595530
595530
%changelog
595530
* Wed May 27 2020 DJ Delorie <dj@redhat.com> - 1:4.2.1-1
595530
- Initial sources (#1818987)
595530