use %make_build instead of make for building bootstrap

This commit is contained in:
chenyanpanHW 2020-12-09 14:48:37 +08:00
parent 4398114694
commit 1b5f994a07

View File

@ -4,7 +4,7 @@
Name: emacs Name: emacs
Epoch: 1 Epoch: 1
Version: 27.1 Version: 27.1
Release: 4 Release: 5
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
@ -164,7 +164,7 @@ LDFLAGS="-Wl,-z,relro,-z,now -pie"; export LDFLAGS;
--with-tiff --with-xft --with-xpm --with-x-toolkit=gtk3 --with-gpm=no \ --with-tiff --with-xft --with-xpm --with-x-toolkit=gtk3 --with-gpm=no \
--with-harfbuzz --with-cairo --with-json \ --with-harfbuzz --with-cairo --with-json \
--with-xwidgets --with-modules --without-libotf --without-m17n-flt --without-imagemagick --with-xwidgets --with-modules --without-libotf --without-m17n-flt --without-imagemagick
make bootstrap %make_build bootstrap
%{setarch} %make_build %{setarch} %make_build
cd .. cd ..
@ -178,7 +178,7 @@ LDFLAGS="-Wl,-z,relro,-z,now -pie"; export LDFLAGS;
--with-tiff --with-xft --with-xpm --with-x-toolkit=lucid --with-gpm=no \ --with-tiff --with-xft --with-xpm --with-x-toolkit=lucid --with-gpm=no \
--with-harfbuzz --with-cairo --with-json \ --with-harfbuzz --with-cairo --with-json \
--with-modules --without-libotf --without-m17n-flt --without-imagemagick --with-modules --without-libotf --without-m17n-flt --without-imagemagick
make bootstrap %make_build bootstrap
%{setarch} %make_build %{setarch} %make_build
cd .. cd ..
%endif %endif
@ -398,6 +398,10 @@ fi
%{_infodir}/* %{_infodir}/*
%changelog %changelog
* Wed Dec 09 2020 chenyanpan <chenyanpan@huawei.com> - 1:27.1-5
- Type: improvement
- DESC: use %make_build instead of make for building bootstrap
* Wed Dec 16 2020 jinzhimin <jinzhimin2@huawei.com> - 1:27.1-4 * Wed Dec 16 2020 jinzhimin <jinzhimin2@huawei.com> - 1:27.1-4
- remove unnecessary patch - remove unnecessary patch