diff --git a/perl-TermReadKey.spec b/perl-TermReadKey.spec index a5a7dc0..ad2df90 100644 --- a/perl-TermReadKey.spec +++ b/perl-TermReadKey.spec @@ -1,6 +1,6 @@ Name: perl-TermReadKey Version: 2.38 -Release: 5%{?dist} +Release: 6%{?dist} Summary: A perl module for simple terminal control License: (Copyright only) and (Artistic or GPL+) URL: https://metacpan.org/release/TermReadKey @@ -44,11 +44,11 @@ good likelyhood of it working. %setup -q -n TermReadKey-%{version} %build -CFLAGS="%{optflags}" perl Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1 -make %{?_smp_mflags} OPTIMIZE="%{optflags}" +CFLAGS="%{optflags}" perl Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1 NO_PERLLOCAL=1 +%{make_build} OPTIMIZE="%{optflags}" %install -make pure_install DESTDIR=%{buildroot} +%{make_install} find %{buildroot} -type f -name '*.bs' -a -size 0 -delete %{_fixperms} %{buildroot}/* @@ -62,6 +62,11 @@ make test %{_mandir}/man3/* %changelog +* Thu Feb 06 2020 Tom Stellard - 2.38-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 - 2.38-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild