With epoch bump we can use upstream's version number again

This commit is contained in:
Paul Howarth 2017-06-02 11:36:57 +01:00
parent a3242ec8ad
commit 0e8f781327

View File

@ -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}')
@ -7,7 +8,7 @@
Name: perl-JSON-PP
Epoch: 1
Version: %{five_digit_version}
Version: %{cpan_version}
Release: 1%{?dist}
Summary: JSON::XS compatible pure-Perl module
License: GPL+ or Artistic