avoid creating ~/perl5/ for all users (rhbz#789146)

This commit is contained in:
Iain Arnell 2012-02-10 06:20:29 +01:00
parent d05cb6e9f2
commit b3d1b96b90
3 changed files with 7 additions and 5 deletions

View File

@ -7,7 +7,7 @@ setenv PERL_HOMEDIR 1
[ -f /etc/sysconfig/perl-homedir ] && . /etc/sysconfig/perl-homedir
[ -f $HOME/.perl-homedir ] && . $HOME/.perl-homedir
alias perlll="eval `perl -Mlocal::lib`"
alias perlll='eval `perl -Mlocal::lib`'
# if system default
if [ "x$PERL_HOMEDIR" = "x1" ] ; then

View File

@ -7,7 +7,7 @@ PERL_HOMEDIR=1
[ -f /etc/sysconfig/perl-homedir ] && . /etc/sysconfig/perl-homedir
[ -f $HOME/.perl-homedir ] && . $HOME/.perl-homedir
alias perlll="eval `perl -Mlocal::lib`"
alias perlll='eval `perl -Mlocal::lib`'
# if system default
if [ "x$PERL_HOMEDIR" = "x1" ] ; then

View File

@ -1,6 +1,6 @@
Name: perl-local-lib
Version: 1.008004
Release: 3%{?dist}
Release: 4%{?dist}
# lib/local/lib.pm -> GPL+ or Artistic
License: GPL+ or Artistic
Group: Development/Libraries
@ -84,16 +84,18 @@ cp %{SOURCE11} %{buildroot}%{_sysconfdir}/profile.d/
make test
%files
%defattr(-,root,root,-)
%doc Changes
%{perl_vendorlib}/*
%{_mandir}/man3/*.3*
%files -n perl-homedir
%defattr(-,root,root,-)
%{_sysconfdir}/profile.d/*
%changelog
* Fri Feb 10 2012 Iain Arnell <iarnell@gmail.com> 1.008004-4
- avoid creating ~/perl5/ for all users (rhbz#789146)
- drop defattr in files lists
* Sat Jan 14 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.008004-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild