Tom Stellard 2020-02-04 22:06:25 +00:00
parent dce42b13fe
commit 728d339068

View File

@ -1,7 +1,7 @@
Name: perl-HTML-Parser
Summary: Perl module for parsing HTML
Version: 3.72
Release: 20%{?dist}
Release: 21%{?dist}
License: GPL+ or Artistic
Source0: https://cpan.metacpan.org/authors/id/G/GA/GAAS/HTML-Parser-%{version}.tar.gz
URL: https://metacpan.org/release/HTML-Parser
@ -52,11 +52,12 @@ HTML::LinkExtor, HTML::PullParser, and HTML::TokeParser modules.
chmod -c a-x eg/*
%build
perl Makefile.PL INSTALLDIRS=vendor OPTIMIZE="%{optflags}" NO_PACKLIST=1
make %{?_smp_mflags}
perl Makefile.PL INSTALLDIRS=vendor OPTIMIZE="%{optflags}" NO_PACKLIST=1 \
NO_PERLLOCAL=1
%make_build
%install
make pure_install DESTDIR=%{buildroot}
%make_install
file=%{buildroot}%{_mandir}/man3/HTML::Entities.3pm
iconv -f iso-8859-1 -t utf-8 <"$file" > "${file}_" && \
touch -r ${file} ${file}_ && \
@ -74,6 +75,11 @@ make test
%{_mandir}/man3/*.3pm*
%changelog
* Tue Feb 04 2020 Tom Stellard <tstellar@redhat.com> - 3.72-21
- 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> - 3.72-20
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild