[perl-CPAN-Checksums] 2.08 bump
Petr Sabata
psabata at fedoraproject.org
Tue Aug 30 11:02:02 UTC 2011
commit 29cbcd47ce5b7c0732f7b5f67901f242fa946462
Author: Petr Sabata <contyk at redhat.com>
Date: Tue Aug 30 13:01:06 2011 +0200
2.08 bump
.gitignore | 1 +
perl-CPAN-Checksums.spec | 28 ++++++++++++++--------------
sources | 2 +-
3 files changed, 16 insertions(+), 15 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index 084f69b..33ed55b 100644
--- a/.gitignore
+++ b/.gitignore
@@ -2,3 +2,4 @@ CPAN-Checksums-2.04.tar.gz
/CPAN-Checksums-2.05.tar.gz
/CPAN-Checksums-2.06.tar.gz
/CPAN-Checksums-2.07.tar.gz
+/CPAN-Checksums-2.08.tar.gz
diff --git a/perl-CPAN-Checksums.spec b/perl-CPAN-Checksums.spec
index f266974..c152941 100644
--- a/perl-CPAN-Checksums.spec
+++ b/perl-CPAN-Checksums.spec
@@ -1,12 +1,11 @@
Name: perl-CPAN-Checksums
-Version: 2.07
-Release: 3%{?dist}
+Version: 2.08
+Release: 1%{?dist}
Summary: Write a CHECKSUMS file for a directory as on CPAN
License: GPL+ or Artistic
Group: Development/Libraries
URL: http://search.cpan.org/dist/CPAN-Checksums/
Source0: http://www.cpan.org/authors/id/A/AN/ANDK/CPAN-Checksums-%{version}.tar.gz
-BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildArch: noarch
BuildRequires: perl(Compress::Bzip2)
BuildRequires: perl(Compress::Zlib)
@@ -19,10 +18,13 @@ BuildRequires: perl(ExtUtils::MakeMaker)
BuildRequires: perl(File::Spec)
BuildRequires: perl(File::Temp)
BuildRequires: perl(IO::File) >= 1.14
+BuildRequires: perl(Module::Signature)
+BuildRequires: perl(Safe)
BuildRequires: perl(Test::More)
# Optional tests
BuildRequires: perl(Test::Pod) >= 1.00
BuildRequires: perl(Test::Pod::Coverage) >= 0.18
+Requires: perl(Safe)
Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
%description
@@ -36,29 +38,27 @@ Write a CHECKSUMS file for a directory as on CPAN.
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 {} \;
-find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null \;
-%{_fixperms} $RPM_BUILD_ROOT/*
+rm -rf %{buildroot}
+make pure_install PERL_INSTALL_ROOT=%{buildroot}
+find %{buildroot} -type f -name .packlist -exec rm -f {} \;
+find %{buildroot} -depth -type d -exec rmdir {} 2>/dev/null \;
+%{_fixperms} %{buildroot}/*
%check
# test checks MANIFEST - would fail because of debug files
rm -rf ./debugfiles.list ./debuglinks.list ./debugsources.list
make test
-%clean
-rm -rf $RPM_BUILD_ROOT
-
%files
-%defattr(-,root,root,-)
%doc README Todo
%{perl_vendorlib}/*
%{_mandir}/man3/*
%changelog
+* Tue Aug 30 2011 Petr Sabata <contyk at redhat.com> - 2.08-1
+- 2.08 bump
+- Drop now obsolete BuildRoot and defattr
+
* Tue Jul 19 2011 Petr Sabata <contyk at redhat.com> - 2.07-3
- Perl mass rebuild
diff --git a/sources b/sources
index 67f3b6d..93fce76 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-586b4a829c5906ab4223616cab8595d9 CPAN-Checksums-2.07.tar.gz
+058679056ade8ee885b8538fe195d84a CPAN-Checksums-2.08.tar.gz
More information about the perl-devel
mailing list