From 3af4e688705b88938552b6dd0747a5cdd34a3141 Mon Sep 17 00:00:00 2001
From: Jitka Plesnikova <jplesnik(a)redhat.com>
Date: Tue, 30 Aug 2016 09:27:13 +0200
Subject: 2.20 bump
---
.gitignore | 1 +
perl-Crypt-ECB.spec | 27 +++++++++++++++++++--------
sources | 2 +-
3 files changed, 21 insertions(+), 9 deletions(-)
diff --git a/.gitignore b/.gitignore
index 716b903..cbf6550 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1 +1,2 @@
/Crypt-ECB-1.45.tar.gz
+/Crypt-ECB-2.20.tar.gz
diff --git a/perl-Crypt-ECB.spec b/perl-Crypt-ECB.spec
index 819b352..76c11f5 100644
--- a/perl-Crypt-ECB.spec
+++ b/perl-Crypt-ECB.spec
@@ -1,19 +1,26 @@
Name: perl-Crypt-ECB
-Version: 1.45
-Release: 5%{?dist}
+Version: 2.20
+Release: 1%{?dist}
Summary: Encrypt Data using ECB Mode
-License: GPLv2+
+License: GPL+ or Artistic
Group: Development/Libraries
URL:
http://search.cpan.org/dist/Crypt-ECB/
Source0:
http://www.cpan.org/modules/by-module/Crypt/Crypt-ECB-%{version}.tar.gz
BuildArch: noarch
+BuildRequires: coreutils
+BuildRequires: findutils
+BuildRequires: make
BuildRequires: perl
BuildRequires: perl-generators
-BuildRequires: perl(constant)
-BuildRequires: perl(Exporter)
BuildRequires: perl(ExtUtils::MakeMaker)
+# Run-time
+BuildRequires: perl(Exporter)
BuildRequires: perl(strict)
BuildRequires: perl(vars)
+BuildRequires: perl(warnings)
+# Tests
+BuildRequires: perl(lib)
+BuildRequires: perl(Test::More)
Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo
$version))
%description
@@ -25,7 +32,7 @@ cryptography if you want to know why.
%prep
%setup -q -n Crypt-ECB-%{version}
-chmod -x ECB.pm CHANGES COPYING README
+chmod -x ECB.pm CHANGES README* eg/* ARTISTIC GPL1
%build
%{__perl} Makefile.PL INSTALLDIRS=vendor
@@ -34,7 +41,7 @@ make %{?_smp_mflags}
%install
make pure_install DESTDIR=$RPM_BUILD_ROOT
-find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} \;
+find $RPM_BUILD_ROOT -type f -name .packlist -delete
%{_fixperms} $RPM_BUILD_ROOT/*
@@ -42,11 +49,15 @@ find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} \;
make test
%files
-%doc CHANGES COPYING README
+%license ARTISTIC GPL1
+%doc CHANGES eg README README.XTEA
%{perl_vendorlib}/*
%{_mandir}/man3/*
%changelog
+* Tue Aug 30 2016 Jitka Plesnikova <jplesnik(a)redhat.com> - 2.20-1
+- 2.20 bump
+
* Sat May 14 2016 Jitka Plesnikova <jplesnik(a)redhat.com> - 1.45-5
- Perl 5.24 rebuild
diff --git a/sources b/sources
index 94062a9..a60bbde 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-c0eb6e86045c1145fbc7867a84e2dcdd Crypt-ECB-1.45.tar.gz
+4f3b753e1499cb5fa33ae7992ada423f Crypt-ECB-2.20.tar.gz
--
cgit v0.12
http://pkgs.fedoraproject.org/cgit/perl-Crypt-ECB.git/commit/?h=master&am...