|
|
@ -1,8 +1,8 @@
|
|
|
|
Name: perl-HTML-Parser
|
|
|
|
Name: perl-HTML-Parser
|
|
|
|
Summary: Perl module for parsing HTML
|
|
|
|
Summary: Perl module for parsing HTML
|
|
|
|
Version: 3.76
|
|
|
|
Version: 3.82
|
|
|
|
Release: 3%{?dist}
|
|
|
|
Release: 3%{?dist}
|
|
|
|
License: GPL+ or Artistic
|
|
|
|
License: GPL-1.0-or-later OR Artistic-1.0-Perl
|
|
|
|
Source0: https://cpan.metacpan.org/authors/id/O/OA/OALDERS/HTML-Parser-%{version}.tar.gz
|
|
|
|
Source0: https://cpan.metacpan.org/authors/id/O/OA/OALDERS/HTML-Parser-%{version}.tar.gz
|
|
|
|
URL: https://metacpan.org/release/HTML-Parser
|
|
|
|
URL: https://metacpan.org/release/HTML-Parser
|
|
|
|
BuildRequires: coreutils
|
|
|
|
BuildRequires: coreutils
|
|
|
@ -13,6 +13,7 @@ BuildRequires: make
|
|
|
|
BuildRequires: perl-devel
|
|
|
|
BuildRequires: perl-devel
|
|
|
|
BuildRequires: perl-generators
|
|
|
|
BuildRequires: perl-generators
|
|
|
|
BuildRequires: perl-interpreter
|
|
|
|
BuildRequires: perl-interpreter
|
|
|
|
|
|
|
|
BuildRequires: perl(Config)
|
|
|
|
BuildRequires: perl(ExtUtils::MakeMaker) >= 6.76
|
|
|
|
BuildRequires: perl(ExtUtils::MakeMaker) >= 6.76
|
|
|
|
BuildRequires: perl(strict)
|
|
|
|
BuildRequires: perl(strict)
|
|
|
|
BuildRequires: perl(warnings)
|
|
|
|
BuildRequires: perl(warnings)
|
|
|
@ -25,14 +26,10 @@ BuildRequires: perl(IO::File)
|
|
|
|
BuildRequires: perl(URI)
|
|
|
|
BuildRequires: perl(URI)
|
|
|
|
BuildRequires: perl(XSLoader)
|
|
|
|
BuildRequires: perl(XSLoader)
|
|
|
|
# Tests
|
|
|
|
# Tests
|
|
|
|
BuildRequires: perl(Config)
|
|
|
|
|
|
|
|
BuildRequires: perl(File::Spec)
|
|
|
|
BuildRequires: perl(File::Spec)
|
|
|
|
BuildRequires: perl(FileHandle)
|
|
|
|
|
|
|
|
BuildRequires: perl(SelectSaver)
|
|
|
|
BuildRequires: perl(SelectSaver)
|
|
|
|
BuildRequires: perl(Test)
|
|
|
|
|
|
|
|
BuildRequires: perl(Test::More)
|
|
|
|
BuildRequires: perl(Test::More)
|
|
|
|
BuildRequires: perl(threads)
|
|
|
|
BuildRequires: perl(threads)
|
|
|
|
Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
|
|
|
|
|
|
|
|
Requires: perl(HTML::Tagset) >= 3
|
|
|
|
Requires: perl(HTML::Tagset) >= 3
|
|
|
|
Requires: perl(HTTP::Headers)
|
|
|
|
Requires: perl(HTTP::Headers)
|
|
|
|
Requires: perl(IO::File)
|
|
|
|
Requires: perl(IO::File)
|
|
|
@ -61,11 +58,7 @@ chmod -c a-x eg/*
|
|
|
|
|
|
|
|
|
|
|
|
# Help file to recognise the Perl scripts and normalize shebangs
|
|
|
|
# Help file to recognise the Perl scripts and normalize shebangs
|
|
|
|
for F in t/*.t; do
|
|
|
|
for F in t/*.t; do
|
|
|
|
if head -1 "$F" | grep -q -e '^#!.*perl\b' ; then
|
|
|
|
perl -i -MConfig -ple 'print $Config{startperl} if $. == 1 && !s{\A#!.*perl\b}{$Config{startperl}}' "$F"
|
|
|
|
perl -MConfig -pi -e 's|^#!.*perl\b|$Config{startperl}|' "$F"
|
|
|
|
|
|
|
|
else
|
|
|
|
|
|
|
|
perl -i -MConfig -ple 'print $Config{startperl} if $. == 1' "$F"
|
|
|
|
|
|
|
|
fi
|
|
|
|
|
|
|
|
chmod +x "$F"
|
|
|
|
chmod +x "$F"
|
|
|
|
done
|
|
|
|
done
|
|
|
|
|
|
|
|
|
|
|
@ -80,6 +73,7 @@ iconv -f iso-8859-1 -t utf-8 <"$file" > "${file}_" && \
|
|
|
|
touch -r ${file} ${file}_ && \
|
|
|
|
touch -r ${file} ${file}_ && \
|
|
|
|
mv -f "${file}_" "$file"
|
|
|
|
mv -f "${file}_" "$file"
|
|
|
|
find %{buildroot} -type f -name '*.bs' -empty -delete
|
|
|
|
find %{buildroot} -type f -name '*.bs' -empty -delete
|
|
|
|
|
|
|
|
%{_fixperms} %{buildroot}/*
|
|
|
|
|
|
|
|
|
|
|
|
# Install tests
|
|
|
|
# Install tests
|
|
|
|
mkdir -p %{buildroot}/%{_libexecdir}/%{name}
|
|
|
|
mkdir -p %{buildroot}/%{_libexecdir}/%{name}
|
|
|
@ -98,8 +92,6 @@ rm -rf "$DIR"
|
|
|
|
EOF
|
|
|
|
EOF
|
|
|
|
chmod +x %{buildroot}/%{_libexecdir}/%{name}/test
|
|
|
|
chmod +x %{buildroot}/%{_libexecdir}/%{name}/test
|
|
|
|
|
|
|
|
|
|
|
|
%{_fixperms} %{buildroot}/*
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%check
|
|
|
|
%check
|
|
|
|
export HARNESS_OPTIONS=j$(perl -e 'if ($ARGV[0] =~ /.*-j([0-9][0-9]*).*/) {print $1} else {print 1}' -- '%{?_smp_mflags}')
|
|
|
|
export HARNESS_OPTIONS=j$(perl -e 'if ($ARGV[0] =~ /.*-j([0-9][0-9]*).*/) {print $1} else {print 1}' -- '%{?_smp_mflags}')
|
|
|
|
make test
|
|
|
|
make test
|
|
|
@ -109,18 +101,72 @@ make test
|
|
|
|
%doc Changes README TODO eg/
|
|
|
|
%doc Changes README TODO eg/
|
|
|
|
%{perl_vendorarch}/HTML/
|
|
|
|
%{perl_vendorarch}/HTML/
|
|
|
|
%{perl_vendorarch}/auto/HTML/
|
|
|
|
%{perl_vendorarch}/auto/HTML/
|
|
|
|
%{_mandir}/man3/*.3pm*
|
|
|
|
%{_mandir}/man3/HTML::*.3pm*
|
|
|
|
|
|
|
|
|
|
|
|
%files tests
|
|
|
|
%files tests
|
|
|
|
%{_libexecdir}/%{name}
|
|
|
|
%{_libexecdir}/%{name}
|
|
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
%changelog
|
|
|
|
* Mon Aug 09 2021 Mohan Boddu <mboddu@redhat.com> - 3.76-3
|
|
|
|
* Tue Oct 29 2024 Troy Dawson <tdawson@redhat.com> - 3.82-3
|
|
|
|
- Rebuilt for IMA sigs, glibc 2.34, aarch64 flags
|
|
|
|
- Bump release for October 2024 mass rebuild:
|
|
|
|
Related: rhbz#1991688
|
|
|
|
Resolves: RHEL-64018
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Fri Oct 25 2024 MSVSphere Packaging Team <packager@msvsphere-os.ru> - 3.82-2
|
|
|
|
|
|
|
|
- Rebuilt for MSVSphere 10
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Thu Aug 08 2024 Troy Dawson <tdawson@redhat.com> - 3.82-2
|
|
|
|
|
|
|
|
- Bump release for Aug 2024 java mass rebuild
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Thu Jul 18 2024 Jitka Plesnikova <jplesnik@redhat.com> - 3.82-1
|
|
|
|
|
|
|
|
- 3.82 bump
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Mon Jun 24 2024 Troy Dawson <tdawson@redhat.com> - 3.81-6
|
|
|
|
|
|
|
|
- Bump release for June 2024 mass rebuild
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Thu Jan 25 2024 Fedora Release Engineering <releng@fedoraproject.org> - 3.81-5
|
|
|
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Sun Jan 21 2024 Fedora Release Engineering <releng@fedoraproject.org> - 3.81-4
|
|
|
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Thu Jul 20 2023 Fedora Release Engineering <releng@fedoraproject.org> - 3.81-3
|
|
|
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Tue Jul 11 2023 Jitka Plesnikova <jplesnik@redhat.com> - 3.81-2
|
|
|
|
|
|
|
|
- Perl 5.38 rebuild
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Wed Feb 01 2023 Jitka Plesnikova <jplesnik@redhat.com> - 3.81-1
|
|
|
|
|
|
|
|
- 3.81 bump
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Fri Jan 20 2023 Fedora Release Engineering <releng@fedoraproject.org> - 3.80-2
|
|
|
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Wed Nov 02 2022 Jitka Plesnikova <jplesnik@redhat.com> - 3.80-1
|
|
|
|
|
|
|
|
- 3.80 bump
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Thu Oct 13 2022 Jitka Plesnikova <jplesnik@redhat.com> - 3.79-1
|
|
|
|
|
|
|
|
- 3.79 bump
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Fri Jul 22 2022 Fedora Release Engineering <releng@fedoraproject.org> - 3.78-3
|
|
|
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Tue May 31 2022 Jitka Plesnikova <jplesnik@redhat.com> - 3.78-2
|
|
|
|
|
|
|
|
- Perl 5.36 rebuild
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Thu Mar 31 2022 Jitka Plesnikova <jplesnik@redhat.com> - 3.78-1
|
|
|
|
|
|
|
|
- 3.78 bump
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Tue Mar 15 2022 Michal Josef Špaček <mspacek@redhat.com> - 3.77-1
|
|
|
|
|
|
|
|
- 3.77 bump
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Fri Jan 21 2022 Fedora Release Engineering <releng@fedoraproject.org> - 3.76-4
|
|
|
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Thu Jul 22 2021 Fedora Release Engineering <releng@fedoraproject.org> - 3.76-3
|
|
|
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
|
|
* Fri Apr 16 2021 Mohan Boddu <mboddu@redhat.com> - 3.76-2
|
|
|
|
* Fri May 21 2021 Jitka Plesnikova <jplesnik@redhat.com> - 3.76-2
|
|
|
|
- Rebuilt for RHEL 9 BETA on Apr 15th 2021. Related: rhbz#1947937
|
|
|
|
- Perl 5.34 rebuild
|
|
|
|
|
|
|
|
|
|
|
|
* Fri Mar 05 2021 Jitka Plesnikova <jplesnik@redhat.com> - 3.76-1
|
|
|
|
* Fri Mar 05 2021 Jitka Plesnikova <jplesnik@redhat.com> - 3.76-1
|
|
|
|
- 3.76 bump
|
|
|
|
- 3.76 bump
|
|
|
|