]> git.pld-linux.org Git - packages/perl-HTML-Parser.git/commitdiff
- updated dependencies, dropped README (copy of man page)
authorJakub Bogusz <qboosh@pld-linux.org>
Thu, 8 Oct 2020 16:11:05 +0000 (18:11 +0200)
committerJakub Bogusz <qboosh@pld-linux.org>
Thu, 8 Oct 2020 16:11:05 +0000 (18:11 +0200)
perl-HTML-Parser.spec

index 8918575bfb662593f8deabdbba4501565c7bfa11..1755b062fe63efb25df7d5c786f7bec3004e525e 100644 (file)
@@ -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
This page took 0.273554 seconds and 4 git commands to generate.