[perl-Digest-MD2] Update to 2.04

Paul Howarth pghmcfc at fedoraproject.org
Tue Apr 29 10:21:26 UTC 2014


commit 057ea70def1863d9508ad5dcb50050506765e006
Author: Paul Howarth <paul at city-fan.org>
Date:   Tue Apr 29 11:20:14 2014 +0100

    Update to 2.04
    
    - New upstream release 2.04 (no changes)
    - Specify all dependencies
    - Drop %defattr, redundant since rpm 4.4
    - Don't need to remove empty directories from the buildroot

 .gitignore           |    2 +-
 perl-Digest-MD2.spec |   17 +++++++++++++----
 sources              |    2 +-
 3 files changed, 15 insertions(+), 6 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index d653da1..45981aa 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1 +1 @@
-Digest-MD2-2.03.tar.gz
+/Digest-MD2-[0-9.]*.tar.gz
diff --git a/perl-Digest-MD2.spec b/perl-Digest-MD2.spec
index 8b3f0b4..eef6fd9 100644
--- a/perl-Digest-MD2.spec
+++ b/perl-Digest-MD2.spec
@@ -1,14 +1,19 @@
 Summary:	Perl interface to the MD2 Algorithm
 Name:		perl-Digest-MD2
-Version:	2.03
-Release:	23%{?dist}
+Version:	2.04
+Release:	1%{?dist}
 License:	GPL+ or Artistic
 Group:		Development/Libraries
 Url:		http://search.cpan.org/dist/Digest-MD2/
 Source0:	http://search.cpan.org/CPAN/authors/id/G/GA/GAAS/Digest-MD2-%{version}.tar.gz
 Patch0:		Digest-MD2-2.03-utf8.patch
 BuildRoot:	%{_tmppath}/%{name}-%{version}-%{release}-root-%(id -nu)
+BuildRequires:	perl
+BuildRequires:	perl(DynaLoader)
+BuildRequires:	perl(Exporter)
 BuildRequires:	perl(ExtUtils::MakeMaker)
+BuildRequires:	perl(strict)
+BuildRequires:	perl(vars)
 Requires:	perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
 
 # Don't "provide" private Perl libs
@@ -38,7 +43,6 @@ rm -rf %{buildroot}
 make pure_install DESTDIR=%{buildroot}
 find %{buildroot} -type f -name .packlist -exec rm -f {} ';'
 find %{buildroot} -type f -name '*.bs' -a -size 0 -exec rm -f {} ';'
-find %{buildroot} -depth -type d -exec rmdir {} ';' 2>/dev/null
 %{_fixperms} %{buildroot}
 
 %check
@@ -48,13 +52,18 @@ make test
 rm -rf %{buildroot}
 
 %files
-%defattr(-,root,root,-)
 %doc README Changes rfc1319.txt 
 %{perl_vendorarch}/Digest/
 %{perl_vendorarch}/auto/Digest/
 %{_mandir}/man3/Digest::MD2.3pm*
 
 %changelog
+* Tue Apr 29 2014 Paul Howarth <paul at city-fan.org> - 2.04-1
+- Update to 2.04 (no changes)
+- Specify all dependencies
+- Drop %%defattr, redundant since rpm 4.4
+- Don't need to remove empty directories from the buildroot
+
 * Sat Aug 03 2013 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 2.03-23
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
 
diff --git a/sources b/sources
index c729377..42f9618 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-feecf9faa1b0a499a48fce214a309a78  Digest-MD2-2.03.tar.gz
+cdb34485ef5c345f40d8aae016a00ff6  Digest-MD2-2.04.tar.gz



More information about the perl-devel mailing list