Author: qboosh Date: Sat May 26 05:27:43 2012 GMT Module: packages Tag: HEAD ---- Log message: - pl - merged write-permissions patch from older ExtUtils::MakeMaker
---- Files affected: packages/perl-ExtUtils-Install: perl-ExtUtils-Install.spec (1.5 -> 1.6) , perl-ExtUtils-Install-write-permissions.patch (NONE -> 1.1) (NEW) ---- Diffs: ================================================================ Index: packages/perl-ExtUtils-Install/perl-ExtUtils-Install.spec diff -u packages/perl-ExtUtils-Install/perl-ExtUtils-Install.spec:1.5 packages/perl-ExtUtils-Install/perl-ExtUtils-Install.spec:1.6 --- packages/perl-ExtUtils-Install/perl-ExtUtils-Install.spec:1.5 Fri Jan 1 23:56:02 2010 +++ packages/perl-ExtUtils-Install/perl-ExtUtils-Install.spec Sat May 26 07:27:38 2012 @@ -14,8 +14,9 @@ # same as perl License: GPL v1+ or Artistic Group: Development/Languages/Perl -Source0: http://www.cpan.org/modules/by-module/%{pdir}/%{pdir}-%{pnam}-%{version}.tar.gz +Source0: http://www.cpan.org/modules/by-module/ExtUtils/%{pdir}-%{pnam}-%{version}.tar.gz # Source0-md5: 28d2ab1f23b26f90772d953387f32fe3 +Patch0: %{name}-write-permissions.patch URL: http://search.cpan.org/dist/ExtUtils-Install/ BuildRequires: perl-devel >= 1:5.8.0 BuildRequires: rpm-perlprov >= 4.1-13 @@ -23,14 +24,19 @@ BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) %description -Install perl modules into the source tree. Used by ExtUtils::MakeMaker and -Module::Build. +Install Perl modules into the source tree. Used by ExtUtils::MakeMaker +and Module::Build. + +%description -l pl.UTF-8 +Ten moduł instaluje moduły Perla w drzewie źródłowym. Jest +wykorzystywany przez moduły ExtUtils::MakeMaker i Module::Build. %prep %setup -q -n %{pdir}-%{pnam}-%{version} +%patch0 -p1 %build -%{__perl} -MExtUtils::MakeMaker -e 'WriteMakefile(NAME=>"ExtUtils::Install")' \ +%{__perl} Makefile.PL \ INSTALLDIRS=vendor %{__make} @@ -48,8 +54,12 @@ %files %defattr(644,root,root,755) %doc Changes README -%{perl_vendorlib}/%{pdir}/*.pm -%{_mandir}/man3/* +%{perl_vendorlib}/ExtUtils/Install.pm +%{perl_vendorlib}/ExtUtils/Installed.pm +%{perl_vendorlib}/ExtUtils/Packlist.pm +%{_mandir}/man3/ExtUtils::Install.3pm* +%{_mandir}/man3/ExtUtils::Installed.3pm* +%{_mandir}/man3/ExtUtils::Packlist.3pm* %define date %(echo `LC_ALL="C" date +"%a %b %d %Y"`) %changelog @@ -57,6 +67,10 @@ All persons listed below can be reached at <cvs_login>@pld-linux.org $Log$ +Revision 1.6 2012/05/26 05:27:38 qboosh +- pl +- merged write-permissions patch from older ExtUtils::MakeMaker + Revision 1.5 2010/01/01 22:56:02 sparky - URl capitalization @@ -71,4 +85,3 @@ Revision 1.1 2008-03-02 17:41:29 wolvverine - init - ================================================================ Index: packages/perl-ExtUtils-Install/perl-ExtUtils-Install-write-permissions.patch diff -u /dev/null packages/perl-ExtUtils-Install/perl-ExtUtils-Install-write-permissions.patch:1.1 --- /dev/null Sat May 26 07:27:43 2012 +++ packages/perl-ExtUtils-Install/perl-ExtUtils-Install-write-permissions.patch Sat May 26 07:27:38 2012 @@ -0,0 +1,20 @@ +--- ExtUtils-Install-1.54/lib/ExtUtils/Install.pm.orig 2009-07-27 23:40:12.000000000 +0200 ++++ ExtUtils-Install-1.54/lib/ExtUtils/Install.pm 2012-05-26 07:22:29.057483086 +0200 +@@ -813,7 +813,7 @@ + utime($atime,$mtime + $Is_VMS,$targetfile) unless $dry_run>1; + + +- $mode = 0444 | ( $mode & 0111 ? 0111 : 0 ); ++ $mode = 0644 | ( $mode & 0111 ? 0111 : 0 ); + $mode = $mode | 0222 + if $realtarget ne $targetfile; + _chmod( $mode, $targetfile, $verbose ); +@@ -1215,7 +1215,7 @@ + } + my($mode,$atime,$mtime) = (stat $from)[2,8,9]; + utime($atime,$mtime+$Is_VMS,$to); +- _chmod(0444 | ( $mode & 0111 ? 0111 : 0 ),$to); ++ _chmod(0644 | ( $mode & 0111 ? 0111 : 0 ),$to); + next unless $from =~ /\.pm$/; + _autosplit($to,$autodir); + } ================================================================ ---- CVS-web: http://cvs.pld-linux.org/packages/perl-ExtUtils-Install/perl-ExtUtils-Install.spec?r1=1.5&r2=1.6 _______________________________________________ pld-cvs-commit mailing list [email protected] http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit
