[packages/perl-Net-HTTP] - updated docs, perl macros
qboosh
qboosh at pld-linux.org
Thu Oct 8 21:24:09 CEST 2020
commit ff6aa8e19e1ad9ba4c3d238e6da0f5f4151b799f
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date: Thu Oct 8 21:24:02 2020 +0200
- updated docs, perl macros
perl-Net-HTTP.spec | 9 ++++++---
1 file changed, 6 insertions(+), 3 deletions(-)
---
diff --git a/perl-Net-HTTP.spec b/perl-Net-HTTP.spec
index bc95f36..c6886e5 100644
--- a/perl-Net-HTTP.spec
+++ b/perl-Net-HTTP.spec
@@ -1,6 +1,6 @@
#
# Conditional build:
-%bcond_with tests # perform "make test" (uses network)
+%bcond_with tests # unit tests
#
%define pdir Net
%define pnam HTTP
@@ -14,11 +14,14 @@ License: GPL v1+ or Artistic
Group: Development/Languages/Perl
Source0: http://www.cpan.org/modules/by-module/Net/%{pdir}-%{pnam}-%{version}.tar.gz
# Source0-md5: 6cbebcc76099ce822f0aa7764af11f73
-URL: http://search.cpan.org/dist/Net-HTTP/
+URL: https://metacpan.org/release/Net-HTTP
BuildRequires: perl-devel >= 1:5.8.8
BuildRequires: rpm-perlprov >= 4.1-13
+BuildRequires: rpmbuild(macros) >= 1.745
%if %{with tests}
BuildRequires: perl-IO-Compress
+BuildRequires: perl-Test-Simple
+BuildRequires: perl-URI
%endif
Suggests: perl-IO-Socket-SSL >= 2.012
Conflicts: perl-libwww < 6
@@ -57,7 +60,7 @@ rm -rf $RPM_BUILD_ROOT
%files
%defattr(644,root,root,755)
-%doc Changes
+%doc CONTRIBUTORS Changes
%{perl_vendorlib}/Net/HTTP.pm
%{perl_vendorlib}/Net/HTTPS.pm
%{perl_vendorlib}/Net/HTTP
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/perl-Net-HTTP.git/commitdiff/ff6aa8e19e1ad9ba4c3d238e6da0f5f4151b799f
More information about the pld-cvs-commit
mailing list