From 02c721fa8c26f404bd9a0bc7a025021b3f0b4333 Mon Sep 17 00:00:00 2001 From: compile_success <980965867@qq.com> Date: Thu, 25 Aug 2022 13:58:07 +0000 Subject: [PATCH] close lucid subpackage with product_family --- emacs.spec | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/emacs.spec b/emacs.spec index fcc02af..7271a93 100644 --- a/emacs.spec +++ b/emacs.spec @@ -1,10 +1,14 @@ %global _hardened_build 1 %bcond_with bootstrap +%if "0%{?product_family}" != "0" +%bcond_without bootstrap +%endif + Name: emacs Epoch: 1 Version: 27.2 -Release: 4 +Release: 5 Summary: An extensible GNU text editor License: GPLv3+ and CC0-1.0 URL: http://www.gnu.org/software/emacs @@ -155,7 +159,6 @@ ln -s ../../%{name}/%{version}/etc/NEWS doc %build export CFLAGS="-DMAIL_USE_LOCKF $RPM_OPT_FLAGS -fPIE" -%if !%{with bootstrap} # Build GTK+ binary mkdir build-gtk && cd build-gtk ln -s ../configure . @@ -171,6 +174,7 @@ LDFLAGS="-Wl,-z,relro,-z,now -pie"; export LDFLAGS; cd .. # Build Lucid binary +%if !%{with bootstrap} mkdir build-lucid && cd build-lucid ln -s ../configure . @@ -399,6 +403,9 @@ fi %{_mandir}/*/* %changelog +* Thu Aug 25 2022 zhujunhao - 1:27.2-5 +- close bootstrap with product_family + * Mon Jan 17 2022 liuyumeng - 1:27.2-4 - round self-developed patch