From 5895a305e967ccae799035ff7ae09998a33a87bf Mon Sep 17 00:00:00 2001
From: Emmanuel Seyman <emman...@seyman.fr>
Date: Fri, 11 Mar 2016 17:44:28 +0100
Subject: Update to 3.02

---
 .gitignore        |  1 +
 perl-JSON-XS.spec | 27 +++++++++++++++++----------
 sources           |  2 +-
 3 files changed, 19 insertions(+), 11 deletions(-)

diff --git a/.gitignore b/.gitignore
index 28001ab..e81c93e 100644
--- a/.gitignore
+++ b/.gitignore
@@ -4,3 +4,4 @@ JSON-XS-2.27.tar.gz
 /JSON-XS-2.33.tar.gz
 /JSON-XS-2.34.tar.gz
 /JSON-XS-3.01.tar.gz
+/JSON-XS-3.02.tar.gz
diff --git a/perl-JSON-XS.spec b/perl-JSON-XS.spec
index bbf3b2a..fdb96a0 100644
--- a/perl-JSON-XS.spec
+++ b/perl-JSON-XS.spec
@@ -1,19 +1,24 @@
 Name:           perl-JSON-XS
 Summary:        JSON serializing/deserializing, done correctly and fast
 Epoch:          1
-Version:        3.01
-Release:        7%{?dist}
+Version:        3.02
+Release:        1%{?dist}
 License:        GPL+ or Artistic
 Group:          Development/Libraries
 URL:            http://search.cpan.org/dist/JSON-XS/
 Source0:        
http://www.cpan.org/authors/id/M/ML/MLEHMANN/JSON-XS-%{version}.tar.gz
 Requires:       perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo 
$version))
 
+BuildRequires:  coreutils
+BuildRequires:  make
+BuildRequires:  perl
+BuildRequires:  sed
 BuildRequires:  perl(common::sense)
+BuildRequires:  perl(Canary::Stability)
 BuildRequires:  perl(Data::Dumper)
 BuildRequires:  perl(Encode)
 BuildRequires:  perl(Exporter)
-BuildRequires:  perl(ExtUtils::MakeMaker)
+BuildRequires:  perl(ExtUtils::MakeMaker) >= 6.76
 BuildRequires:  perl(Getopt::Long)
 BuildRequires:  perl(Storable)
 BuildRequires:  perl(Test)
@@ -37,29 +42,31 @@ perl -pi -e 's|^#!/opt/bin/perl|#!%{__perl}|' eg/*
 chmod -c -x eg/*
 
 %build
-%{__perl} Makefile.PL INSTALLDIRS=vendor OPTIMIZE="%{optflags}"
+%{__perl} Makefile.PL INSTALLDIRS=vendor OPTIMIZE="%{optflags}" NO_PACKLIST=1
 make %{?_smp_mflags}
 
 %install
 make pure_install DESTDIR=%{buildroot}
-
-find %{buildroot} -type f -name .packlist -exec rm -f {} +
-find %{buildroot} -type f -name '*.bs' -size 0 -exec rm -f {} +
-find %{buildroot} -depth -type d -exec rmdir {} 2>/dev/null \;
-
 %{_fixperms} %{buildroot}/*
 
 %check
 make test
 
 %files
-%doc Changes COPYING README eg/
+%doc Changes README eg/
+%license COPYING
 %{perl_vendorarch}/*
 %exclude %dir %{perl_vendorarch}/auto
 %{_bindir}/*
 %{_mandir}/man[13]/*
 
 %changelog
+* Fri Mar 11 2016 Emmanuel Seyman <emman...@seyman.fr> - 1:3.02-1
+- Update to 3.02
+- Add needed BuildRequires
+- PAss NO_PACKLIST to Makefile.PL
+- Use %%license macro
+
 * Thu Feb 04 2016 Fedora Release Engineering <rel...@fedoraproject.org> - 
1:3.01-7
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
 
diff --git a/sources b/sources
index 4268a02..d531c61 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-b7be65295baf6dd9233c6494782c1153  JSON-XS-3.01.tar.gz
+0d4078f18003b50be970709a77b6afbf  JSON-XS-3.02.tar.gz
-- 
cgit v0.12


        
http://pkgs.fedoraproject.org/cgit/perl-JSON-XS.git/commit/?h=master&id=5895a305e967ccae799035ff7ae09998a33a87bf
--
Fedora Extras Perl SIG
http://www.fedoraproject.org/wiki/Extras/SIGs/Perl
perl-devel mailing list
perl-devel@lists.fedoraproject.org
http://lists.fedoraproject.org/admin/lists/perl-devel@lists.fedoraproject.org

Reply via email to