Use make_build macro

This will make it possible for buildroots to inject arguments to make by
redefining the %__make macro
This commit is contained in:
Tom Stellard 2020-02-04 01:02:08 +00:00
parent 550aa623e6
commit 8bee1c5271

View File

@ -1,6 +1,6 @@
Name: perl-Bit-Vector
Version: 7.4
Release: 17%{?dist}
Release: 18%{?dist}
Summary: Efficient bit vector, set of integers and "big int" math library
# Outdated FSF address reported, rt#85827
# Clarified by a private mail from the author:
@ -50,7 +50,7 @@ perl -pi -e 's|^#!perl\b|#!%{__perl}|' \
%build
perl Makefile.PL INSTALLDIRS=vendor OPTIMIZE="%{optflags}"
make %{?_smp_mflags}
%make_build
%install
make pure_install DESTDIR=%{buildroot}
@ -70,6 +70,9 @@ make test
%changelog
* Tue Feb 04 2020 Tom Stellard <tstellar@redhat.com> - 7.4-18
- Use make_build macro
* Wed Jan 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 7.4-17
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild