Replace plain make with %%make_build

This commit is contained in:
Björn Esser 2020-04-14 17:28:17 +02:00
parent 0c3684fec2
commit c96decb2ed

View File

@ -86,7 +86,7 @@ echo 'INSTALL_LIBMANDOC=1' >> configure.local
echo 'CFLAGS="%{optflags} -fPIC"' >> configure.local
./configure
make %{?_smp_mflags}
%make_build
%install
%make_install
@ -124,7 +124,7 @@ touch %{buildroot}%{_mandir}/man7/tbl.7
touch %{buildroot}%{_mandir}/man8/makewhatis.8
%check
env LD_LIBRARY_PATH="$PWD" make regress
env LD_LIBRARY_PATH="$PWD" %make_build regress
%ldconfig_scriptlets -n libmandoc
@ -241,6 +241,7 @@ fi
* Tue Apr 14 2020 Björn Esser <besser82@fedoraproject.org> - 1.14.5-10
- libmandoc.so must be linked with COMPAT_OBJS
- Add patch to fix configure script
- Replace plain make with %%make_build
* Mon Mar 09 2020 David Cantrell - 1.14.5-9
- BR perl-interpreter