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
b410c5faf7
commit
88f2b5cc63
|
@ -1,6 +1,6 @@
|
|||
Name: perl-Unicode-Collate
|
||||
Version: 1.27
|
||||
Release: 440%{?dist}
|
||||
Release: 441%{?dist}
|
||||
Summary: Unicode Collation Algorithm
|
||||
# Collate/allkeys.txt: Unicode (the file contains a link to
|
||||
# <http://www.unicode.org/terms_of_use.html>)
|
||||
|
@ -47,11 +47,11 @@ perl mklocale
|
|||
mv Locale/*.pl Collate/Locale
|
||||
mv Korean.pm Collate/CJK
|
||||
|
||||
perl Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1 OPTIMIZE="$RPM_OPT_FLAGS"
|
||||
make %{?_smp_mflags}
|
||||
perl Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1 NO_PERLLOCAL=1 OPTIMIZE="$RPM_OPT_FLAGS"
|
||||
%{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/*
|
||||
|
||||
|
@ -65,6 +65,11 @@ make test
|
|||
%{_mandir}/man3/*
|
||||
|
||||
%changelog
|
||||
* Thu Feb 06 2020 Tom Stellard <tstellar@redhat.com> - 1.27-441
|
||||
- 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.27-440
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
|
||||
|
||||
|
|
Loading…
Reference in New Issue