rpms/perl-Archive-Zip/devel perl-Archive-Zip.spec,1.8,1.9

Robin Norwood (rnorwood) fedora-extras-commits at redhat.com
Thu Jun 28 02:53:05 UTC 2007


Author: rnorwood

Update of /cvs/pkgs/rpms/perl-Archive-Zip/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv4712

Modified Files:
	perl-Archive-Zip.spec 
Log Message:
incorporate changes from Steven Pritchard's package review.


Index: perl-Archive-Zip.spec
===================================================================
RCS file: /cvs/pkgs/rpms/perl-Archive-Zip/devel/perl-Archive-Zip.spec,v
retrieving revision 1.8
retrieving revision 1.9
diff -u -r1.8 -r1.9
--- perl-Archive-Zip.spec	5 Jun 2007 18:20:14 -0000	1.8
+++ perl-Archive-Zip.spec	28 Jun 2007 02:52:30 -0000	1.9
@@ -1,6 +1,6 @@
 Name:           perl-Archive-Zip
 Version:        1.20
-Release:        1
+Release:        2%{?dist}
 Summary:        Perl library for accessing Zip archives
 
 Group:          Development/Libraries
@@ -10,7 +10,12 @@
 BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 BuildArch:      noarch
 
-BuildRequires:  perl(Compress::Zlib)
+BuildRequires:  perl(Compress::Zlib) >= 1.14
+BuildRequires:  perl(ExtUtils::MakeMaker)
+BuildRequires:  perl(File::Which) >= 0.05
+BuildRequires:  unzip
+BuildRequires:  zip
+
 Requires:  perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
 
 %description
@@ -40,11 +45,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
 
 
@@ -54,13 +59,23 @@
 
 %files
 %defattr(-,root,root,-)
-%doc Changes README examples/
+%doc Changes LICENSE README docs/ examples/
 %{_bindir}/crc32
 %{perl_vendorlib}/Archive/
 %{_mandir}/man3/Archive*.3*
 
 
 %changelog
+* Wed Jun 27 2007 Robin Norwood <rnorwood at redhat.com> - 1.20-2
+- Resolves: rhbz#226240
+- Incorporate changes from Steven Pritchard's package review
+- Fix find option order.
+- Use fixperms macro instead of our own chmod incantation.
+- Remove check macro cruft.
+- Update build dependencies.
+- Package LICENSE.
+- BR unzip, zip for better test coverage.
+
 * Tue Jun 05 2007 Robin Norwood <rnorwood at redhat.com> - 1.20-1
 - Update to latest CPAN version: 1.20
 - Fix broken changelog




More information about the fedora-extras-commits mailing list