[perl-Method-Signatures] 20141021 version bump

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



commit e410f32efaad9dcd9ea8b2ecf78d1b6dc85e7b7e
Author: Petr Písař <ppisar@xxxxxxxxxx>
Date:   Wed Nov 26 17:02:24 2014 +0100

    20141021 version bump

 .gitignore                  |    1 +
 .rpmlint                    |    2 +
 perl-Method-Signatures.spec |   57 ++++++++++++++++++++++++++++--------------
 sources                     |    2 +-
 4 files changed, 42 insertions(+), 20 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index c29d403..5286533 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,2 +1,3 @@
 /Method-Signatures-20120523.tar.gz
 /Method-Signatures-20121201.tar.gz
+/Method-Signatures-20141021.tar.gz
diff --git a/.rpmlint b/.rpmlint
new file mode 100644
index 0000000..7ee4653
--- /dev/null
+++ b/.rpmlint
@@ -0,0 +1,2 @@
+from Config import *
+addFilter("spelling-error .* func");
diff --git a/perl-Method-Signatures.spec b/perl-Method-Signatures.spec
index c9eb802..3c895be 100644
--- a/perl-Method-Signatures.spec
+++ b/perl-Method-Signatures.spec
@@ -1,49 +1,66 @@
 Name:           perl-Method-Signatures
-Version:        20121201
-Release:        5%{?dist}
+Version:        20141021
+Release:        1%{?dist}
 Summary:        Method and function declarations with signatures and no source filter
 License:        GPL+ or Artistic
 Group:          Development/Libraries
 URL:            http://search.cpan.org/dist/Method-Signatures/
 Source0:        http://www.cpan.org/authors/id/B/BA/BAREFOOT/Method-Signatures-%{version}.tar.gz
 BuildArch:      noarch
+BuildRequires:  perl
+BuildRequires:  perl(Module::Build) >= 0.26
+# Run-time:
 BuildRequires:  perl(Any::Moose) >= 0.11
-BuildRequires:  perl(attributes)
 BuildRequires:  perl(base)
 BuildRequires:  perl(Carp)
 BuildRequires:  perl(Const::Fast) >= 0.006
 BuildRequires:  perl(Data::Alias) >= 1.08
 BuildRequires:  perl(Data::Dumper)
-BuildRequires:  perl(Devel::Declare) >= 0.006002
 BuildRequires:  perl(Devel::Declare::MethodInstaller::Simple) >= 0.006002
-BuildRequires:  perl(Devel::Pragma) >= 0.40
 BuildRequires:  perl(Exporter)
-BuildRequires:  perl(lib)
-BuildRequires:  perl(Module::Build)
-BuildRequires:  perl(Moose) >= 0.96
-BuildRequires:  perl(MooseX::Declare)
+BuildRequires:  perl(Lexical::SealRequireHints) >= 0.007
 BuildRequires:  perl(MooseX::Declare::Syntax::Keyword::Method)
 BuildRequires:  perl(MooseX::Declare::Syntax::Keyword::MethodModifier)
 BuildRequires:  perl(Mouse) >= 0.64
+BuildRequires:  perl(Mouse::Util::TypeConstraints)
 BuildRequires:  perl(PPI) >= 1.203
+BuildRequires:  perl(re)
+BuildRequires:  perl(strict)
 BuildRequires:  perl(Sub::Name) >= 0.03
-BuildRequires:  perl(Test::Builder) >= 0.82
-BuildRequires:  perl(Test::Exception)
-BuildRequires:  perl(Test::More)
-BuildRequires:  perl(Test::Warn)
+BuildRequires:  perl(warnings)
+# Tests:
+BuildRequires:  perl(attributes)
+BuildRequires:  perl(Config)
+BuildRequires:  perl(if)
+BuildRequires:  perl(lib)
+BuildRequires:  perl(Moose) >= 0.96
+BuildRequires:  perl(Moose::Role)
+BuildRequires:  perl(MooseX::Declare)
+BuildRequires:  perl(Mouse::Role)
+BuildRequires:  perl(Test::Exception) >= 0.29
+BuildRequires:  perl(Test::More) >= 0.82
+BuildRequires:  perl(Test::Warn) >= 0.10
+# Optional tests:
+BuildRequires:  perl(Role::Basic)
+BuildRequires:  perl(threads)
+Requires:       perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
 Requires:       perl(Any::Moose) >= 0.11
 Requires:       perl(Const::Fast) >= 0.006
 Requires:       perl(Data::Alias) >= 1.08
 Requires:       perl(Data::Dumper)
-Requires:       perl(Devel::BeginLift) >= 0.001001
-Requires:       perl(Devel::Declare) >= 0.006002
 Requires:       perl(Devel::Declare::MethodInstaller::Simple) >= 0.006002
-Requires:       perl(Devel::Pragma) >= 0.40
+Requires:       perl(Lexical::SealRequireHints) >= 0.007
+# Keep Moose 0.96 optional
+Requires:       perl(MooseX::Declare::Syntax::Keyword::Method)
+Requires:       perl(MooseX::Declare::Syntax::Keyword::MethodModifier)
+Requires:       perl(Mouse) >= 0.64
 Requires:       perl(PPI) >= 1.203
+Requires:       perl(re)
 Requires:       perl(Sub::Name) >= 0.03
-Requires:       perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
 
 %{?perl_default_filter}
+# Remove under-specified dependencies
+%global __requires_exclude %{?__requires_exclude:%__requires_exclude|}^perl\\((Devel::Declare::MethodInstaller::Simple|Lexical::SealRequireHints|Mouse|Sub::Name)\\)$
 
 %description
 Provides two new keywords, func and method, so that you can write
@@ -53,12 +70,11 @@ subroutines with signatures.
 %setup -q -n Method-Signatures-%{version}
 
 %build
-%{__perl} Build.PL installdirs=vendor
+perl Build.PL installdirs=vendor
 ./Build
 
 %install
 ./Build install destdir=%{buildroot} create_packlist=0
-
 %{_fixperms} %{buildroot}/*
 
 %check
@@ -70,6 +86,9 @@ subroutines with signatures.
 %{_mandir}/man3/*
 
 %changelog
+* Wed Nov 26 2014 Petr Pisar <ppisar@xxxxxxxxxx> - 20141021-1
+- 20141021 version bump
+
 * Mon Sep 01 2014 Jitka Plesnikova <jplesnik@xxxxxxxxxx> - 20121201-5
 - Perl 5.20 rebuild
 
diff --git a/sources b/sources
index fd35c9d..8f07eac 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-fe040b5f562495ea45883376724e3521  Method-Signatures-20121201.tar.gz
+53c1f03a86cb097e363c7410be645aaa  Method-Signatures-20141021.tar.gz
--
Fedora Extras Perl SIG
http://www.fedoraproject.org/wiki/Extras/SIGs/Perl
perl-devel mailing list
perl-devel@xxxxxxxxxxxxxxxxxxxxxxx
https://admin.fedoraproject.org/mailman/listinfo/perl-devel





[Index of Archives]     [Fedora Announce]     [Fedora Kernel]     [Fedora Testing]     [Fedora Legacy Announce]     [Fedora PHP Devel]     [Kernel Devel]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Big List of Linux Books]     [Gimp]     [Yosemite Information]
  Powered by Linux