0.9921 bump
This commit is contained in:
parent
46122e6a0e
commit
07b27eecab
1
.gitignore
vendored
1
.gitignore
vendored
@ -16,3 +16,4 @@ version-0.88.tar.gz
|
||||
/version-0.9917.tar.gz
|
||||
/version-0.9918.tar.gz
|
||||
/version-0.9920.tar.gz
|
||||
/version-0.9921.tar.gz
|
||||
|
||||
@ -7,16 +7,13 @@
|
||||
|
||||
Name: perl-version
|
||||
Epoch: 6
|
||||
Version: 0.99.20
|
||||
%global module_version 0.9920
|
||||
Version: 0.99.21
|
||||
%global module_version 0.9921
|
||||
Release: 1%{?dist}
|
||||
Summary: Perl extension for Version Objects
|
||||
License: GPL+ or Artistic
|
||||
URL: http://search.cpan.org/dist/version/
|
||||
Source0: http://www.cpan.org/authors/id/J/JP/JPEACOCK/version-%{module_version}.tar.gz
|
||||
# Fix documentation about numify() and stringify() trailing zeros,
|
||||
# CPAN RT#64635, CPAN RT#122858
|
||||
Patch0: version-0.9918-doc_numify_stringify_trailing_zeros.patch
|
||||
# Build
|
||||
BuildRequires: findutils
|
||||
BuildRequires: gcc
|
||||
@ -78,7 +75,6 @@ strongly urged to set 0.77 as a minimum in your code.
|
||||
|
||||
%prep
|
||||
%setup -q -n version-%{module_version}
|
||||
%patch0 -p1
|
||||
|
||||
%build
|
||||
perl Makefile.PL INSTALLDIRS=vendor OPTIMIZE="%{optflags}" UNINST=0 NO_PACKLIST=1
|
||||
@ -106,6 +102,9 @@ make test
|
||||
%{_mandir}/man3/version::Internals.3pm*
|
||||
|
||||
%changelog
|
||||
* Thu Apr 12 2018 Petr Pisar <ppisar@redhat.com> - 6:0.99.21-1
|
||||
- 0.9921 bump
|
||||
|
||||
* Mon Apr 09 2018 Jitka Plesnikova <jplesnik@redhat.com> - 6:0.99.20-1
|
||||
- 0.9920 bump
|
||||
|
||||
|
||||
2
sources
2
sources
@ -1 +1 @@
|
||||
SHA512 (version-0.9920.tar.gz) = 9d23f8e25a67ff7c2c555bc3aa58e28924a324b319acbf1430b801f1237cd13118ce7b68b4494be310b39685b04586dea1e30c48134c82083b3f0d06725a8e3a
|
||||
SHA512 (version-0.9921.tar.gz) = db79780be3aa709f3829a4f7724b900436456deef10b9ead15049231c874b9ed7f541f15e9c9651643260c56a47b649301966de197505a015e875afefd40efe3
|
||||
|
||||
@ -1,31 +0,0 @@
|
||||
This corrects numify() and stringify() documentation to match code bahavior
|
||||
that exists for ages.
|
||||
|
||||
CPAN RT#64635
|
||||
CPAN RT#122858
|
||||
|
||||
diff -r 2e2892f29539 lib/version.pod
|
||||
--- a/lib/version.pod Sun May 29 07:50:12 2016 -0400
|
||||
+++ b/lib/version.pod Fri Mar 09 14:38:36 2018 +0100
|
||||
@@ -266,10 +266,9 @@
|
||||
|
||||
=head2 numify()
|
||||
|
||||
-Returns a value representing the object in a pure decimal form without
|
||||
-trailing zeroes.
|
||||
+Returns a value representing the object in a pure decimal.
|
||||
|
||||
- version->declare('v1.2')->numify; # 1.002
|
||||
+ version->declare('v1.2')->numify; # 1.002000
|
||||
version->parse('1.2')->numify; # 1.200
|
||||
|
||||
=head2 stringify()
|
||||
@@ -280,7 +279,7 @@
|
||||
a version object is interpolated into a string.
|
||||
|
||||
version->declare('v1.2')->stringify; # v1.2
|
||||
- version->parse('1.200')->stringify; # 1.200
|
||||
+ version->parse('1.200')->stringify; # 1.2
|
||||
version->parse(1.02_30)->stringify; # 1.023
|
||||
|
||||
=head1 EXPORTED FUNCTIONS
|
||||
Loading…
Reference in New Issue
Block a user