rpms/perl-Archive-Zip/EL-4 .cvsignore, 1.3, 1.4 perl-Archive-Zip.spec, 1.5, 1.6 sources, 1.3, 1.4

Robin Norwood (rnorwood) fedora-extras-commits at redhat.com
Mon Aug 13 16:52:07 UTC 2007


Author: rnorwood

Update of /cvs/pkgs/rpms/perl-Archive-Zip/EL-4
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv13956

Modified Files:
	.cvsignore perl-Archive-Zip.spec sources 
Log Message:
new perl-Archive-Zip for EPEL 4.


Index: .cvsignore
===================================================================
RCS file: /cvs/pkgs/rpms/perl-Archive-Zip/EL-4/.cvsignore,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -r1.3 -r1.4
--- .cvsignore	8 Nov 2004 04:57:50 -0000	1.3
+++ .cvsignore	13 Aug 2007 16:51:29 -0000	1.4
@@ -1 +1 @@
-Archive-Zip-1.12.tar.gz
+Archive-Zip-1.20.tar.gz


Index: perl-Archive-Zip.spec
===================================================================
RCS file: /cvs/pkgs/rpms/perl-Archive-Zip/EL-4/perl-Archive-Zip.spec,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -r1.5 -r1.6
--- perl-Archive-Zip.spec	10 Dec 2004 22:03:07 -0000	1.5
+++ perl-Archive-Zip.spec	13 Aug 2007 16:51:29 -0000	1.6
@@ -1,19 +1,22 @@
-%{!?perl_vendorlib: %define perl_vendorlib %(eval "`%{__perl} -V:installvendorlib`"; echo $installvendorlib)}
-
 Name:           perl-Archive-Zip
-Version:        1.12
-Release:        1
-Epoch:          0
+Version:        1.20
+Release:        1%{?dist}
 Summary:        Perl library for accessing Zip archives
 
 Group:          Development/Libraries
-License:        GPL or Artistic
+License:        GPL+ or Artistic
 URL:            http://search.cpan.org/dist/Archive-Zip/
-Source0:    http://www.cpan.org/authors/id/N/NE/NEDKONZ/Archive-Zip-1.12.tar.gz
+Source0:        http://search.cpan.org/CPAN/authors/id/A/AD/ADAMK/Archive-Zip-%{version}.tar.gz
 BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 BuildArch:      noarch
 
-BuildRequires:  perl(Compress::Zlib), perl(File::Temp)
+BuildRequires:  perl(Compress::Zlib) >= 1.14
+BuildRequires:  perl(ExtUtils::MakeMaker)
+BuildRequires:  perl(File::Which) >= 0.05
+BuildRequires:  perl(Test::More)
+BuildRequires:  unzip
+BuildRequires:  zip
+
 Requires:  perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
 
 %description
@@ -30,7 +33,8 @@
 
 %prep
 %setup -q -n Archive-Zip-%{version}
-%{__perl} -pi -e 's|/usr/local/bin/perl|%{__perl}|' examples/*.pl
+%{__perl} -pi -e 's|^#!/bin/perl|#!%{__perl}|' examples/*.pl
+%{__perl} -pi -e 's|^#!/usr/local/bin/perl|#!%{__perl}|' examples/selfex.pl
 
 
 %build
@@ -42,11 +46,11 @@
 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 -type d -depth -exec rmdir {} 2>/dev/null ';'
-chmod -R u+w $RPM_BUILD_ROOT/*
+find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null ';'
+%{_fixperms} $RPM_BUILD_ROOT/*
 
 
-%check || :
+%check
 make test
 
 
@@ -56,13 +60,17 @@
 
 %files
 %defattr(-,root,root,-)
-%doc Changes README TODO docs/ examples/
+%doc Changes LICENSE README examples/
 %{_bindir}/crc32
 %{perl_vendorlib}/Archive/
 %{_mandir}/man3/Archive*.3*
 
 
 %changelog
+* Mon Aug 13 2007 Robin Norwood <rnorwood at redhat.com> - 1.20-1
+- New version for EPEL 4
+- Fix spec file to match latest fedora changes
+
 * Sun Aug 15 2004 Ville Skyttä <ville.skytta at iki.fi> - 0:1.12-0.fdr.1
 - Update to 1.12.
 


Index: sources
===================================================================
RCS file: /cvs/pkgs/rpms/perl-Archive-Zip/EL-4/sources,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -r1.3 -r1.4
--- sources	8 Nov 2004 04:57:50 -0000	1.3
+++ sources	13 Aug 2007 16:51:29 -0000	1.4
@@ -1 +1 @@
-e8789249d24f283639766295f6eace17  Archive-Zip-1.12.tar.gz
+6e40ed5e4ae4174b998388ade76148a7  Archive-Zip-1.20.tar.gz




More information about the fedora-extras-commits mailing list