From 3d6c5cbbe76860ea4f3541d59be96cec30094619 Mon Sep 17 00:00:00 2001 From: Funda Wang Date: Wed, 12 Mar 2025 02:28:58 +0800 Subject: [PATCH] Disable guile support by default --- make.spec | 46 +++++++++++++++++++++++----------------------- make.yaml | 2 +- 2 files changed, 24 insertions(+), 24 deletions(-) diff --git a/make.spec b/make.spec index 097651b..11b54db 100644 --- a/make.spec +++ b/make.spec @@ -1,16 +1,19 @@ +%bcond_with guile + Name: make -Epoch: 1 +Epoch: 1 Version: 4.4.1 -Release: 2 +Release: 3 Summary: A tool which controls the generation of executables and non-source files of a program -License: GPLv3+ -URL: http://www.gnu.org/software/make/ -Source0: http://ftp.gnu.org/gnu/%{name}/%{name}-%{version}.tar.gz +License: GPL-3.0-or-later +URL: https://www.gnu.org/software/make/ +Source0: https://ftp.gnu.org/gnu/%{name}/%{name}-%{version}.tar.gz BuildRequires: gcc git autoconf automake procps -BuildRequires: guile-devel perl-interpreter make -Requires(post): /sbin/install-info -Requires(preun): /sbin/install-info +BuildRequires: perl-interpreter make +%if %{with guile} +BuildRequires: guile-devel +%endif Provides: %{name}-devel = %{epoch}:%{version}-%{release} Obsoletes: %{name}-devel < %{epoch}:%{version}-%{release} @@ -31,7 +34,12 @@ for it, so that it is possible to use Make to build and install the program. %build touch configure aclocal.m4 Makefile.in -%configure --with-guile +%configure \ +%if %{with guile} + --with-guile +%else + --without-guile +%endif %make_build %install @@ -57,21 +65,9 @@ else } fi -%post -if [ -f %{_infodir}/make.info.gz ]; then - /sbin/install-info %{_infodir}/make.info.gz %{_infodir}/dir --entry="* Make: (make). The GNU make utility." || : -fi - -%preun -if [ $1 = 0 ]; then - if [ -f %{_infodir}/make.info.gz ]; then - /sbin/install-info --delete %{_infodir}/make.info.gz %{_infodir}/dir --entry="* Make: (make). The GNU make utility." || : - fi -fi - %files -f %{name}.lang -%license COPYING AUTHORS -%doc README +%license COPYING +%doc README AUTHORS %{_bindir}/* %{_includedir}/* @@ -81,6 +77,10 @@ fi %{_infodir}/* %changelog +* Wed Mar 12 2025 Funda Wang - 1:4.4.1-3 +- Disable guile support by default +- drop useless post and preun scriptlets + * Sun Jan 26 2025 fuanan - 1:4.4.1-2 - Obsolete useless devel package diff --git a/make.yaml b/make.yaml index a861b81..2605b7f 100644 --- a/make.yaml +++ b/make.yaml @@ -1,4 +1,4 @@ version_control: git src_repo: https://git.savannah.gnu.org/git/make.git tag_prefix: -seperator: +separator: -- Gitee