diff --git a/perl-Type-Tiny.spec b/perl-Type-Tiny.spec index 19a2705..92ac92b 100644 --- a/perl-Type-Tiny.spec +++ b/perl-Type-Tiny.spec @@ -1,6 +1,6 @@ Name: perl-Type-Tiny Version: 1.000005 -Release: 3%{?dist} +Release: 4%{?dist} Summary: Tiny, yet Moo(se)-compatible type constraint License: GPL+ or Artistic Group: Development/Libraries @@ -14,21 +14,39 @@ BuildArch: noarch # Marked as unstable (cf. lib/Reply/Plugin/TypeTiny.pm) %bcond_with reply_plugin +BuildRequires: coreutils +BuildRequires: findutils +BuildRequires: make BuildRequires: perl >= 0:5.006001 BuildRequires: perl(B) +BuildRequires: perl(B::Deparse) +BuildRequires: perl(Carp) +BuildRequires: perl(Config) +BuildRequires: perl(constant) BuildRequires: perl(CPAN::Meta::Requirements) +BuildRequires: perl(Data::Dumper) +BuildRequires: perl(Encode) BuildRequires: perl(Exporter::Tiny) >= 0.026 -BuildRequires: perl(ExtUtils::MakeMaker) +BuildRequires: perl(ExtUtils::MakeMaker) >= 6.17 +BuildRequires: perl(feature) +BuildRequires: perl(lib) +BuildRequires: perl(Math::BigFloat) BuildRequires: perl(Scalar::Util) -BuildRequires: perl(Sub::Name) +BuildRequires: perl(Test::Fatal) BuildRequires: perl(Test::Moose) BuildRequires: perl(Test::More) >= 0.96 +BuildRequires: perl(Test::Requires) BuildRequires: perl(Test::Tester) >= 0.109 BuildRequires: perl(Text::Balanced) BuildRequires: perl(overload) BuildRequires: perl(strict) +BuildRequires: perl(threads) +BuildRequires: perl(Tie::Array) +BuildRequires: perl(Tie::Hash) +BuildRequires: perl(Tie::Scalar) BuildRequires: perl(utf8) BuildRequires: perl(warnings) +BuildRequires: sed # optional # N/A in Fedora: BuildRequires: perl(Class::InsideOut) @@ -36,30 +54,56 @@ BuildRequires: perl(Class::ISA) BuildRequires: perl(Devel::Hide) BuildRequires: perl(Devel::LexAlias) >= 0.05 BuildRequires: perl(Devel::StackTrace) +BuildRequires: perl(Exporter) >= 5.59 # N/A in Fedora: BuildRequires: perl(Function::Parameters) -BuildRequires: perl(JSON::PP) +BuildRequires: perl(JSON::PP) >= 2.27105 # N/A in Fedora: BuildRequires: perl(Kavorka) # N/A in Fedora: BuildRequires: perl(match::simple) +BuildRequires: perl(Method::Generate::Accessor) BuildRequires: perl(Moo) +BuildRequires: perl(Moo::Role) # N/A in Fedora: BuildRequires: perl(Moops) -BuildRequires: perl(Moose) +BuildRequires: perl(Moose) >= 2.0400 +BuildRequires: perl(Moose::Meta::TypeCoercion) +BuildRequires: perl(Moose::Meta::TypeCoercion::Union) +BuildRequires: perl(Moose::Meta::TypeConstraint) +BuildRequires: perl(Moose::Meta::TypeConstraint::Class) +BuildRequires: perl(Moose::Meta::TypeConstraint::DuckType) +BuildRequires: perl(Moose::Meta::TypeConstraint::Enum) +BuildRequires: perl(Moose::Meta::TypeConstraint::Union) +BuildRequires: perl(Moose::Util::TypeConstraints) +BuildRequires: perl(MooseX::Getopt) >= 0.63 BuildRequires: perl(MooseX::Types) +BuildRequires: perl(MooseX::Types::Common) +BuildRequires: perl(MooseX::Types::Moose) BuildRequires: perl(Mouse) -BuildRequires: perl(MooseX::Getopt) +BuildRequires: perl(Mouse::Meta::TypeConstraint) +BuildRequires: perl(Mouse::Util) +BuildRequires: perl(Mouse::Util::TypeConstraints) BuildRequires: perl(MouseX::Types) BuildRequires: perl(MooseX::Types::Common) +BuildRequires: perl(MouseX::Types::Moose) +BuildRequires: perl(mro) BuildRequires: perl(Object::Accessor) +BuildRequires: perl(re) %{?with_reply_plugin:BuildRequires: perl(Reply::Plugin)} -# N/A in Fedora: BuildRequires: perl(Return::Type) +# N/A in Fedora: BuildRequires: perl(Return::Type) >= 0.004 BuildRequires: perl(Role::Tiny) -# N/A in Fedora: BuildRequires: perl(Sub::Exporter::Lexical) +BuildRequires: perl(Role::Tiny::With) +# N/A in Fedora: BuildRequires: perl(Sub::Exporter::Lexical) >= 0.092291 +BuildRequires: perl(Sub::Name) +BuildRequires: perl(Sub::Quote) # N/A in Fedora: BuildRequires: perl(Switcheroo) %{?with_reply_plugin:BuildRequires: perl(Term::ANSIColor)} BuildRequires: perl(Test::Warnings) # N/A in Fedora: BuildRequires: perl(Type::Tie) -# N/A in Fedora: BuildRequires: perl(Validation::Class) +# N/A in Fedora: BuildRequires: perl(Validation::Class) >= 7.900017 +# N/A in Fedora: BuildRequires: perl(Validation::Class::Simple) Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) +Requires: perl(B::Deparse) +Requires: perl(Carp) +Requires: perl(Data::Dumper) %description Type::Tiny is a tiny class for creating Moose-like type constraint objects @@ -73,6 +117,9 @@ Test::TypeTiny module. %prep %setup -q -n Type-Tiny-%{version} +# Remove bundled modules +rm -r ./inc +sed -i -e '/^inc\//d' MANIFEST %build %{__perl} Makefile.PL INSTALLDIRS=vendor @@ -89,7 +136,8 @@ find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} \; make test %files -%doc Changes COPYRIGHT CREDITS LICENSE NEWS README +%license LICENSE +%doc Changes COPYRIGHT CREDITS NEWS README %{perl_vendorlib}/* %{!?with_reply_plugin:%exclude %{perl_vendorlib}/Reply} %{_mandir}/man3/* @@ -101,6 +149,9 @@ make test %{_mandir}/man3/Test::TypeTiny.3pm* %changelog +* Tue Jul 21 2015 Petr Pisar - 1.000005-4 +- Specify all dependencies (bug #1245096) + * Thu Jun 18 2015 Fedora Release Engineering - 1.000005-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild