rpms/perl-Compress-Zlib/devel .cvsignore, 1.9, 1.10 perl-Compress-Zlib.spec, 1.28, 1.29 sources, 1.9, 1.10

Robin Norwood (rnorwood) fedora-extras-commits at redhat.com
Fri Aug 10 17:02:26 UTC 2007


Author: rnorwood

Update of /cvs/pkgs/rpms/perl-Compress-Zlib/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv25952

Modified Files:
	.cvsignore perl-Compress-Zlib.spec sources 
Log Message:
update to latest CPAN.


Index: .cvsignore
===================================================================
RCS file: /cvs/pkgs/rpms/perl-Compress-Zlib/devel/.cvsignore,v
retrieving revision 1.9
retrieving revision 1.10
diff -u -r1.9 -r1.10
--- .cvsignore	2 Dec 2006 17:37:10 -0000	1.9
+++ .cvsignore	10 Aug 2007 17:01:52 -0000	1.10
@@ -1 +1 @@
-Compress-Zlib-2.001.tar.gz
+Compress-Zlib-2.004.tar.gz


Index: perl-Compress-Zlib.spec
===================================================================
RCS file: /cvs/pkgs/rpms/perl-Compress-Zlib/devel/perl-Compress-Zlib.spec,v
retrieving revision 1.28
retrieving revision 1.29
diff -u -r1.28 -r1.29
--- perl-Compress-Zlib.spec	2 Dec 2006 17:37:10 -0000	1.28
+++ perl-Compress-Zlib.spec	10 Aug 2007 17:01:52 -0000	1.29
@@ -1,17 +1,17 @@
-
-%define perl_vendorlib %(eval "`perl -V:installvendorlib`"; echo $installvendorlib)
-%define perl_vendorarch %(eval "`perl -V:installvendorarch`"; echo $installvendorarch)
-
 Name: perl-Compress-Zlib
-Version: 2.001
+Version: 2.005
 Release: 1%{?dist}
-Summary: A module providing Perl interfaces to the zlib compression library.
+Summary: A module providing Perl interfaces to the zlib compression library
 License: GPL or Artistic
 Group: Development/Libraries
 URL: http://search.cpan.org/dist/Compress-Zlib/
 Source: ftp://cpan.org/pub/CPAN/authors/id/P/PM/PMQS/Compress-Zlib-%{version}.tar.gz
-BuildRoot: %{_tmppath}/%{name}-root
-BuildRequires: perl >= 0:5.00503, zlib-devel
+BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
+
+BuildArch: noarch
+BuildRequires: perl, zlib-devel, perl(ExtUtils::MakeMaker)
+BuildRequires: perl(IO::Compress::Base), perl(IO::Compress::Gzip)
+BuildRequires: perl(Test::Pod)
 
 %description
 The Compress::Zlib module provides a Perl interface to the zlib
@@ -31,7 +31,8 @@
 ZLIB_LIB=%{_libdir}
 ZLIB_INCLUDE=%{_includedir}
 export BUILD_ZLIB OLD_ZLIB ZLIB_LIB ZLIB_INCLUDE
-CFLAGS="$RPM_OPT_FLAGS" perl Makefile.PL PREFIX=$RPM_BUILD_ROOT/usr INSTALLDIRS=vendor
+
+%{__perl} Makefile.PL INSTALLDIRS=vendor
 make %{?_smp_mflags}
 
 %check
@@ -42,20 +43,26 @@
 
 %install
 rm -rf $RPM_BUILD_ROOT
-%makeinstall
+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 ';'
+chmod -R u+w $RPM_BUILD_ROOT/*
 
-rm -rf %{buildroot}%{perl_archlib} \
-       %{buildroot}%{perl_vendorarch}/auto/*{,/*{,/*}}/{.packlist,*.bs}
 
 %files
-%defattr(-, root, root, 0755)
-%doc ANNOUNCE README
-%doc %{_mandir}/man?/*
-%{perl_vendorarch}/Compress/
-%{perl_vendorarch}/auto/Compress/
+%defattr(-,root,root,-)
+%doc Changes README
+%{perl_vendorlib}/Compress/
+%{perl_vendorlib}/auto/Compress/
+%{_mandir}/man3/*.3*
 
 %changelog
-* Sat Dec 02 2006 Robin Norwood <rnorwood at redhat.com - 2.001-1
+* Fri Aug 10 2007 Robin Norwood <rnorwood at redhat.com> - 2.005-1
+- Upgrade to latest CPAN version: 2.005
+- Fix some specfile issues
+- The package is now noarch
+
+* Sat Dec 02 2006 Robin Norwood <rnorwood at redhat.com> - 2.001-1
 - New version: 2.001
 
 * Mon Jul 17 2006 Jason Vas Dias <jvdias at redhat.com> - 1.42-1


Index: sources
===================================================================
RCS file: /cvs/pkgs/rpms/perl-Compress-Zlib/devel/sources,v
retrieving revision 1.9
retrieving revision 1.10
diff -u -r1.9 -r1.10
--- sources	2 Dec 2006 17:37:10 -0000	1.9
+++ sources	10 Aug 2007 17:01:52 -0000	1.10
@@ -1 +1 @@
-73816b5839a5e502efe3ee7951168ac1  Compress-Zlib-2.001.tar.gz
+ea7837294a3a434c1266c7e9862c4360  Compress-Zlib-2.004.tar.gz




More information about the fedora-extras-commits mailing list