8
0

- updated to 0.41

- Fix installation issue when the specified version is not listed in CPAN::Perl::Releases
  - Fix sub-shell invocation for 'switch' and 'use' command. This is particularly for csh users, but it should also work for bash users.
  - Make the stanalone perlbrew program smaller by using Perl::Strip
  - use CPAN::Perl::Releases to decide the location of perl tarball -- less HTTP hits
  - Prefer $PERLBREW_ROOT/bin/patchperl if it is there.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-App-perlbrew?expand=0&rev=22
This commit is contained in:
Stephan Kulow
2012-02-21 09:08:50 +00:00
committed by Git OBS Bridge
parent 8d734224fd
commit 95c8f58b77
4 changed files with 48 additions and 39 deletions

View File

@@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:66e8a3897853835b27cb8835c031350fe75511a2a2530722ad521791f2ebc6d4
size 66467

3
App-perlbrew-0.41.tar.gz Normal file
View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:d65f775ebaee0b023477daa9fdf93d6e20ae44de894ce6f6fb4809ae775e7480
size 67438

View File

@@ -1,3 +1,13 @@
-------------------------------------------------------------------
Tue Feb 21 09:03:00 UTC 2012 - coolo@suse.com
- updated to 0.41
- Fix installation issue when the specified version is not listed in CPAN::Perl::Releases
- Fix sub-shell invocation for 'switch' and 'use' command. This is particularly for csh users, but it should also work for bash users.
- Make the stanalone perlbrew program smaller by using Perl::Strip
- use CPAN::Perl::Releases to decide the location of perl tarball -- less HTTP hits
- Prefer $PERLBREW_ROOT/bin/patchperl if it is there.
------------------------------------------------------------------- -------------------------------------------------------------------
Mon Jan 02 07:18:12 UTC 2012 - pascal.bleser@opensuse.org Mon Jan 02 07:18:12 UTC 2012 - pascal.bleser@opensuse.org

View File

@@ -16,75 +16,74 @@
# #
%if 0%{?suse_version} == 0 || 0%{?suse_version} > 1120
%define with_test 1
%endif
Name: perl-App-perlbrew Name: perl-App-perlbrew
Version: 0.39 Version: 0.41
Release: 1 Release: 0
License: MIT
%define cpan_name App-perlbrew %define cpan_name App-perlbrew
Summary: Manage perl installations in your $HOME Summary: Manage perl installations in your $HOME
Url: http://search.cpan.org/dist/App-perlbrew/ License: MIT
Group: Development/Libraries/Perl Group: Development/Libraries/Perl
Url: http://search.cpan.org/dist/App-perlbrew/
Source: http://www.cpan.org/authors/id/G/GU/GUGOD/%{cpan_name}-%{version}.tar.gz Source: http://www.cpan.org/authors/id/G/GU/GUGOD/%{cpan_name}-%{version}.tar.gz
BuildArch: noarch BuildArch: noarch
BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: perl BuildRequires: perl
BuildRequires: perl-macros BuildRequires: perl-macros
BuildRequires: perl(Devel::PatchPerl) >= 0.46 BuildRequires: perl(CPAN::Perl::Releases) >= 0.40
BuildRequires: perl(Path::Class)
BuildRequires: perl(IO::All)
BuildRequires: perl(Try::Tiny)
BuildRequires: perl(File::Path::Tiny)
BuildRequires: perl(local::lib) >= 1.008
BuildRequires: perl(Capture::Tiny) >= 0.13 BuildRequires: perl(Capture::Tiny) >= 0.13
%if 0%{?with_test} BuildRequires: perl(Devel::PatchPerl) >= 0.62
BuildRequires: perl(File::Path::Tiny) >= 0.1
BuildRequires: perl(IO::All)
BuildRequires: perl(Path::Class)
BuildRequires: perl(Test::Exception)
BuildRequires: perl(Test::Output)
BuildRequires: perl(Test::Simple) >= 0.98 BuildRequires: perl(Test::Simple) >= 0.98
BuildRequires: perl(Test::Spec) BuildRequires: perl(Test::Spec)
BuildRequires: perl(Test::Output) BuildRequires: perl(local::lib) >= 1.008
BuildRequires: perl(Test::Exception) #BuildRequires: perl(App::perlbrew)
%endif #BuildRequires: perl(inc::Module::Install)
Requires: perl(Devel::PatchPerl) >= 0.26 #BuildRequires: perl(JSON)
Requires: perl(Path::Class) #BuildRequires: perl(LWP::Simple)
Requires: perl(IO::All) #BuildRequires: perl(Module::Build)
Requires: perl(Try::Tiny) #BuildRequires: perl(Module::Install::Base)
Requires: perl(File::Path::Tiny) #BuildRequires: perl(Parse::CPAN::Meta)
#BuildRequires: perl(YAML::Tiny)
Requires: perl(CPAN::Perl::Releases) >= 0.40
Requires: perl(Capture::Tiny) >= 0.13
Requires: perl(Devel::PatchPerl) >= 0.62
Requires: perl(File::Path::Tiny) >= 0.1
Requires: perl(local::lib) >= 1.008 Requires: perl(local::lib) >= 1.008
Requires: perl(Capture::Tiny)
%{perl_requires} %{perl_requires}
%description %description
perlbrew is a program to automate the building and installation of perl in perlbrew is a program to automate the building and installation of perl in
the users HOME. At the moment, it installs everything to an easy way. It installs everything to '~/perl5/perlbrew', and requires you
'~/perl5/perlbrew', and requires you to tweak your PATH by including a to tweak your PATH by including a bashrc/cshrc file it provides. You then
bashrc/cshrc file it provides. You then can benefit from not having to run can benefit from not having to run 'sudo' commands to install cpan modules
'sudo' commands to install cpan modules because those are installed inside because those are installed inside your HOME too. It provides multiple
your HOME too. It's a completely separate perl environment. isolated perl environments, and a mechanism for you to switch between them.
For the documentation of perlbrew usage see the perlbrew manpage command on
CPAN, or by running 'perlbrew help'. The following documentation features
the API of 'App::perlbrew' module, and may not be remotely close to what
your want to read.
%prep %prep
%setup -q -n %{cpan_name}-%{version} %setup -q -n %{cpan_name}-%{version}
find . -type f -print0 | xargs -0 chmod 644
%build %build
%{__perl} Makefile.PL INSTALLDIRS=vendor %{__perl} Makefile.PL INSTALLDIRS=vendor
%{__make} %{?_smp_mflags} %{__make} %{?_smp_mflags}
%if 0%{?with_test}
%check %check
PERLBREW_ROOT="$PWD/test-perlbrew-root" \
%{__make} test %{__make} test
%endif
%install %install
%perl_make_install %perl_make_install
%perl_process_packlist %perl_process_packlist
%perl_gen_filelist %perl_gen_filelist
%clean
%{__rm} -rf %{buildroot}
%files -f %{name}.files %files -f %{name}.files
%defattr(-,root,root,755) %defattr(-,root,root,755)
%doc Changes doc LICENSE README %doc Changes doc LICENSE README