From 0e8f781327d69a556704653805d94846a220b017 Mon Sep 17 00:00:00 2001
From: Paul Howarth <[email protected]>
Date: Fri, 2 Jun 2017 11:36:57 +0100
Subject: With epoch bump we can use upstream's version number again

---
 perl-JSON-PP.spec | 7 ++++---
 1 file changed, 4 insertions(+), 3 deletions(-)

diff --git a/perl-JSON-PP.spec b/perl-JSON-PP.spec
index 76fe22c..86807a3 100644
--- a/perl-JSON-PP.spec
+++ b/perl-JSON-PP.spec
@@ -1,4 +1,5 @@
-# Need to stick with five digit version numbers until 3.x, to maintain upgrade 
path
+# Need to provide five digit version numbers until 3.x,
+# so that BR: perl(JSON::PP) >= 2.27200 etc. will still work
 %global cpan_version 2.94
 %global five_digit_version %(LC_ALL=C; printf '%.5f' '%{cpan_version}')
 
@@ -6,8 +7,8 @@
 %global rpm49 %(rpm --version | perl -p -e 's/^.* 
(\\d+)\\.(\\d+).*/sprintf("%d.%03d",$1,$2) ge 4.009 ? 1 : 0/e' 2>/dev/null || 
echo 0)
 
 Name:          perl-JSON-PP
-Epoch:          1
-Version:       %{five_digit_version}
+Epoch:         1
+Version:       %{cpan_version}
 Release:       1%{?dist}
 Summary:       JSON::XS compatible pure-Perl module
 License:       GPL+ or Artistic
-- 
cgit v1.1


        
https://src.fedoraproject.org/cgit/perl-JSON-PP.git/commit/?h=master&id=0e8f781327d69a556704653805d94846a220b017
_______________________________________________
perl-devel mailing list -- [email protected]
To unsubscribe send an email to [email protected]

Reply via email to