[packages/perl-HTML-Parser] - updated dependencies, dropped README (copy of man page)

qboosh qboosh at pld-linux.org
Thu Oct 8 18:11:14 CEST 2020


commit 20cfcc206366012d56e1644ae25eee6e963dfd35
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date:   Thu Oct 8 18:11:05 2020 +0200

    - updated dependencies, dropped README (copy of man page)

 perl-HTML-Parser.spec | 14 ++++++++++----
 1 file changed, 10 insertions(+), 4 deletions(-)
---
diff --git a/perl-HTML-Parser.spec b/perl-HTML-Parser.spec
index 8918575..1755b06 100644
--- a/perl-HTML-Parser.spec
+++ b/perl-HTML-Parser.spec
@@ -1,6 +1,6 @@
 #
 # Conditional build:
-%bcond_without	tests	# Do not perform "make test"
+%bcond_without	tests	# unit tests
 
 %define		pdir	HTML
 %define		pnam	Parser
@@ -18,11 +18,17 @@ License:	GPL v1+ or Artistic
 Group:		Development/Languages/Perl
 Source0:	https://www.cpan.org/modules/by-module/HTML/%{pdir}-%{pnam}-%{version}.tar.gz
 # Source0-md5:	65bf65aa8b34b35443e094010f991406
-URL:		https://search.cpan.org/dist/HTML-Parser/
+URL:		https://metacpan.org/release/HTML-Tagset
+BuildRequires:	perl-ExtUtils-MakeMaker >= 6.52
 BuildRequires:	perl-HTML-Tagset >= 3
 BuildRequires:	perl-devel >= 1:5.8.0
-%{?with_tests:BuildRequires:	perl-libwww}
+%if %{with tests}
+BuildRequires:	perl-Test-Simple
+BuildRequires:	perl-URI
+BuildRequires:	perl-libwww
+%endif
 BuildRequires:	rpm-perlprov >= 4.1-13
+BuildRequires:	rpmbuild(macros) >= 1.745
 BuildConflicts:	perl-HTML-Stream = 1.45-3
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
@@ -110,7 +116,7 @@ rm -rf $RPM_BUILD_ROOT
 
 %files
 %defattr(644,root,root,755)
-%doc Changes README TODO
+%doc Changes TODO
 %{perl_vendorarch}/HTML/Entities.pm
 %{perl_vendorarch}/HTML/Filter.pm
 %{perl_vendorarch}/HTML/HeadParser.pm
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/perl-HTML-Parser.git/commitdiff/20cfcc206366012d56e1644ae25eee6e963dfd35



More information about the pld-cvs-commit mailing list