[packages/perl-JSON] - adjusted Source URL for missing updates in JSON IO dir, updated BR and json URL
qboosh
qboosh at pld-linux.org
Sat Jun 13 20:57:22 CEST 2026
commit 317ee1be60f42896f32069f04a69d01af999b895
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date: Sat Jun 13 20:57:42 2026 +0200
- adjusted Source URL for missing updates in JSON IO dir, updated BR and json URL
perl-JSON.spec | 15 +++++++++++----
1 file changed, 11 insertions(+), 4 deletions(-)
---
diff --git a/perl-JSON.spec b/perl-JSON.spec
index bb9cc28..9d326da 100644
--- a/perl-JSON.spec
+++ b/perl-JSON.spec
@@ -11,10 +11,15 @@ 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: https://www.cpan.org/modules/by-module/JSON/ISHIGAKI/%{pdir}-%{version}.tar.gz
# Source0-md5: 035b43d0a070a94e274b3565f8541186
URL: https://metacpan.org/dist/JSON
+BuildRequires: perl-ExtUtils-MakeMaker
BuildRequires: perl-devel >= 1:5.8.0
+%if %{with tests}
+BuildRequires: perl-Scalar-List-Utils >= 1.08
+BuildRequires: perl-Test-Simple >= 0.88
+%endif
BuildRequires: rpm-perlprov >= 4.1-13
BuildRequires: rpmbuild(macros) >= 1.745
Suggests: perl-JSON-XS
@@ -25,14 +30,14 @@ BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
This module converts between JSON (JavaScript Object Notation) and
Perl data structure into each other.
-For JSON, See to <http://www.crockford.com/JSON/>.
+For JSON, See to <https://www.json.org/>.
%description -l pl.UTF-8
Ten moduł dokonuje konwersji między notacją JSON (JavaScript Object
Notation) a perlowymi strukturami danych.
Więcej informacji na temat notacji JSON można znaleźć pod adresem
-<http://www.crockford.com/JSON/>.
+<https://www.json.org/>.
%prep
%setup -q -n %{pdir}-%{version}
@@ -43,7 +48,9 @@ Więcej informacji na temat notacji JSON można znaleźć pod adresem
%{__make}
-%{?with_tests:%{__make} test}
+%if %{with tests}
+%{__make} test
+%endif
%install
rm -rf $RPM_BUILD_ROOT
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/perl-JSON.git/commitdiff/317ee1be60f42896f32069f04a69d01af999b895
More information about the pld-cvs-commit
mailing list