[perl/f15] perl needs to own vendorarch/auto directory
Iain Arnell
iarnell at fedoraproject.org
Sun Aug 14 13:34:30 UTC 2011
commit d1cbc32d9ae8409ab8d3180d30f31e219dbdbffa
Author: Iain Arnell <iarnell at gmail.com>
Date: Sun Aug 14 15:26:50 2011 +0200
perl needs to own vendorarch/auto directory
Seems to have been lost after the core/vendor directories were merged
and then split again.
(cherry picked from commit 3910a494768b470efded2c8158de15aa1dfadbf4)
perl.spec | 10 +++++-----
1 files changed, 5 insertions(+), 5 deletions(-)
---
diff --git a/perl.spec b/perl.spec
index f4feb07..a8e75b9 100644
--- a/perl.spec
+++ b/perl.spec
@@ -1100,10 +1100,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 \
@@ -1113,7 +1109,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}
#
@@ -1580,6 +1579,7 @@ rm -rf $RPM_BUILD_ROOT
%{archlib}/CORE/libperl.so
%dir %{archlib}
%dir %{perl_vendorarch}
+%dir %{perl_vendorarch}/auto
%dir %{_prefix}/local/%{_lib}/perl5
%files devel
More information about the scm-commits
mailing list