forked from pool/perl-namespace-clean
OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-namespace-clean?expand=0&rev=16
This commit is contained in:
parent
5f025667f4
commit
6c320e5e33
@ -25,6 +25,8 @@ License: Artistic-1.0 or GPL-1.0+
|
||||
Group: Development/Libraries/Perl
|
||||
Url: http://search.cpan.org/dist/namespace-clean/
|
||||
Source: http://www.cpan.org/authors/id/R/RI/RIBASUSHI/%{cpan_name}-%{version}.tar.gz
|
||||
# MANUAL
|
||||
Patch1: perl-namespace-clean-use_lib.patch
|
||||
BuildArch: noarch
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
BuildRequires: perl
|
||||
@ -55,6 +57,10 @@ Keep imports and functions out of your namespace
|
||||
|
||||
%prep
|
||||
%setup -q -n %{cpan_name}-%{version}
|
||||
%if 0%{?suse_version} <= 1110
|
||||
%patch1 -p1
|
||||
sed -i "s|__vendorperl__|%{perl_vendorlib}|g" Makefile.PL t/*.t
|
||||
%endif
|
||||
|
||||
%build
|
||||
%{__perl} Makefile.PL INSTALLDIRS=vendor
|
||||
|
Loading…
Reference in New Issue
Block a user