[perl-Crypt-PasswdMD5] 1.40 bump

Petr Pisar ppisar at fedoraproject.org
Tue Oct 1 15:04:45 UTC 2013


commit f4e52860bf81f39094824a8d61c3a7ba5a9bc7c4
Author: Petr Písař <ppisar at redhat.com>
Date:   Tue Oct 1 17:04:17 2013 +0200

    1.40 bump

 .gitignore                |    1 +
 perl-Crypt-PasswdMD5.spec |   49 ++++++++++++++++++++++++++++----------------
 sources                   |    2 +-
 3 files changed, 33 insertions(+), 19 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index 8073ece..1542b61 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1 +1,2 @@
 Crypt-PasswdMD5-1.3.tar.gz
+/Crypt-PasswdMD5-1.40.tgz
diff --git a/perl-Crypt-PasswdMD5.spec b/perl-Crypt-PasswdMD5.spec
index 940ca54..a0a2516 100644
--- a/perl-Crypt-PasswdMD5.spec
+++ b/perl-Crypt-PasswdMD5.spec
@@ -1,25 +1,34 @@
-Name: 		perl-Crypt-PasswdMD5
-Version:	1.3
-Release:	19%{?dist}
-Summary:	Provides interoperable MD5-based crypt() functions 
-License:	(GPL+ or Artistic) and Beerware
-Group:		Development/Libraries
-URL: 		http://search.cpan.org/dist/Crypt-PasswdMD5/
-Source0: 	http://search.cpan.org/CPAN/authors/id/L/LU/LUISMUNOZ/Crypt-PasswdMD5-%{version}.tar.gz
-Requires:  	perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
-BuildArch: 	noarch
-BuildRequires:  perl(Digest::MD5)
-BuildRequires:  perl(Exporter)
+%global cpan_version 1.40
+Name:       perl-Crypt-PasswdMD5
+# Keep 1-digit version because of history
+Version:    %(echo '%{cpan_version}' | sed 's/\.\(.\)/.\1./')
+Release:    1%{?dist}
+Summary:    Provides interoperable MD5-based crypt() functions 
+License:    GPL+ or Artistic
+Group:      Development/Libraries
+URL:        http://search.cpan.org/dist/Crypt-PasswdMD5/
+Source0:    http://search.cpan.org/CPAN/authors/id/R/RS/RSAVAGE/Crypt-PasswdMD5-%{cpan_version}.tgz
+BuildArch:  noarch
+BuildRequires:  perl
 BuildRequires:  perl(ExtUtils::MakeMaker)
-BuildRequires:  %{_bindir}/iconv
+BuildRequires:  perl(strict)
+BuildRequires:  perl(warnings)
+# Run-time:
+BuildRequires:  perl(Digest::MD5) >= 2.53
+BuildRequires:  perl(Exporter)
+# Tests:
+BuildRequires:  perl(Test::More) >= 0.94
+Requires:       perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
+Requires:       perl(Digest::MD5) >= 2.53
+
+# Filer under-specified dependencies
+%global __requires_exclude %{?__requires_exclude:%__requires_exclude|}^perl\\(Digest::MD5\\)$
 
 %description
-This package provides MD5-based crypt() functions
+This package provides MD5-based crypt() functions.
 
 %prep
-%setup -q -n Crypt-PasswdMD5-%{version}
-%{_bindir}/iconv -f iso-8859-1 -t utf-8 -o PasswdMD5.pm.new PasswdMD5.pm && mv PasswdMD5.pm.new PasswdMD5.pm
-%{__sed} -i -e 's/ISO-8859-1/UTF-8/' PasswdMD5.pm
+%setup -q -n Crypt-PasswdMD5-%{cpan_version}
 
 %build
 perl Makefile.PL INSTALLDIRS=vendor
@@ -34,11 +43,15 @@ chmod -R u+w %{buildroot}/*
 make test
 
 %files
-%doc README
+%doc Changes README
 %{perl_vendorlib}/Crypt
 %{_mandir}/man3/*
 
 %changelog
+* Tue Oct 01 2013 Petr Pisar <ppisar at redhat.com> - 1.4.0-1
+- 1.40 bump
+- License changed to (GPL+ or Artistic)
+
 * Sat Aug 03 2013 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 1.3-19
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
 
diff --git a/sources b/sources
index 258fbda..2e80e9d 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-368205b1be8c0d4f807afe25d6fbd1ad  Crypt-PasswdMD5-1.3.tar.gz
+efc61e1f62c9768be39df2613d685343  Crypt-PasswdMD5-1.40.tgz



More information about the perl-devel mailing list