|
|
|
@ -1,24 +1,38 @@
|
|
|
|
|
Name: perl-MooseX-Types-Common
|
|
|
|
|
Summary: A library of commonly used type constraints
|
|
|
|
|
Version: 0.001014
|
|
|
|
|
Release: 16%{?dist}
|
|
|
|
|
Release: 17%{?dist}
|
|
|
|
|
License: GPL+ or Artistic
|
|
|
|
|
Source0: https://cpan.metacpan.org/authors/id/E/ET/ETHER/MooseX-Types-Common-%{version}.tar.gz
|
|
|
|
|
URL: https://metacpan.org/release/MooseX-Types-Common
|
|
|
|
|
Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
|
|
|
|
|
BuildArch: noarch
|
|
|
|
|
|
|
|
|
|
BuildRequires: make
|
|
|
|
|
BuildRequires: coreutils
|
|
|
|
|
BuildRequires: make
|
|
|
|
|
BuildRequires: perl-generators
|
|
|
|
|
BuildRequires: perl(Capture::Tiny)
|
|
|
|
|
BuildRequires: perl(inc::Module::Install)
|
|
|
|
|
BuildRequires: perl(Moose) >= 0.39
|
|
|
|
|
BuildRequires: perl(MooseX::Types) >= 0.04
|
|
|
|
|
BuildRequires: perl(Test::Deep)
|
|
|
|
|
BuildRequires: perl(Test::Fatal)
|
|
|
|
|
BuildRequires: perl(Test::More) >= 0.62
|
|
|
|
|
BuildRequires: perl(Test::Warnings)
|
|
|
|
|
BuildRequires: perl-interpreter
|
|
|
|
|
BuildRequires: perl(:VERSION) >= 5.8
|
|
|
|
|
BuildRequires: perl(ExtUtils::MakeMaker) >= 6.76
|
|
|
|
|
BuildRequires: perl(strict)
|
|
|
|
|
BuildRequires: perl(warnings)
|
|
|
|
|
# Run-time:
|
|
|
|
|
BuildRequires: perl(Carp)
|
|
|
|
|
BuildRequires: perl(if)
|
|
|
|
|
BuildRequires: perl(MooseX::Types)
|
|
|
|
|
BuildRequires: perl(MooseX::Types::Moose)
|
|
|
|
|
# With MooseX::Types >= 0.42
|
|
|
|
|
BuildRequires: perl(namespace::autoclean)
|
|
|
|
|
# Tests:
|
|
|
|
|
BuildRequires: perl(File::Spec)
|
|
|
|
|
BuildRequires: perl(Module::Metadata)
|
|
|
|
|
BuildRequires: perl(open)
|
|
|
|
|
BuildRequires: perl(Test::Deep)
|
|
|
|
|
BuildRequires: perl(Test::More) >= 0.88
|
|
|
|
|
BuildRequires: perl(Test::Warnings) >= 0.005
|
|
|
|
|
BuildRequires: perl(utf8)
|
|
|
|
|
Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
|
|
|
|
|
# With MooseX::Types >= 0.42
|
|
|
|
|
Requires: perl(namespace::autoclean)
|
|
|
|
|
|
|
|
|
|
%{?perl_default_filter}
|
|
|
|
|
|
|
|
|
@ -31,13 +45,12 @@ by default.
|
|
|
|
|
%setup -q -n MooseX-Types-Common-%{version}
|
|
|
|
|
|
|
|
|
|
%build
|
|
|
|
|
%{__perl} Makefile.PL INSTALLDIRS=vendor
|
|
|
|
|
make %{?_smp_mflags}
|
|
|
|
|
PERL_MM_FALLBACK_SILENCE_WARNING=1 perl Makefile.PL INSTALLDIRS=vendor \
|
|
|
|
|
NO_PACKLIST=1 NO_PERLLOCAL=1
|
|
|
|
|
%{make_build}
|
|
|
|
|
|
|
|
|
|
%install
|
|
|
|
|
make pure_install DESTDIR=%{buildroot}
|
|
|
|
|
find %{buildroot} -type f -name .packlist -exec rm -f {} ';'
|
|
|
|
|
|
|
|
|
|
%{make_install}
|
|
|
|
|
%{_fixperms} %{buildroot}/*
|
|
|
|
|
|
|
|
|
|
%check
|
|
|
|
@ -50,6 +63,9 @@ make test
|
|
|
|
|
%{_mandir}/man3/MooseX*.3*
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
|
* Thu Jan 06 2022 Petr Pisar <ppisar@redhat.com> - 0.001014-17
|
|
|
|
|
- Specify all dependencies
|
|
|
|
|
|
|
|
|
|
* Thu Jul 22 2021 Fedora Release Engineering <releng@fedoraproject.org> - 0.001014-16
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|