forked from pool/perl-App-perlbrew
- updated to 0.18
* Spotted and fixed by chad.a.davis++, an issue when bash set "noclobber" option, which breaks the creation of ~/.perlbrew/init. See https://rt.cpan.org/Ticket/Display.html?id=66518 * A simple `perlbrew clean` command to clean build dir. * delegate `-j` arg value to `make test_harness`. by dagolden++ * $HOME is replaced with "~" in many messages. https://rt.cpan.org/Ticket/Display.html?id=57668 OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-App-perlbrew?expand=0&rev=5
This commit is contained in:
committed by
Git OBS Bridge
parent
8bc809ea1b
commit
38b59aff0e
@@ -1,5 +1,5 @@
|
||||
#
|
||||
# spec file for package perl-App-perlbrew (Version 0.16)
|
||||
# spec file for package perl-App-perlbrew (Version 0.18)
|
||||
#
|
||||
# Copyright (c) 2010 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
||||
#
|
||||
@@ -16,7 +16,7 @@
|
||||
#
|
||||
|
||||
Name: perl-App-perlbrew
|
||||
Version: 0.17
|
||||
Version: 0.18
|
||||
Release: 1
|
||||
License: MIT
|
||||
%define cpan_name App-perlbrew
|
||||
@@ -24,11 +24,11 @@ Summary: Manage perl installations in your $HOME
|
||||
Url: http://search.cpan.org/dist/App-perlbrew/
|
||||
Group: Development/Libraries/Perl
|
||||
#Source: http://www.cpan.org/authors/id/G/GU/GUGOD/App-perlbrew-%{version}.tar.gz
|
||||
Source: %{cpan_name}-%{version}.tar.bz2
|
||||
Source: %{cpan_name}-%{version}.tar.gz
|
||||
BuildArch: noarch
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
BuildRequires: perl
|
||||
BuildRequires: perl-macros
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
BuildArch: noarch
|
||||
%{perl_requires}
|
||||
|
||||
%description
|
||||
@@ -46,25 +46,19 @@ your HOME too. It's a completely separate perl environment.
|
||||
%{__perl} Makefile.PL INSTALLDIRS=vendor
|
||||
%{__make} %{?_smp_mflags}
|
||||
|
||||
%if 0%{?suse_version} == 0 || 0%{?suse_version} >= 1120
|
||||
%check
|
||||
%{__make} test
|
||||
%endif
|
||||
|
||||
%install
|
||||
%perl_make_install
|
||||
%perl_process_packlist
|
||||
%perl_gen_filelist
|
||||
|
||||
%__chmod 0755 "%{buildroot}%{_bindir}"/*
|
||||
%__perl -n -i -e 'print unless m|%{_bindir}|' "%{name}.files"
|
||||
|
||||
%clean
|
||||
%{__rm} -rf %{buildroot}
|
||||
|
||||
%files -f %{name}.files
|
||||
%defattr(-,root,root)
|
||||
%defattr(644,root,root,755)
|
||||
%doc Changes LICENSE README
|
||||
%{_bindir}/perlbrew
|
||||
|
||||
%changelog
|
||||
|
Reference in New Issue
Block a user