Blame SPECS/make.spec

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