From 44d6984fac830f6c79dbfada3db6b71c25ea2604c3e619a6c21bb6bab4114733 Mon Sep 17 00:00:00 2001 From: Stephan Kulow Date: Mon, 25 Nov 2013 09:16:14 +0000 Subject: [PATCH] update OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-namespace-autoclean?expand=0&rev=13 --- namespace-autoclean-0.13.tar.gz | 3 --- namespace-autoclean-0.14.tar.gz | 3 +++ perl-namespace-autoclean.changes | 8 +++++++ perl-namespace-autoclean.spec | 37 ++++++++++++++++++-------------- 4 files changed, 32 insertions(+), 19 deletions(-) delete mode 100644 namespace-autoclean-0.13.tar.gz create mode 100644 namespace-autoclean-0.14.tar.gz diff --git a/namespace-autoclean-0.13.tar.gz b/namespace-autoclean-0.13.tar.gz deleted file mode 100644 index 9fef4ed..0000000 --- a/namespace-autoclean-0.13.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:04d4708654016bfc157b0779e1f93362b38f7a4bccb3631b0649d19f5c9aa3f0 -size 12954 diff --git a/namespace-autoclean-0.14.tar.gz b/namespace-autoclean-0.14.tar.gz new file mode 100644 index 0000000..12e4735 --- /dev/null +++ b/namespace-autoclean-0.14.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:0d138b4145f1a69efb19c3a0ad850e54a978e8027e9b2ae452af030a5f0f00b7 +size 19868 diff --git a/perl-namespace-autoclean.changes b/perl-namespace-autoclean.changes index 7b1e7c9..0baf414 100644 --- a/perl-namespace-autoclean.changes +++ b/perl-namespace-autoclean.changes @@ -1,3 +1,11 @@ +------------------------------------------------------------------- +Mon Nov 25 07:35:58 UTC 2013 - coolo@suse.com + +- updated to 0.14 + * bump dependency on B::Hooks::EndOfScope, to get the separation of + pure-perl and XS components (RT#89245) + * repository migrated to the github moose organization + ------------------------------------------------------------------- Thu Nov 17 12:37:38 UTC 2011 - coolo@suse.com diff --git a/perl-namespace-autoclean.spec b/perl-namespace-autoclean.spec index d62ca3c..0e838a9 100644 --- a/perl-namespace-autoclean.spec +++ b/perl-namespace-autoclean.spec @@ -1,7 +1,7 @@ # # spec file for package perl-namespace-autoclean # -# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -16,27 +16,33 @@ # - Name: perl-namespace-autoclean -Version: 0.13 -Release: 1 -License: GPL+ or Artistic +Version: 0.14 +Release: 0 %define cpan_name namespace-autoclean Summary: Keep imports out of your namespace -Url: http://search.cpan.org/dist/namespace-autoclean/ +License: Artistic-1.0 or GPL-1.0+ Group: Development/Libraries/Perl -Source: http://www.cpan.org/authors/id/B/BO/BOBTFISH/%{cpan_name}-%{version}.tar.gz +Url: http://search.cpan.org/dist/namespace-autoclean/ +Source: http://www.cpan.org/authors/id/E/ET/ETHER/%{cpan_name}-%{version}.tar.gz BuildArch: noarch BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRequires: perl BuildRequires: perl-macros -BuildRequires: perl(B::Hooks::EndOfScope) +BuildRequires: perl(B::Hooks::EndOfScope) >= 0.12 BuildRequires: perl(Class::MOP) >= 0.80 +BuildRequires: perl(Module::Build::Tiny) >= 0.028 BuildRequires: perl(Moose::Role) -BuildRequires: perl(namespace::clean) >= 0.20 BuildRequires: perl(Sub::Name) +BuildRequires: perl(Test::CheckDeps) >= 0.007 +BuildRequires: perl(Test::More) >= 0.94 +BuildRequires: perl(namespace::clean) >= 0.20 #BuildRequires: perl(namespace::autoclean) -Requires: perl(B::Hooks::EndOfScope) +#BuildRequires: perl(Pod::Wordlist) +#BuildRequires: perl(Test::Kwalitee) +#BuildRequires: perl(Test::NoTabs) +#BuildRequires: perl(Test::Spelling) >= 0.12 +Requires: perl(B::Hooks::EndOfScope) >= 0.12 Requires: perl(Class::MOP) >= 0.80 Requires: perl(namespace::clean) >= 0.20 %{perl_requires} @@ -74,19 +80,18 @@ clean: %setup -q -n %{cpan_name}-%{version} %build -%{__perl} Makefile.PL INSTALLDIRS=vendor -%{__make} %{?_smp_mflags} +%{__perl} Build.PL --installdirs=vendor +./Build build --flags=%{?_smp_mflags} %check -%{__make} test +./Build test %install -%perl_make_install -%perl_process_packlist +./Build install --destdir=%{buildroot} --create_packlist=0 %perl_gen_filelist %files -f %{name}.files %defattr(-,root,root,755) -%doc Changes LICENSE README +%doc Changes LICENSE README weaver.ini %changelog