Merged update from upstream sources

This is an automated DistroBaker update from upstream sources.
If you do not know what this is about or would like to opt out,
contact the OSCI team.

Source: https://src.fedoraproject.org/rpms/make.git#132999a69269c4e9d5afd0456944503126443da3
This commit is contained in:
DistroBaker 2021-02-19 20:40:20 +00:00
parent 0a442a4fb3
commit ee5bfad2d8

View File

@ -3,11 +3,19 @@ Summary: A GNU tool which simplifies the build process for users
Name: make Name: make
Epoch: 1 Epoch: 1
Version: 4.3 Version: 4.3
Release: 4%{?dist} Release: 5%{?dist}
License: GPLv3+ License: GPLv3+
URL: http://www.gnu.org/software/make/ URL: http://www.gnu.org/software/make/
Source: ftp://ftp.gnu.org/gnu/make/make-%{version}.tar.gz Source: ftp://ftp.gnu.org/gnu/make/make-%{version}.tar.gz
%if 0%{?rhel} > 0
# This gives the user the option of saying --with guile, but defaults to WITHOUT
%bcond_with guile
%else
# This gives the user the option of saying --without guile, but defaults to WITH
%bcond_without guile
%endif
Patch0: make-4.3-getcwd.patch Patch0: make-4.3-getcwd.patch
# Assume we don't have clock_gettime in configure, so that # Assume we don't have clock_gettime in configure, so that
@ -28,7 +36,9 @@ BuildRequires: make
BuildRequires: autoconf, automake, gettext-devel BuildRequires: autoconf, automake, gettext-devel
BuildRequires: procps BuildRequires: procps
BuildRequires: perl-interpreter BuildRequires: perl-interpreter
%if %{with guile}
BuildRequires: pkgconfig(guile-2.2) BuildRequires: pkgconfig(guile-2.2)
%endif
BuildRequires: gcc BuildRequires: gcc
%description %description
@ -53,7 +63,13 @@ rm -f tests/scripts/features/parallelism.orig
%build %build
autoreconf -vfi autoreconf -vfi
%configure --with-guile %configure \
%if %{with guile}
--with-guile
%else
--without-guile
%endif
%make_build %make_build
%install %install
@ -81,6 +97,10 @@ echo ============END TESTING===========
%{_includedir}/gnumake.h %{_includedir}/gnumake.h
%changelog %changelog
* Fri Feb 19 2021 DJ Delorie <dj@redhat.com> - 1:4.3-5
- Allow users to build with or without guile support as desired.
- Allow derivative downstreams to default to disabling guile support.
* Tue Jan 26 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1:4.3-4 * Tue Jan 26 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1:4.3-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild