From ee5bfad2d8501624f9b34513702979d53b03b22a Mon Sep 17 00:00:00 2001 From: DistroBaker Date: Fri, 19 Feb 2021 20:40:20 +0000 Subject: [PATCH] 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 --- make.spec | 24 ++++++++++++++++++++++-- 1 file changed, 22 insertions(+), 2 deletions(-) diff --git a/make.spec b/make.spec index ef2c4cf..23b35e0 100644 --- a/make.spec +++ b/make.spec @@ -3,11 +3,19 @@ Summary: A GNU tool which simplifies the build process for users Name: make Epoch: 1 Version: 4.3 -Release: 4%{?dist} +Release: 5%{?dist} License: GPLv3+ URL: http://www.gnu.org/software/make/ 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 # Assume we don't have clock_gettime in configure, so that @@ -28,7 +36,9 @@ BuildRequires: make BuildRequires: autoconf, automake, gettext-devel BuildRequires: procps BuildRequires: perl-interpreter +%if %{with guile} BuildRequires: pkgconfig(guile-2.2) +%endif BuildRequires: gcc %description @@ -53,7 +63,13 @@ rm -f tests/scripts/features/parallelism.orig %build autoreconf -vfi -%configure --with-guile +%configure \ +%if %{with guile} + --with-guile +%else + --without-guile +%endif + %make_build %install @@ -81,6 +97,10 @@ echo ============END TESTING=========== %{_includedir}/gnumake.h %changelog +* Fri Feb 19 2021 DJ Delorie - 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 - 1:4.3-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild