Tom Stellard 2020-02-06 05:54:11 +00:00
parent e2a381eb41
commit 64b726f9a0

View File

@ -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 <tstellar@redhat.com> - 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 <releng@fedoraproject.org> - 2.38-5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild