[perl-Crypt-CAST5_PP] doesn't require perl(Test::More)
Iain Arnell
iarnell at fedoraproject.org
Sun Dec 12 06:55:51 UTC 2010
commit e75eb2691b9771243b6d9b6d880bde4ad32149d3
Author: Iain Arnell <iarnell at gmail.com>
Date: Sun Dec 12 07:52:05 2010 +0100
doesn't require perl(Test::More)
- use perl_default_filter
- clean up spec for modern rpmbuild
perl-Crypt-CAST5_PP.spec | 16 ++++++++--------
1 files changed, 8 insertions(+), 8 deletions(-)
---
diff --git a/perl-Crypt-CAST5_PP.spec b/perl-Crypt-CAST5_PP.spec
index ca15315..ece4b70 100644
--- a/perl-Crypt-CAST5_PP.spec
+++ b/perl-Crypt-CAST5_PP.spec
@@ -1,20 +1,20 @@
Name: perl-Crypt-CAST5_PP
Version: 1.04
-Release: 6%{?dist}
+Release: 7%{?dist}
Summary: CAST5 block cipher in pure Perl
License: GPL+ or Artistic
Group: Development/Libraries
URL: http://search.cpan.org/dist/Crypt-CAST5_PP/
Source0: http://www.cpan.org/modules/by-module/Crypt/Crypt-CAST5_PP-%{version}.tar.gz
-BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildArch: noarch
BuildRequires: perl(ExtUtils::MakeMaker)
BuildRequires: perl(Test::More) >= 0.47
BuildRequires: perl(Test::Taint)
BuildRequires: perl(Crypt::CBC)
-Requires: perl(Test::More) >= 0.47
Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
+%{?perl_default_filter}
+
%description
This module provides a pure Perl implementation of the CAST5 block cipher.
CAST5 is also known as CAST-128. It is a product of the CAST design
@@ -28,8 +28,6 @@ procedure developed by C. Adams and S. Tavares.
make %{?_smp_mflags}
%install
-rm -rf $RPM_BUILD_ROOT
-
make pure_install PERL_INSTALL_ROOT=$RPM_BUILD_ROOT
find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} \;
@@ -40,9 +38,6 @@ find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null \;
%check
make test
-%clean
-rm -rf $RPM_BUILD_ROOT
-
%files
%defattr(-,root,root,-)
%doc Changes mkschedule README
@@ -50,6 +45,11 @@ rm -rf $RPM_BUILD_ROOT
%{_mandir}/man3/*
%changelog
+* Sun Dec 12 2010 Iain Arnell <iarnell at gmail.com> 1.04-7
+- doesn't require perl(Test::More)
+- use perl_default_filter
+- clean up spec for modern rpmbuild
+
* Fri Apr 30 2010 Marcela Maslanova <mmaslano at redhat.com> - 1.04-6
- Mass rebuild with perl-5.12.0
More information about the perl-devel
mailing list