[perl-Compress-Raw-Zlib] 2.034 bump, some cleanup, fixing requirements

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



commit 71606755a5e04a82c36c6d765fd2e61fe69dd4a8
Author: Petr Sabata <psabata@xxxxxxxxxx>
Date:   Tue May 3 13:52:23 2011 +0200

    2.034 bump, some cleanup, fixing requirements

 .gitignore                  |    1 +
 perl-Compress-Raw-Zlib.spec |   39 ++++++++++++++++++++++-----------------
 sources                     |    2 +-
 3 files changed, 24 insertions(+), 18 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index a8eb0b6..50c4678 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1 +1,2 @@
 /Compress-Raw-Zlib-2.033.tar.gz
+/Compress-Raw-Zlib-2.034.tar.gz
diff --git a/perl-Compress-Raw-Zlib.spec b/perl-Compress-Raw-Zlib.spec
index 0dd56fc..1495497 100644
--- a/perl-Compress-Raw-Zlib.spec
+++ b/perl-Compress-Raw-Zlib.spec
@@ -1,14 +1,22 @@
 Name:           perl-Compress-Raw-Zlib
-Version:        2.033
-Release:        4%{?dist}
+Version:        2.034
+Release:        1%{?dist}
 Summary:        Low-Level Interface to zlib compression library
 License:        GPL+ or Artistic
 Group:          Development/Libraries
 URL:            http://search.cpan.org/dist/Compress-Raw-Zlib/
 Source0:        http://www.cpan.org/authors/id/P/PM/PMQS/Compress-Raw-Zlib-%{version}.tar.gz
-BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
+Requires:       perl(Exporter)
+# XSLoader or DynaLoader; choose wisely
+Requires:       perl(XSLoader)
+BuildRequires:  perl(AutoLoader)
+BuildRequires:  perl(bytes)
+BuildRequires:  perl(constant)
 BuildRequires:  perl(ExtUtils::MakeMaker)
+BuildRequires:  perl(Test::More)
 BuildRequires:  perl(Test::Pod) >= 1.00
+# see above
+BuildRequires:  perl(XSLoader)
 BuildRequires:  zlib-devel
 Requires:       perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
 
@@ -28,34 +36,31 @@ ZLIB_LIB=%{_libdir}
 ZLIB_INCLUDE=%{_includedir}
 export BUILD_ZLIB OLD_ZLIB ZLIB_LIB ZLIB_INCLUDE
 
-%{__perl} Makefile.PL INSTALLDIRS=perl OPTIMIZE="$RPM_OPT_FLAGS"
+%{__perl} Makefile.PL INSTALLDIRS=perl OPTIMIZE="%{optflags}"
 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 -type f -name '*.bs' -size 0 -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} -type f -name '*.bs' -size 0 -exec rm -f {} \;
+find %{buildroot} -depth -type d -exec rmdir {} 2>/dev/null \;
+%{_fixperms} %{buildroot}/*
 
 %check
 make test
 
-%clean
-rm -rf $RPM_BUILD_ROOT
-
 %files
-%defattr(-,root,root,-)
 %doc Changes README
 %{perl_archlib}/auto/Compress/
 %{perl_archlib}/Compress/
 %{_mandir}/man3/Compress::Raw::Zlib.3pm*
 
 %changelog
+* Tue May  3 2011 Petr Sabata <psabata@xxxxxxxxxx> - 2.034-1
+- 2.034 bump
+- Buildroot and defattr cleanup
+- Correcting BRs/Rs
+
 * Tue Feb 08 2011 Fedora Release Engineering <rel-eng@xxxxxxxxxxxxxxxxxxxxxxx> - 2.033-4
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
 
diff --git a/sources b/sources
index 449c9ec..26fdb2f 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-e9ec0f336997311648a0b611a1f1f6eb  Compress-Raw-Zlib-2.033.tar.gz
+d5ad80bea79fb660305c6342a8196135  Compress-Raw-Zlib-2.034.tar.gz
--
Fedora Extras Perl SIG
http://www.fedoraproject.org/wiki/Extras/SIGs/Perl
perl-devel mailing list
perl-devel@xxxxxxxxxxxxxxxxxxxxxxx
https://admin.fedoraproject.org/mailman/listinfo/perl-devel


[Index of Archives]     [Fedora Announce]     [Fedora Kernel]     [Fedora Testing]     [Fedora Legacy Announce]     [Fedora PHP Devel]     [Kernel Devel]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Big List of Linux Books]     [Gimp]     [Yosemite Information]
  Powered by Linux