[perl-JSON-Pointer] 0.03 bump

Petr Pisar ppisar at fedoraproject.org
Mon Feb 3 11:53:42 UTC 2014


commit 6d6604b0db68caa3e459d15de7638e216f4b6e1d
Author: Petr Písař <ppisar at redhat.com>
Date:   Mon Feb 3 12:49:56 2014 +0100

    0.03 bump

 .gitignore                                 |    1 +
 .rpmlint                                   |    2 +
 JSON-Pointer-0.01-returnor+hashorder.patch |  134 ----------------------------
 perl-JSON-Pointer.spec                     |   31 ++++---
 sources                                    |    2 +-
 5 files changed, 23 insertions(+), 147 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index 704ba12..f7c6c80 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1 +1,2 @@
 /JSON-Pointer-0.01.tar.gz
+/JSON-Pointer-0.03.tar.gz
diff --git a/.rpmlint b/.rpmlint
new file mode 100644
index 0000000..62d2450
--- /dev/null
+++ b/.rpmlint
@@ -0,0 +1,2 @@
+from Config import *
+addFilter("spelling-error .* (appsawg|html|http|ietf)");
diff --git a/perl-JSON-Pointer.spec b/perl-JSON-Pointer.spec
index 11b6285..bf06f68 100644
--- a/perl-JSON-Pointer.spec
+++ b/perl-JSON-Pointer.spec
@@ -1,23 +1,26 @@
 Name:           perl-JSON-Pointer
-Version:        0.01
-Release:        3%{?dist}
+Version:        0.03
+Release:        1%{?dist}
 Summary:        Perl implementation of JSON Pointer
 License:        GPL+ or Artistic
 Group:          Development/Libraries
 URL:            http://search.cpan.org/dist/JSON-Pointer/
 Source0:        http://www.cpan.org/authors/id/Z/ZI/ZIGOROU/JSON-Pointer-%{version}.tar.gz
-# return preference and tests fixed, CPAN RT#87314
-Patch0:         JSON-Pointer-0.01-returnor+hashorder.patch
 BuildArch:      noarch
 BuildRequires:  perl
-BuildRequires:  perl(Module::Build)
+BuildRequires:  perl(CPAN::Meta)
+BuildRequires:  perl(CPAN::Meta::Prereqs)
+BuildRequires:  perl(File::Basename)
+BuildRequires:  perl(File::Spec)
+BuildRequires:  perl(Module::Build) >= 0.38
 BuildRequires:  perl(strict)
+BuildRequires:  perl(utf8)
 BuildRequires:  perl(warnings)
 # Run-time:
-BuildRequires:  perl(B)
-BuildRequires:  perl(Carp)
+BuildRequires:  perl(B) >= 1.29
+BuildRequires:  perl(Carp) >= 1.20
 BuildRequires:  perl(Class::Accessor::Lite) >= 0.05
-BuildRequires:  perl(Data::Clone) >= 0.003
+BuildRequires:  perl(Clone) >= 0.36
 BuildRequires:  perl(Exporter)
 BuildRequires:  perl(JSON) >= 2.53
 BuildRequires:  perl(overload)
@@ -26,13 +29,15 @@ BuildRequires:  perl(URI::Escape) >= 3.31
 BuildRequires:  perl(Test::Exception) >= 0.31
 BuildRequires:  perl(Test::More) >= 0.98
 Requires:       perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
+Requires:       perl(B) >= 1.29
+Requires:       perl(Carp) >= 1.20
 Requires:       perl(Class::Accessor::Lite) >= 0.05
-Requires:       perl(Data::Clone) >= 0.003
+Requires:       perl(Clone) >= 0.36
 Requires:       perl(JSON) >= 2.53
 Requires:       perl(URI::Escape) >= 3.31
 
 # Filter under-specified dependencies
-%global __requires_exclude %{?__requires_exclude:%__requires_exclude|}^perl\\((Class::Accessor::Lite|Data::Clone|JSON|URI::Escape)\\)$
+%global __requires_exclude %{?__requires_exclude:%__requires_exclude|}^perl\\((B|Carp|Class::Accessor::Lite|Clone|JSON|URI::Escape)\\)$
 
 %description
 This library is implemented JSON Pointer draft version 9
@@ -44,7 +49,6 @@ see the both of specifications for details.
 
 %prep
 %setup -q -n JSON-Pointer-%{version}
-%patch0 -p1
 # Remove bundled modules
 rm -rf inc/*
 sed -i -e '/^inc\//d' MANIFEST
@@ -61,11 +65,14 @@ perl Build.PL installdirs=vendor
 ./Build test
 
 %files
-%doc Changes LICENSE README
+%doc Changes LICENSE README.md
 %{perl_vendorlib}/*
 %{_mandir}/man3/*
 
 %changelog
+* Mon Feb 03 2014 Petr Pisar <ppisar at redhat.com> - 0.03-1
+- 0.03 bump
+
 * Sat Aug 03 2013 Petr Pisar <ppisar at redhat.com> - 0.01-3
 - Perl 5.18 rebuild
 - return preference and tests fixed (CPAN RT#87314)
diff --git a/sources b/sources
index 199273a..537d42a 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-24bbbdc31d5ff67f2430f60186249117  JSON-Pointer-0.01.tar.gz
+853e740280670e1264243abb69813d50  JSON-Pointer-0.03.tar.gz



More information about the perl-devel mailing list