close lucid subpackage with product_family
This commit is contained in:
parent
0bcc37fc1b
commit
06c0732f78
11
emacs.spec
11
emacs.spec
@ -1,10 +1,14 @@
|
|||||||
%global _hardened_build 1
|
%global _hardened_build 1
|
||||||
%bcond_with bootstrap
|
%bcond_with bootstrap
|
||||||
|
|
||||||
|
%if "0%{?product_family}" != "0"
|
||||||
|
%bcond_without bootstrap
|
||||||
|
%endif
|
||||||
|
|
||||||
Name: emacs
|
Name: emacs
|
||||||
Epoch: 1
|
Epoch: 1
|
||||||
Version: 27.2
|
Version: 27.2
|
||||||
Release: 5
|
Release: 6
|
||||||
Summary: An extensible GNU text editor
|
Summary: An extensible GNU text editor
|
||||||
License: GPLv3+ and CC0-1.0
|
License: GPLv3+ and CC0-1.0
|
||||||
URL: http://www.gnu.org/software/emacs
|
URL: http://www.gnu.org/software/emacs
|
||||||
@ -155,7 +159,6 @@ ln -s ../../%{name}/%{version}/etc/NEWS doc
|
|||||||
%build
|
%build
|
||||||
export CFLAGS="-DMAIL_USE_LOCKF $RPM_OPT_FLAGS -fPIE"
|
export CFLAGS="-DMAIL_USE_LOCKF $RPM_OPT_FLAGS -fPIE"
|
||||||
|
|
||||||
%if !%{with bootstrap}
|
|
||||||
# Build GTK+ binary
|
# Build GTK+ binary
|
||||||
mkdir build-gtk && cd build-gtk
|
mkdir build-gtk && cd build-gtk
|
||||||
ln -s ../configure .
|
ln -s ../configure .
|
||||||
@ -171,6 +174,7 @@ LDFLAGS="-Wl,-z,relro,-z,now -pie"; export LDFLAGS;
|
|||||||
cd ..
|
cd ..
|
||||||
|
|
||||||
# Build Lucid binary
|
# Build Lucid binary
|
||||||
|
%if !%{with bootstrap}
|
||||||
mkdir build-lucid && cd build-lucid
|
mkdir build-lucid && cd build-lucid
|
||||||
ln -s ../configure .
|
ln -s ../configure .
|
||||||
|
|
||||||
@ -399,6 +403,9 @@ fi
|
|||||||
%{_mandir}/*/*
|
%{_mandir}/*/*
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Fri Aug 26 2022 zhujunhao <zhujunhao11@huawei.com> - 1:27.2-6
|
||||||
|
- close bootstrap with product_family
|
||||||
|
|
||||||
* Sat Jun 11 2022 wangkeorng <wangkeorng@huawei.com> - 1:27.2-5
|
* Sat Jun 11 2022 wangkeorng <wangkeorng@huawei.com> - 1:27.2-5
|
||||||
- delete macro in changelog
|
- delete macro in changelog
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user