#
# Conditional build:
-%bcond_without tests # do not perform "make test"
+%bcond_without tests # unit tests
#
-%include /usr/lib/rpm/macros.perl
%define pdir JSON
Summary: JSON - parse and convert to JSON (JavaScript Object Notation)
Summary(pl.UTF-8): JSON - analiza i konwersja do notacji JSON (JavaScript Object Notation)
Name: perl-JSON
-Version: 4.01
+Version: 4.09
Release: 1
# same as perl
License: GPL v1+ or Artistic
Group: Development/Languages/Perl
Source0: http://www.cpan.org/modules/by-module/JSON/%{pdir}-%{version}.tar.gz
-# Source0-md5: 27a2d8d076bbe3c09b721a0cd702c6c4
-URL: http://search.cpan.org/dist/JSON/
+# Source0-md5: bbd0239a830384a22295234b46b2fac8
+URL: https://metacpan.org/dist/JSON
BuildRequires: perl-devel >= 1:5.8.0
BuildRequires: rpm-perlprov >= 4.1-13
+BuildRequires: rpmbuild(macros) >= 1.745
Suggests: perl-JSON-XS
BuildArch: noarch
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)