From 3910a494768b470efded2c8158de15aa1dfadbf4 Mon Sep 17 00:00:00 2001 From: Iain Arnell Date: Sun, 14 Aug 2011 15:26:50 +0200 Subject: [PATCH] perl needs to own vendorarch/auto directory Seems to have been lost after the core/vendor directories were merged and then split again. --- perl.spec | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/perl.spec b/perl.spec index a922854..6e32d8f 100644 --- a/perl.spec +++ b/perl.spec @@ -1177,10 +1177,6 @@ make install DESTDIR=$RPM_BUILD_ROOT PERL5LIB="%{build_archlib}:%{build_privlib}" \\\ %{build_bindir}/perl -# perl doesn't create the auto subdirectory, but modules put things in it, -# so we need to own it. -mkdir -p -m 755 %{build_archlib}/auto - install -p -m 755 utils/pl2pm %{build_bindir}/pl2pm for i in asm/termios.h syscall.h syslimits.h syslog.h \ @@ -1190,7 +1186,10 @@ do done # vendor directories (in this case for third party rpms) -mkdir -p $RPM_BUILD_ROOT%{perl_vendorarch} +# perl doesn't create the auto subdirectory, but modules put things in it, +# so we need to own it. + +mkdir -p $RPM_BUILD_ROOT%{perl_vendorarch}/auto mkdir -p $RPM_BUILD_ROOT%{perl_vendorlib} # @@ -1690,6 +1689,7 @@ sed \ %{archlib}/CORE/libperl.so %dir %{archlib} %dir %{perl_vendorarch} +%dir %{perl_vendorarch}/auto %dir %{_prefix}/local/%{_lib}/perl5 %files devel