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
bcf122f55e
commit
38be670071
@ -1,7 +1,7 @@
|
||||
Summary: Internationalization library for Perl, compatible with gettext
|
||||
Name: perl-libintl-perl
|
||||
Version: 1.31
|
||||
Release: 5%{?dist}
|
||||
Release: 6%{?dist}
|
||||
# gettext_xs/gettext_xs.pm: GPLv3+
|
||||
# gettext_xs/Makefile.PL: LGPLv2+
|
||||
# lib/Locale/gettext_xs.pod: LGPLv2+
|
||||
@ -85,11 +85,11 @@ rm .gitignore MANIFEST
|
||||
|
||||
|
||||
%build
|
||||
perl Makefile.PL INSTALLDIRS=vendor OPTIMIZE="%{optflags}"
|
||||
make %{?_smp_mflags}
|
||||
perl Makefile.PL INSTALLDIRS=vendor OPTIMIZE="%{optflags}" NO_PERLLOCAL=1
|
||||
%make_build
|
||||
|
||||
%install
|
||||
make pure_install DESTDIR=%{buildroot}
|
||||
%make_install
|
||||
find %{buildroot} -type f \( -name .packlist -o \
|
||||
-name '*.bs' -size 0 \) -delete
|
||||
%{_fixperms} %{buildroot}
|
||||
@ -106,6 +106,11 @@ make test
|
||||
%{_mandir}/man?/*
|
||||
|
||||
%changelog
|
||||
* Tue Feb 04 2020 Tom Stellard <tstellar@redhat.com> - 1.31-6
|
||||
- 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> - 1.31-5
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user