[perl-Crypt-DES] 2.05_002 bump

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



commit 19b26e18de1dfbaf8c1644f6205da575c38f178d
Author: Petr Písař <ppisar@xxxxxxxxxx>
Date:   Fri Jul 19 14:16:30 2013 +0200

    2.05_002 bump

 .gitignore          |    1 +
 perl-Crypt-DES.spec |   20 ++++++++++++++------
 sources             |    2 +-
 3 files changed, 16 insertions(+), 7 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index 31a1ad7..c50e154 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1 +1,2 @@
 Crypt-DES-2.05.tar.gz
+/Crypt-DES-2.05_002.tar.gz
diff --git a/perl-Crypt-DES.spec b/perl-Crypt-DES.spec
index 3080d09..612cfb1 100644
--- a/perl-Crypt-DES.spec
+++ b/perl-Crypt-DES.spec
@@ -1,21 +1,26 @@
+%global cpan_version 2.05_002
 Name:           perl-Crypt-DES
-Version:        2.05
-Release:        20%{?dist}
+Version:        %(echo '%{cpan_version}' | tr _ .)
+Release:        1%{?dist}
 Summary:        Perl DES encryption module
 License:        BSD
 Group:          Development/Libraries
 URL:            http://search.cpan.org/dist/Crypt-DES/
-Source0:        http://www.cpan.org/authors/id/D/DP/DPARIS/Crypt-DES-%{version}.tar.gz
+Source0:        http://www.cpan.org/authors/id/D/DA/DAVIDO/Crypt-DES-%{cpan_version}.tar.gz
 BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
+BuildRequires:  perl
 BuildRequires:  perl(ExtUtils::MakeMaker)
 # Run-time:
 BuildRequires:  perl(Carp)
 BuildRequires:  perl(DynaLoader)
 BuildRequires:  perl(Exporter)
+BuildRequires:  perl(strict)
+BuildRequires:  perl(vars)
 # Tests:
-BuildRequires:  perl(Crypt::CBC) > 1.22
 BuildRequires:  perl(Benchmark)
 BuildRequires:  perl(Data::Dumper)
+# Optional tests:
+BuildRequires:  perl(Crypt::CBC) > 1.22
 Requires:       perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
 
 %{?perl_default_filter}
@@ -24,7 +29,7 @@ Requires:       perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $versi
 DES encryption module.
 
 %prep
-%setup -q -n Crypt-DES-%{version}
+%setup -q -n Crypt-DES-%{cpan_version}
 
 %build
 %{__perl} Makefile.PL INSTALLDIRS=vendor OPTIMIZE="$RPM_OPT_FLAGS"
@@ -49,12 +54,15 @@ rm -rf $RPM_BUILD_ROOT
 
 %files
 %defattr(-,root,root,-)
-%doc COPYRIGHT README
+%doc Changes COPYRIGHT README
 %{perl_vendorarch}/auto/*
 %{perl_vendorarch}/Crypt*
 %{_mandir}/man3/*
 
 %changelog
+* Fri Jul 19 2013 Petr Pisar <ppisar@xxxxxxxxxx> - 2.05.002-1
+- 2.05_002 bump
+
 * Thu Jul 18 2013 Petr Pisar <ppisar@xxxxxxxxxx> - 2.05-20
 - Perl 5.18 rebuild
 
diff --git a/sources b/sources
index c9093f3..65e00d2 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-a8a0bea7064e11d2af434f3e468c17bb  Crypt-DES-2.05.tar.gz
+e9a55f450730593b7165c58ec3acdbc2  Crypt-DES-2.05_002.tar.gz
--
Fedora Extras Perl SIG
http://www.fedoraproject.org/wiki/Extras/SIGs/Perl
perl-devel mailing list
perl-devel@xxxxxxxxxxxxxxxxxxxxxxx
https://admin.fedoraproject.org/mailman/listinfo/perl-devel





[Index of Archives]     [Fedora Announce]     [Fedora Kernel]     [Fedora Testing]     [Fedora Legacy Announce]     [Fedora PHP Devel]     [Kernel Devel]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Big List of Linux Books]     [Gimp]     [Yosemite Information]
  Powered by Linux