[packages/perl-Storable] - up to 2.39 (note that perl 5.18 already has newer version)

qboosh qboosh at pld-linux.org
Sat Jun 22 10:20:38 CEST 2013


commit 1cf0c0f8127f29eab60a3b1cf7921f048ea772d0
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date:   Sat Jun 22 10:20:13 2013 +0200

    - up to 2.39 (note that perl 5.18 already has newer version)

 perl-Storable.spec | 15 ++++++++-------
 1 file changed, 8 insertions(+), 7 deletions(-)
---
diff --git a/perl-Storable.spec b/perl-Storable.spec
index 131552f..220de8f 100644
--- a/perl-Storable.spec
+++ b/perl-Storable.spec
@@ -12,20 +12,21 @@ Name:		perl-Storable
 # 2.15 in perl-modules 5.8.8
 # 2.18 in perl-modules 5.10.0
 # 2.22 in perl-modules 5.12.0
-Version:	2.30
-Release:	2
+# 2.41 in perl-modules 5.18.0
+Version:	2.39
+Release:	1
 # same as perl 5
 License:	GPL v1+ or Artistic
 Group:		Development/Languages/Perl
-Source0:	http://www.cpan.org/modules/by-module/Storable/AMS/%{pnam}-%{version}.tar.gz
-# Source0-md5:	3fb1587d89d1238d4b26f09d3864b9a1
+Source0:	http://www.cpan.org/modules/by-module/Storable/%{pnam}-%{version}.tar.gz
+# Source0-md5:	0a9b63a6715b11d234d802c63b0c76e6
 URL:		http://search.cpan.org/dist/Storable/
 BuildRequires:	perl-Test-Simple >= 0.41
 BuildRequires:	perl-devel >= 1:5.8.0
 BuildRequires:	rpm-perlprov >= 4.1-13
-# remove the line below if you *really* have newer version than one
-# available in perl-modules
-#BuildRequires:	this-must-be-newer-version-than-in-perl-modules
+%if "%{version}" <= "%(rpm -q --provides perl-modules | grep ^perl-Storable | awk '{ print $3 }')"
+BuildRequires:	this-must-be-newer-version-than-in-perl-modules
+%endif
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %description
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/perl-Storable.git/commitdiff/1cf0c0f8127f29eab60a3b1cf7921f048ea772d0



More information about the pld-cvs-commit mailing list