Add build-require gcc
This commit is contained in:
parent
3fe8bb0d99
commit
a4851da917
@ -1,7 +1,7 @@
|
||||
Name: perl-HTML-Parser
|
||||
Summary: Perl module for parsing HTML
|
||||
Version: 3.72
|
||||
Release: 10%{?dist}
|
||||
Release: 11%{?dist}
|
||||
License: GPL+ or Artistic
|
||||
Group: Development/Libraries
|
||||
Source0: http://search.cpan.org/CPAN/authors/id/G/GA/GAAS/HTML-Parser-%{version}.tar.gz
|
||||
@ -9,15 +9,16 @@ URL: http://search.cpan.org/dist/HTML-Parser/
|
||||
Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
|
||||
BuildRequires: coreutils
|
||||
BuildRequires: findutils
|
||||
BuildRequires: gcc
|
||||
BuildRequires: glibc-common
|
||||
BuildRequires: make
|
||||
BuildRequires: perl-interpreter
|
||||
BuildRequires: perl-devel
|
||||
BuildRequires: perl-generators
|
||||
BuildRequires: perl-interpreter
|
||||
BuildRequires: perl(Carp)
|
||||
BuildRequires: perl(Config)
|
||||
BuildRequires: perl(Exporter)
|
||||
BuildRequires: perl(ExtUtils::MakeMaker)
|
||||
BuildRequires: perl(ExtUtils::MakeMaker) >= 6.76
|
||||
BuildRequires: perl(File::Spec)
|
||||
BuildRequires: perl(FileHandle)
|
||||
BuildRequires: perl(HTML::Tagset) >= 3
|
||||
@ -53,7 +54,7 @@ HTML::LinkExtor, HTML::PullParser, and HTML::TokeParser modules.
|
||||
chmod -c a-x eg/*
|
||||
|
||||
%build
|
||||
perl Makefile.PL INSTALLDIRS=vendor OPTIMIZE="%{optflags}"
|
||||
perl Makefile.PL INSTALLDIRS=vendor OPTIMIZE="%{optflags}" NO_PACKLIST=1
|
||||
make %{?_smp_mflags}
|
||||
|
||||
%install
|
||||
@ -62,9 +63,8 @@ file=%{buildroot}%{_mandir}/man3/HTML::Entities.3pm
|
||||
iconv -f iso-8859-1 -t utf-8 <"$file" > "${file}_" && \
|
||||
touch -r ${file} ${file}_ && \
|
||||
mv -f "${file}_" "$file"
|
||||
find %{buildroot} -type f -name .packlist -delete
|
||||
find %{buildroot} -type f -name '*.bs' -empty -delete
|
||||
chmod -R u+w %{buildroot}/*
|
||||
%{_fixperms} %{buildroot}/*
|
||||
|
||||
%check
|
||||
make test
|
||||
@ -76,6 +76,9 @@ make test
|
||||
%{_mandir}/man3/*.3pm*
|
||||
|
||||
%changelog
|
||||
* Mon Feb 19 2018 Jitka Plesnikova <jplesnik@redhat.com> - 3.72-11
|
||||
- Add build-require gcc
|
||||
|
||||
* Thu Feb 08 2018 Fedora Release Engineering <releng@fedoraproject.org> - 3.72-10
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user