From 14e251d93d28d33289d870bd64b27a947c6643d3 Mon Sep 17 00:00:00 2001 From: Steven Pritchard Date: Apr 17 2007 22:56:25 +0000 Subject: Use fixperms macro instead of our own chmod incantation. BR ExtUtils::MakeMaker. --- diff --git a/perl-CPAN-DistnameInfo.spec b/perl-CPAN-DistnameInfo.spec index a878781..67279d3 100644 --- a/perl-CPAN-DistnameInfo.spec +++ b/perl-CPAN-DistnameInfo.spec @@ -1,6 +1,6 @@ Name: perl-CPAN-DistnameInfo Version: 0.06 -Release: 2%{?dist} +Release: 3%{?dist} Summary: CPAN::DistnameInfo Perl module License: GPL or Artistic Group: Development/Libraries @@ -8,6 +8,7 @@ URL: http://search.cpan.org/dist/CPAN-DistnameInfo/ Source0: http://www.cpan.org/authors/id/G/GB/GBARR/CPAN-DistnameInfo-%{version}.tar.gz BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildArch: noarch +BuildRequires: perl(ExtUtils::MakeMaker) Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) %description @@ -38,7 +39,7 @@ 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+rwX,go+rX,go-w $RPM_BUILD_ROOT/* +%{_fixperms} $RPM_BUILD_ROOT/* perldoc -t perlgpl > COPYING perldoc -t perlartistic > Artistic @@ -56,6 +57,10 @@ rm -rf $RPM_BUILD_ROOT %{_mandir}/man3/* %changelog +* Tue Apr 17 2007 Steven Pritchard 0.06-3 +- Use fixperms macro instead of our own chmod incantation. +- BR ExtUtils::MakeMaker. + * Sat Sep 16 2006 Steven Pritchard 0.06-2 - Canonicalize Source0 URL. - Fix find option order.