commit 1b0c7f40b60e3af6cb6d4ab1c9ffff4e28764903
Author: Jakub Bogusz <[email protected]>
Date: Thu Oct 8 19:09:43 2020 +0200
- updated dependencies
perl-LWP-MediaTypes.spec | 10 ++++++++--
1 file changed, 8 insertions(+), 2 deletions(-)
---
diff --git a/perl-LWP-MediaTypes.spec b/perl-LWP-MediaTypes.spec
index a088aa5..c26c2f0 100644
--- a/perl-LWP-MediaTypes.spec
+++ b/perl-LWP-MediaTypes.spec
@@ -1,6 +1,6 @@
#
# Conditional build:
-%bcond_without tests # do not perform "make test"
+%bcond_without tests # unit tests
#
%define pdir LWP
%define pnam MediaTypes
@@ -14,9 +14,15 @@ License: GPL v1+ or Artistic
Group: Development/Languages/Perl
Source0:
http://www.cpan.org/modules/by-module/LWP/%{pdir}-%{pnam}-%{version}.tar.gz
# Source0-md5: 84b799a90c0d2ce52897a7cb4c0478d0
-URL: http://search.cpan.org/dist/LWP-MediaTypes/
+URL: https://metacpan.org/release/LWP-MediaTypes
+%if %{with tests}
+BuildRequires: perl-Scalar-List-Utils
+BuildRequires: perl-Test-Fatal
+BuildRequires: perl-Test-Simple
+%endif
BuildRequires: perl-devel >= 1:5.8.8
BuildRequires: rpm-perlprov >= 4.1-13
+BuildRequires: rpmbuild(macros) >= 1.745
Conflicts: perl-libwww < 6
BuildArch: noarch
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/perl-LWP-MediaTypes.git/commitdiff/1b0c7f40b60e3af6cb6d4ab1c9ffff4e28764903
_______________________________________________
pld-cvs-commit mailing list
[email protected]
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit