Blame SPECS/make.spec

bbe682
# -*- coding: utf-8 -*-
bbe682
%global __python /usr/bin/python3
bbe682
%{?scl:%{?scl_package:%scl_package make}}
bbe682
Summary: A GNU tool which simplifies the build process for users
bbe682
Name: %{?scl_prefix}make
bbe682
Epoch: 1
bbe682
Version: 4.3
bbe682
Release: 2%{?dist}
bbe682
License: GPLv3+
bbe682
URL: http://www.gnu.org/software/make/
bbe682
Source: ftp://ftp.gnu.org/gnu/make/make-%{version}.tar.gz
bbe682
bbe682
%if 0%{?rhel} > 0
bbe682
# This gives the user the option of saying --with guile, but defaults to WITHOUT
bbe682
%bcond_with guile
bbe682
%else
bbe682
# This gives the user the option of saying --without guile, but defaults to WITH
bbe682
%bcond_without guile
bbe682
%endif
bbe682
bbe682
Patch0: make-4.3-getcwd.patch
bbe682
bbe682
# Assume we don't have clock_gettime in configure, so that
bbe682
# make is not linked against -lpthread (and thus does not
bbe682
# limit stack to 2MB).
bbe682
Patch1: make-4.0-noclock_gettime.patch
bbe682
bbe682
# BZs #142691, #17374
bbe682
Patch2: make-4.3-j8k.patch
bbe682
bbe682
# https://bugzilla.redhat.com/show_bug.cgi?id=1827850
bbe682
# https://savannah.gnu.org/bugs/?58232
bbe682
# Remove on next make rebase
bbe682
Patch3: make-4.3-cloexec.patch
bbe682
bbe682
# autoreconf
bbe682
BuildRequires: make
bbe682
BuildRequires: autoconf, automake, gettext-devel
bbe682
BuildRequires: procps
bbe682
BuildRequires: perl-interpreter
bbe682
%if %{with guile}
bbe682
BuildRequires: pkgconfig(guile-2.2)
bbe682
%endif
bbe682
BuildRequires: gcc
bbe682
bbe682
%description
bbe682
A GNU tool for controlling the generation of executables and other
bbe682
non-source files of a program from the program's source files. Make
bbe682
allows users to build and install packages without any significant
bbe682
knowledge about the details of the build process. The details about
bbe682
how the program should be built are provided for make in the program's
bbe682
makefile.
bbe682
bbe682
%package devel
bbe682
Summary: Header file for externally visible definitions
bbe682
bbe682
%description devel
bbe682
The make-devel package contains gnumake.h.
bbe682
bbe682
%prep
bbe682
%autosetup -p1 -n make-%{version}
bbe682
bbe682
rm -f tests/scripts/features/parallelism.orig
bbe682
bbe682
%build
bbe682
bbe682
%configure \
bbe682
%if %{with guile}
bbe682
    --with-guile
bbe682
%else
bbe682
    --without-guile
bbe682
%endif
bbe682
bbe682
%make_build
bbe682
bbe682
%install
bbe682
%make_install
bbe682
ln -sf make ${RPM_BUILD_ROOT}/%{_bindir}/gmake
bbe682
ln -sf make.1 ${RPM_BUILD_ROOT}/%{_mandir}/man1/gmake.1
bbe682
rm -f ${RPM_BUILD_ROOT}/%{_infodir}/dir
bbe682
bbe682
%find_lang make
bbe682
bbe682
%check
bbe682
echo ============TESTING===============
bbe682
/usr/bin/env LANG=C make check && true
bbe682
echo ============END TESTING===========
bbe682
bbe682
%files  -f make.lang
bbe682
%license COPYING
bbe682
%doc NEWS README AUTHORS
bbe682
%{_bindir}/*
bbe682
%{_mandir}/man*/*
bbe682
%{_infodir}/*.info*
bbe682
%{_includedir}/gnumake.h
bbe682
bbe682
%files devel
bbe682
%{_includedir}/gnumake.h
bbe682
bbe682
%changelog
bbe682
* Mon Jun 21 2021 Martin Cermak <mcermak@redhat.com> - 1:4.3-2
bbe682
- CI gating related NVR bump and rebuild
bbe682
bbe682
* Thu Jun 10 2021 DJ Delorie <dj@redhat.com> - 1:4.3-1
bbe682
- Initial sources for DTS 11 (#1958351)