Stephan Kulow 2012-02-11 09:14:40 +00:00 committed by Git OBS Bridge
parent 5f025667f4
commit 6c320e5e33

View File

@ -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