rpms/perl-IO-Zlib/EL-4 perl-IO-Zlib.spec,1.6,1.7

Steven Pritchard (steve) fedora-extras-commits at redhat.com
Fri Dec 21 16:18:48 UTC 2007


Author: steve

Update of /cvs/pkgs/rpms/perl-IO-Zlib/EL-4
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv30942

Modified Files:
	perl-IO-Zlib.spec 
Log Message:
Update License tag.
Canonicalize Source0 URL.
Fix find option order.
Use fixperms macro instead of our own chmod incantation.
Remove check macro cruft.
Clean up random other cruft.
BR ExtUtils::MakeMaker.



Index: perl-IO-Zlib.spec
===================================================================
RCS file: /cvs/pkgs/rpms/perl-IO-Zlib/EL-4/perl-IO-Zlib.spec,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -r1.6 -r1.7
--- perl-IO-Zlib.spec	2 Apr 2005 21:20:10 -0000	1.6
+++ perl-IO-Zlib.spec	21 Dec 2007 16:17:29 -0000	1.7
@@ -1,20 +1,17 @@
-%{!?perl_vendorlib: %define perl_vendorlib %(eval "`%{__perl} -V:installvendorlib`"; echo $installvendorlib)}
-
 Name:           perl-IO-Zlib
 Version:        1.04
-Release:        2
+Release:        3%{?dist}
 Summary:        IO:: style interface to Compress::Zlib
-
 Group:          Development/Libraries
-License:        GPL or Artistic
+License:        GPL+ or Artistic
 URL:            http://search.cpan.org/dist/IO-Zlib/
-Source0:      http://www.cpan.org/authors/id/T/TO/TOMHUGHES/IO-Zlib-1.04.tar.gz
+Source0:        http://www.cpan.org/authors/id/T/TO/TOMHUGHES/IO-Zlib-%{version}.tar.gz
 BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 
 BuildArch:      noarch
-BuildRequires:  perl >= 1:5.6.1
 BuildRequires:  perl(Compress::Zlib)
-Requires:  perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
+BuildRequires:  perl(ExtUtils::MakeMaker)
+Requires:       perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
 Requires:       perl(Compress::Zlib)
 
 %description
@@ -23,41 +20,43 @@
 much the same way as an IO::File object so you can have common code
 that doesn't know which sort of file it is using.
 
-
 %prep
 %setup -q -n IO-Zlib-%{version}
 
-
 %build
 %{__perl} Makefile.PL INSTALLDIRS=vendor
 make %{?_smp_mflags}
 
-
 %install
 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
 rm t/0signature.t
 make test
 
-
 %clean
 rm -rf $RPM_BUILD_ROOT
 
-
 %files
 %defattr(-,root,root,-)
 %doc ChangeLog README
 %{perl_vendorlib}/IO
 %{_mandir}/man3/*.3*
 
-
 %changelog
+* Fri Dec 21 2007 Steven Pritchard <steve at kspei.com> 1.04-3
+- Update License tag.
+- Canonicalize Source0 URL.
+- Fix find option order.
+- Use fixperms macro instead of our own chmod incantation.
+- Remove check macro cruft.
+- Clean up random other cruft.
+- BR ExtUtils::MakeMaker.
+
 * Fri Apr  2 2005 Jose Pedro Oliveira <jpo at di.uminho.pt> - 1.04-2
 - Explicit requirement: Compress::Zlib.
 




More information about the fedora-extras-commits mailing list