perl needs to own vendorarch/auto directory
Seems to have been lost after the core/vendor directories were merged and then split again.
This commit is contained in:
parent
229258cb6c
commit
3910a49476
10
perl.spec
10
perl.spec
@ -1177,10 +1177,6 @@ make install DESTDIR=$RPM_BUILD_ROOT
|
|||||||
PERL5LIB="%{build_archlib}:%{build_privlib}" \\\
|
PERL5LIB="%{build_archlib}:%{build_privlib}" \\\
|
||||||
%{build_bindir}/perl
|
%{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
|
install -p -m 755 utils/pl2pm %{build_bindir}/pl2pm
|
||||||
|
|
||||||
for i in asm/termios.h syscall.h syslimits.h syslog.h \
|
for i in asm/termios.h syscall.h syslimits.h syslog.h \
|
||||||
@ -1190,7 +1186,10 @@ do
|
|||||||
done
|
done
|
||||||
|
|
||||||
# vendor directories (in this case for third party rpms)
|
# 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}
|
mkdir -p $RPM_BUILD_ROOT%{perl_vendorlib}
|
||||||
|
|
||||||
#
|
#
|
||||||
@ -1690,6 +1689,7 @@ sed \
|
|||||||
%{archlib}/CORE/libperl.so
|
%{archlib}/CORE/libperl.so
|
||||||
%dir %{archlib}
|
%dir %{archlib}
|
||||||
%dir %{perl_vendorarch}
|
%dir %{perl_vendorarch}
|
||||||
|
%dir %{perl_vendorarch}/auto
|
||||||
%dir %{_prefix}/local/%{_lib}/perl5
|
%dir %{_prefix}/local/%{_lib}/perl5
|
||||||
|
|
||||||
%files devel
|
%files devel
|
||||||
|
Loading…
Reference in New Issue
Block a user