[perl-MooseX-Object-Pluggable] Update to 0.0013

Emmanuel Seyman eseyman at fedoraproject.org
Tue Nov 11 15:43:02 UTC 2014


commit 50ab1d8e53071220bc79ca5976799d1353a0b910
Author: Emmanuel Seyman <emmanuel at seyman.fr>
Date:   Tue Nov 11 16:42:32 2014 +0100

    Update to 0.0013
    
    Clean up spec file
    Add perl default filter
    Drop tests from the documentation
    Switch AutoProv on
    Fix description

 .gitignore                        |    1 +
 perl-MooseX-Object-Pluggable.spec |   50 ++++++++++++++++++++-----------------
 sources                           |    2 +-
 3 files changed, 29 insertions(+), 24 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index e7a6b07..d20db9b 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1 +1,2 @@
 MooseX-Object-Pluggable-0.0011.tar.gz
+/MooseX-Object-Pluggable-0.0013.tar.gz
diff --git a/perl-MooseX-Object-Pluggable.spec b/perl-MooseX-Object-Pluggable.spec
index d1bf195..c77410f 100644
--- a/perl-MooseX-Object-Pluggable.spec
+++ b/perl-MooseX-Object-Pluggable.spec
@@ -1,36 +1,37 @@
 Name:           perl-MooseX-Object-Pluggable
-Version:        0.0011
-Release:        15%{?dist}
+Version:        0.0013
+Release:        1%{?dist}
 Summary:        Make your Moose classes pluggable
 License:        GPL+ or Artistic
-Group:          Development/Libraries
+
 URL:            http://search.cpan.org/dist/MooseX-Object-Pluggable/
-Source0:        http://search.cpan.org/CPAN/authors/id/G/GR/GRODITI/MooseX-Object-Pluggable-%{version}.tar.gz
-BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
+Source0:        http://search.cpan.org/CPAN/authors/id/E/ET/ETHER/MooseX-Object-Pluggable-%{version}.tar.gz
+
 BuildArch:      noarch
 
+BuildRequires:  perl(Dist::Zilla)
 BuildRequires:  perl(ExtUtils::MakeMaker)
 BuildRequires:  perl(Test::More)
 BuildRequires:  perl(Module::Pluggable::Object)
 BuildRequires:  perl(Moose) >= 0.35
-
-# nixed right now, as pod coverage tests fail.  These are developer tests, and
-# will not impact the running of the module.
-#BuildRequires:  perl(Test::Pod), perl(Test::Pod::Coverage)
+BuildRequires:  perl(namespace::autoclean)
+BuildRequires:  perl(CPAN::Meta)
+BuildRequires:  perl(CPAN::Meta::Requirements)
+BuildRequires:  perl(Module::Build::Tiny)
+BuildRequires:  perl(Test::Fatal)
+BuildRequires:  perl(Test::Pod)
+BuildRequires:  perl(Test::Pod::Coverage)
 
 Requires:       perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
 
 # keep rpmlint happy
 Requires:       perl(strict), perl(warnings), perl(Moose)
 
-# otherwise we have a ton of "provides" from files in doc.  We only really
-# provide one package, so...
-AutoProv:       no
-Provides:       perl(MooseX::Object::Pluggable) = %{version}
+%{?perl_default_filter}
 
 %description
-This module aids in the development and deploment of plugin-enabled
-Moose-based classes.  It extends the Moose framework via roles to enable
+This module aids in the development and deployment of plugin-enabled
+Moose-based classes. It extends the Moose framework via roles to enable
 this behavior.
 
 %prep
@@ -43,8 +44,6 @@ perl -pi -e 's|^#!perl|#!/usr/bin/perl|; s|^#!/usr/local|#!/usr|' t/*.t
 make %{?_smp_mflags}
 
 %install
-rm -rf %{buildroot}
-
 make pure_install PERL_INSTALL_ROOT=%{buildroot}
 
 find %{buildroot} -type f -name .packlist -exec rm -f {} \;
@@ -53,18 +52,23 @@ find %{buildroot} -depth -type d -exec rmdir {} 2>/dev/null \;
 %{_fixperms} %{buildroot}/*
 
 %check
-make test
-
-%clean
-rm -rf %{buildroot}
+AUTHOR_TESTING=1 make test
 
 %files
-%defattr(-,root,root,-)
-%doc Changes README t/
+%doc Changes README
+%license LICENSE
 %{perl_vendorlib}/*
 %{_mandir}/man3/*
 
 %changelog
+* Tue Nov 11 2014 Emmanuel Seyman <emmanuel at seyman.fr> - 0.0013-1
+- Update to 0.0013
+- Clean up spec file
+- Add perl default filter
+- Drop tests from the documentation
+- Switch AutoProv on
+- Fix description
+
 * Mon Sep 01 2014 Jitka Plesnikova <jplesnik at redhat.com> - 0.0011-15
 - Perl 5.20 rebuild
 
diff --git a/sources b/sources
index 0579aaa..e4db10b 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-ce3b5ffc6d05bdd77102488a85e401d1  MooseX-Object-Pluggable-0.0011.tar.gz
+ef047198af7e065cb3f02cf56daf8fdd  MooseX-Object-Pluggable-0.0013.tar.gz



More information about the perl-devel mailing list