Spec file cleanups: Use make_build and make_install macros
https://docs.fedoraproject.org/en-US/packaging-guidelines/#_parallel_make https://fedoraproject.org/wiki/Perl/Tips#ExtUtils::MakeMake
This commit is contained in:
parent
17effebce4
commit
fb3d23dc55
@ -8,7 +8,7 @@
|
||||
Name: perl-Filter
|
||||
Epoch: 2
|
||||
Version: 1.59
|
||||
Release: 441%{?dist}
|
||||
Release: 442%{?dist}
|
||||
Summary: Perl source filters
|
||||
License: GPL+ or Artistic
|
||||
URL: https://metacpan.org/release/Filter
|
||||
@ -77,11 +77,12 @@ sed -i -e '1 s|.*|%(perl -MConfig -e 'print $Config{startperl}')|' \
|
||||
examples/filtdef
|
||||
|
||||
%build
|
||||
perl Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1 OPTIMIZE="$RPM_OPT_FLAGS"
|
||||
make %{?_smp_mflags}
|
||||
perl Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1 OPTIMIZE="$RPM_OPT_FLAGS" \
|
||||
NO_PERLLOCAL=1
|
||||
%make_build
|
||||
|
||||
%install
|
||||
make pure_install DESTDIR=$RPM_BUILD_ROOT
|
||||
%make_install
|
||||
find $RPM_BUILD_ROOT -type f -name '*.bs' -size 0 -delete
|
||||
%{_fixperms} $RPM_BUILD_ROOT/*
|
||||
|
||||
@ -95,6 +96,11 @@ make test
|
||||
%{_mandir}/man3/*
|
||||
|
||||
%changelog
|
||||
* Tue Feb 04 2020 Tom Stellard <tstellar@redhat.com> - 2:1.59-442
|
||||
- Spec file cleanups: Use make_build and make_install macros
|
||||
- https://docs.fedoraproject.org/en-US/packaging-guidelines/#_parallel_make
|
||||
- https://fedoraproject.org/wiki/Perl/Tips#ExtUtils::MakeMake
|
||||
|
||||
* Thu Jan 30 2020 Fedora Release Engineering <releng@fedoraproject.org> - 2:1.59-441
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user