[perl-IO-Compress] 2.034 bump, some cleanup, fixing requirements
Petr Sabata
psabata at fedoraproject.org
Tue May 3 14:35:26 UTC 2011
commit 78f2ca0e88334e006dd38ce7263bffc43c112b06
Author: Petr Sabata <psabata at redhat.com>
Date: Tue May 3 16:35:14 2011 +0200
2.034 bump, some cleanup, fixing requirements
.gitignore | 1 +
perl-IO-Compress.spec | 38 +++++++++++++++++++++++---------------
sources | 2 +-
3 files changed, 25 insertions(+), 16 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index a1efbe5..27786db 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1 +1,2 @@
/IO-Compress-2.033.tar.gz
+/IO-Compress-2.034.tar.gz
diff --git a/perl-IO-Compress.spec b/perl-IO-Compress.spec
index 0d959f5..6872fa1 100644
--- a/perl-IO-Compress.spec
+++ b/perl-IO-Compress.spec
@@ -2,19 +2,29 @@
%{?perl_default_filter}
Name: perl-IO-Compress
-Version: 2.033
-Release: 2%{?dist}
+Version: 2.034
+Release: 1%{?dist}
Summary: Read and write compressed data
License: GPL+ or Artistic
Group: Development/Libraries
URL: http://search.cpan.org/dist/IO-Compress/
Source0: http://www.cpan.org/authors/id/P/PM/PMQS/IO-Compress-%{version}.tar.gz
-BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildArch: noarch
-BuildRequires: perl(Test::Pod), perl(Test::NoWarnings)
+Requires: perl(Exporter)
+BuildRequires: perl(bytes)
+BuildRequires: perl(constant)
BuildRequires: perl(Compress::Raw::Bzip2) >= %{version}
BuildRequires: perl(Compress::Raw::Zlib) >= %{version}
BuildRequires: perl(ExtUtils::MakeMaker)
+BuildRequires: perl(File::Copy)
+BuildRequires: perl(File::GlobMapper)
+BuildRequires: perl(IO::File)
+BuildRequires: perl(IO::Handle)
+BuildRequires: perl(IO::Seekable)
+BuildRequires: perl(Scalar::Util)
+BuildRequires: perl(Symbol)
+BuildRequires: perl(Test::Pod) >= 1.00, perl(Test::NoWarnings)
+BuildRequires: perl(Test::Builder), perl(Test::More), perl(Config)
Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
# this is wrapper for different Compress modules
Provides: perl-Compress-Zlib = %{version}-%{release}
@@ -47,11 +57,9 @@ included with the IO-Compress distribution:
# Remove spurious exec permissions
chmod -x lib/IO/Uncompress/{Adapter/Identity,RawInflate}.pm
find examples -type f -exec chmod -x {} +
-
# Fix shellbangs in examples
%{__perl} -pi -e 's|^#!/usr/local/bin/perl\b|#!%{__perl}|' examples/io/anycat \
examples/io/bzip2/* examples/io/gzip/* examples/compress-zlib/*
-
# Include IO::Compress::FAQ (#634722, CPAN RT#61402)
ln pod/FAQ.pod lib/IO/Compress/
@@ -60,22 +68,17 @@ ln pod/FAQ.pod lib/IO/Compress/
make %{?_smp_mflags}
%install
-rm -rf $RPM_BUILD_ROOT
-make pure_install DESTDIR=$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
+make pure_install DESTDIR=%{buildroot}
+find %{buildroot} -type f -name .packlist -exec rm -f {} \;
+find %{buildroot} -depth -type d -exec rmdir {} \; 2>/dev/null
+%{_fixperms} %{buildroot}
%check
# Build using "--without long_tests" to avoid very long tests
# (full suite can take nearly an hour on an i7)
make test %{?with_long_tests:COMPRESS_ZLIB_RUN_ALL=1}
-%clean
-rm -rf $RPM_BUILD_ROOT
-
%files
-%defattr(-,root,root,-)
%doc Changes README examples/*
%{perl_privlib}/Compress/
%{perl_privlib}/File/
@@ -86,6 +89,11 @@ rm -rf $RPM_BUILD_ROOT
%{_mandir}/man3/IO::Uncompress::*.3pm*
%changelog
+* Tue May 3 2011 Petr Sabata <psabata at redhat.com> - 2.034-1
+- 2.034 bump
+- Buildroot and defattr cleanup
+- Correcting BRs/Rs
+
* Tue Feb 08 2011 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 2.033-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
diff --git a/sources b/sources
index 4e1f2e3..c802fda 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-3c9091f3b76219bd79070efb7db8c877 IO-Compress-2.033.tar.gz
+9bb3cd94b15b9dda0611348abd3daa6f IO-Compress-2.034.tar.gz
More information about the scm-commits
mailing list