From 72deb3be0942ed6196e143ba9b6ac97faf2116de Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Petr=20P=C3=ADsa=C5=99?= <ppi...@redhat.com>
Date: Tue, 27 Jun 2017 14:28:23 +0200
Subject: 1.7 bump

---
 .gitignore        |  1 +
 perl-CBOR-XS.spec | 16 ++++++++--------
 sources           |  2 +-
 3 files changed, 10 insertions(+), 9 deletions(-)

diff --git a/.gitignore b/.gitignore
index b6f92a5..a019ed7 100644
--- a/.gitignore
+++ b/.gitignore
@@ -3,3 +3,4 @@
 /CBOR-XS-1.41.tar.gz
 /CBOR-XS-1.5.tar.gz
 /CBOR-XS-1.6.tar.gz
+/CBOR-XS-1.7.tar.gz
diff --git a/perl-CBOR-XS.spec b/perl-CBOR-XS.spec
index dc2a5bf..c646453 100644
--- a/perl-CBOR-XS.spec
+++ b/perl-CBOR-XS.spec
@@ -1,15 +1,13 @@
-%global cpan_version 1.6
 Name:           perl-CBOR-XS
-Version:        %(echo %{cpan_version} | sed 's/\(\..\)\(.\)/\1.\2/')
+Version:        1.7
 Release:        1%{?dist}
 Summary:        Concise Binary Object Representation (CBOR)
 # COPYING:      GPLv3+
 ## Replaced by system header-only package
 # ecb.h:        BSD or GPLv2+
 License:        GPLv3+ and (BSD or GPLv2+)
-Group:          Development/Libraries
 URL:            http://search.cpan.org/dist/CBOR-XS/
-Source0:        
http://www.cpan.org/authors/id/M/ML/MLEHMANN/CBOR-XS-%{cpan_version}.tar.gz
+Source0:        
http://www.cpan.org/authors/id/M/ML/MLEHMANN/CBOR-XS-%{version}.tar.gz
 # Use system libecb
 Patch0:         CBOR-XS-1.6-Include-ecb.h-from-system.patch
 # Silent compiler warnings
@@ -24,7 +22,7 @@ BuildRequires:  perl
 BuildRequires:  perl-devel
 BuildRequires:  perl-generators
 BuildRequires:  perl(Canary::Stability)
-BuildRequires:  perl(ExtUtils::MakeMaker) >= 6.52
+BuildRequires:  perl(ExtUtils::MakeMaker) >= 6.76
 BuildRequires:  sed
 # Run-time:
 BuildRequires:  perl(common::sense)
@@ -54,7 +52,7 @@ when you can represent something useful in JSON, you should 
be able to
 represent it in CBOR.
 
 %prep
-%setup -q -n CBOR-XS-%{cpan_version}
+%setup -q -n CBOR-XS-%{version}
 %patch0 -p1
 %patch1 -p1
 # Remove bundled libecb
@@ -62,12 +60,11 @@ rm ecb.h
 sed -i -e '/^ecb\.h/d' MANIFEST
 
 %build
-perl Makefile.PL INSTALLDIRS=vendor OPTIMIZE="$RPM_OPT_FLAGS" </dev/null
+perl Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1 OPTIMIZE="$RPM_OPT_FLAGS" 
</dev/null
 make %{?_smp_mflags}
 
 %install
 make pure_install DESTDIR=$RPM_BUILD_ROOT
-find $RPM_BUILD_ROOT -type f -name .packlist -delete
 find $RPM_BUILD_ROOT -type f -name '*.bs' -size 0 -delete
 %{_fixperms} $RPM_BUILD_ROOT/*
 
@@ -82,6 +79,9 @@ make test
 %{_mandir}/man3/*
 
 %changelog
+* Tue Jun 27 2017 Petr Pisar <ppi...@redhat.com> - 1.7-1
+- 1.7 bump
+
 * Thu Dec 08 2016 Petr Pisar <ppi...@redhat.com> - 1.6-1
 - 1.6 bump
 
diff --git a/sources b/sources
index 0a955a7..e7cb3d9 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-12b34d40d1cec32dec1368d620075530  CBOR-XS-1.6.tar.gz
+SHA512 (CBOR-XS-1.7.tar.gz) = 
13f5a0db0e983929fe7a670caf23ef130ed18f1974cf471d77d20e9e5d78c8afcad9a3440f198906d8e30625da7f8cb1d3a8919fd896442101f3865f0af5614c
-- 
cgit v1.1


        
https://src.fedoraproject.org/cgit/perl-CBOR-XS.git/commit/?h=f25&id=72deb3be0942ed6196e143ba9b6ac97faf2116de
_______________________________________________
perl-devel mailing list -- perl-devel@lists.fedoraproject.org
To unsubscribe send an email to perl-devel-le...@lists.fedoraproject.org

Reply via email to