diff --git a/perl-JSON.spec b/perl-JSON.spec index 3d89214..c212f32 100644 --- a/perl-JSON.spec +++ b/perl-JSON.spec @@ -1,13 +1,14 @@ # Upstream has switched back to five-digit versions temporarily -%global temp_version_suffix 000 +%global rpm_version 2.97 +%global temp_version_suffix 001 Name: perl-JSON Summary: Parse and convert to JSON (JavaScript Object Notation) -Version: 2.97 +Version: %{rpm_version}%{?temp_version_suffix:.%{temp_version_suffix}} Release: 1%{?dist} License: GPL+ or Artistic -Source0: http://search.cpan.org/CPAN/authors/id/I/IS/ISHIGAKI/JSON-%{version}%{?temp_version_suffix}.tar.gz +Source0: http://search.cpan.org/CPAN/authors/id/I/IS/ISHIGAKI/JSON-%{rpm_version}%{?temp_version_suffix}.tar.gz URL: http://search.cpan.org/dist/JSON/ Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) BuildArch: noarch @@ -42,7 +43,7 @@ This module converts between JSON (JavaScript Object Notation) and Perl data structure into each other. For JSON, see http://www.crockford.com/JSON/. %prep -%setup -q -n JSON-%{version}%{?temp_version_suffix} +%setup -q -n JSON-%{rpm_version}%{?temp_version_suffix} # make rpmlint happy... find . -type f -exec chmod -c -x {} + @@ -67,6 +68,10 @@ make test %{_mandir}/man3/* %changelog +* Fri Dec 22 2017 Paul Howarth - 2.97.001-1 +- Update to 2.97001 + - Updated backportPP with JSON::PP 2.97001 + * Tue Nov 21 2017 Paul Howarth - 2.97-1 - Update to 2.97 (upstream 2.97000 but stick to two-digit minor version downstream in case upstream changes back before version 3.x) diff --git a/sources b/sources index af22f89..4ff1f8e 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (JSON-2.97000.tar.gz) = 7f11faa7a27fdaef65e252f3d7e7625108df733d0f49b4175fec8d71b5222de8c2deceb615bdce4d00bde20591dfb1f2a80f2b881cba50f1092933de255be0fa +SHA512 (JSON-2.97001.tar.gz) = 42fe08c1d7b8f689592a28c17dd7853a90c4236e64a9be175a635af005da48e06c436e80dac905893e2232ca8efee3832f6ad51992fd4ca851f8f0fd796860df