ppisar pushed to perl-Math-BaseCnv (master). "Fix Math::BaseCnv::VERSION value"

notifications at fedoraproject.org notifications at fedoraproject.org
Fri Sep 4 12:14:47 UTC 2015


From 5cd302617d1844e6b625c85b919b3209c65962aa Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Petr=20P=C3=ADsa=C5=99?= <ppisar at redhat.com>
Date: Fri, 4 Sep 2015 14:10:28 +0200
Subject: Fix Math::BaseCnv::VERSION value


diff --git a/Math-BaseCnv-1.8.B59BrZX-Make-Math-BaseCnv-version-valid.patch b/Math-BaseCnv-1.8.B59BrZX-Make-Math-BaseCnv-version-valid.patch
new file mode 100644
index 0000000..4bffa14
--- /dev/null
+++ b/Math-BaseCnv-1.8.B59BrZX-Make-Math-BaseCnv-version-valid.patch
@@ -0,0 +1,35 @@
+From a1dc89a161100ed7430d91fe8f24716ca0d1f634 Mon Sep 17 00:00:00 2001
+From: =?UTF-8?q?Petr=20P=C3=ADsa=C5=99?= <ppisar at redhat.com>
+Date: Fri, 4 Sep 2015 14:06:00 +0200
+Subject: [PATCH] Make Math::BaseCnv version valid
+MIME-Version: 1.0
+Content-Type: text/plain; charset=UTF-8
+Content-Transfer-Encoding: 8bit
+
+1.8.B59BrZX version is invalid and is refused by ExtUtils::MakeMaker
+7.06 when building reverse dependencies. Therefore the version value
+must be normalized.
+
+CPAN RT#60275
+
+Signed-off-by: Petr Písař <ppisar at redhat.com>
+---
+ BaseCnv.pm | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/BaseCnv.pm b/BaseCnv.pm
+index c6112df..b179a17 100644
+--- a/BaseCnv.pm
++++ b/BaseCnv.pm
+@@ -14,7 +14,7 @@ our %EXPORT_TAGS = ( 'all' =>[ qw(cnv dec hex b10 b64 b64sort dig diginit summ f
+                      'b64' =>[ qw(cnv         b10 b64 b64sort            ) ],
+                      'dig' =>[ qw(                            dig diginit) ],
+                      'sfc' =>[ qw(                         summ fact choo) ] );
+-our $VERSION     = '1.8.B59BrZX'; our $PTVR = $VERSION; $PTVR =~ s/^\d+\.\d+\.//; # Please see `perldoc Time::PT` for an explanation of $PTVR.
++our $VERSION     = '1.8'; our $PTVR = $VERSION; $PTVR =~ s/^\d+\.\d+\.//; # Please see `perldoc Time::PT` for an explanation of $PTVR.
+ my $d2bs = ''; my %bs2d = (); my $nega = '';
+ my %digsets = (
+   'usr' => [], # this will be assigned if a dig(\@newd) call is made
+-- 
+2.4.3
+
diff --git a/perl-Math-BaseCnv.spec b/perl-Math-BaseCnv.spec
index 30497aa..7f2456d 100644
--- a/perl-Math-BaseCnv.spec
+++ b/perl-Math-BaseCnv.spec
@@ -1,12 +1,14 @@
 Name:           perl-Math-BaseCnv
 Version:        1.8.B59BrZX
-Release:        13%{?dist}
+Release:        14%{?dist}
 Summary:        Fast functions to CoNVert between number Bases
 
 Group:          Development/Libraries
 License:        GPLv2
 URL:            http://search.cpan.org/dist/Math-BaseCnv
 Source0:        http://search.cpan.org/CPAN/authors/id/P/PI/PIP/Math-BaseCnv-%{version}.tgz
+# Fix Math::BaseCnv::VERSION value, bug #1260084, CPAN RT#60275
+Patch0:         Math-BaseCnv-1.8.B59BrZX-Make-Math-BaseCnv-version-valid.patch
 BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 
 BuildArch:      noarch
@@ -39,6 +41,7 @@ for number-base conversion, please see Ken Williams's
 
 %prep
 %setup -q -n Math-BaseCnv-%{version}
+%patch0 -p1
 
 
 %build
@@ -71,6 +74,9 @@ rm -rf $RPM_BUILD_ROOT
 
 
 %changelog
+* Fri Sep 04 2015 Petr Pisar <ppisar at redhat.com> - 1.8.B59BrZX-14
+- Fix Math::BaseCnv::VERSION value (bug #1260084)
+
 * Fri Jul 17 2015 Petr Pisar <ppisar at redhat.com> - 1.8.B59BrZX-13
 - Specify all dependencies (bug #1243855)
 
-- 
cgit v0.10.2


	http://pkgs.fedoraproject.org/cgit/perl-Math-BaseCnv.git/commit/?h=master&id=5cd302617d1844e6b625c85b919b3209c65962aa


More information about the perl-devel mailing list