8
0

Accepting request 330318 from devel:languages:perl:autoupdate

automatic update

OBS-URL: https://build.opensuse.org/request/show/330318
OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-namespace-autoclean?expand=0&rev=23
This commit is contained in:
Stephan Kulow
2015-09-10 12:50:30 +00:00
committed by Git OBS Bridge
parent 869ebfae64
commit 4727ab8b25
4 changed files with 18 additions and 9 deletions

View File

@@ -17,7 +17,7 @@
Name: perl-namespace-autoclean
Version: 0.26
Version: 0.27
Release: 0
%define cpan_name namespace-autoclean
Summary: Keep imports out of your namespace
@@ -31,7 +31,6 @@ BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: perl
BuildRequires: perl-macros
BuildRequires: perl(B::Hooks::EndOfScope) >= 0.12
BuildRequires: perl(Module::Build::Tiny) >= 0.039
BuildRequires: perl(Sub::Identify)
BuildRequires: perl(Test::More) >= 0.88
BuildRequires: perl(Test::Requires)
@@ -74,14 +73,15 @@ clean:
%setup -q -n %{cpan_name}-%{version}
%build
%{__perl} Build.PL --installdirs=vendor
./Build build --flags=%{?_smp_mflags}
%{__perl} Makefile.PL INSTALLDIRS=vendor
%{__make} %{?_smp_mflags}
%check
./Build test
%{__make} test
%install
./Build install --destdir=%{buildroot} --create_packlist=0
%perl_make_install
%perl_process_packlist
%perl_gen_filelist
%files -f %{name}.files