From 48da98f254d941b2db54f678f93061c33ef5304d Mon Sep 17 00:00:00 2001 From: tigro Date: Wed, 27 Sep 2023 11:21:54 +0300 Subject: [PATCH] import perl-MooX-TypeTiny-0.002003-6.el9 --- .gitignore | 1 + .perl-MooX-TypeTiny.metadata | 1 + SPECS/perl-MooX-TypeTiny.spec | 81 +++++++++++++++++++++++++++++++++++ 3 files changed, 83 insertions(+) create mode 100644 .gitignore create mode 100644 .perl-MooX-TypeTiny.metadata create mode 100644 SPECS/perl-MooX-TypeTiny.spec diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..b1f4e87 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +SOURCES/MooX-TypeTiny-0.002003.tar.gz diff --git a/.perl-MooX-TypeTiny.metadata b/.perl-MooX-TypeTiny.metadata new file mode 100644 index 0000000..7b3952d --- /dev/null +++ b/.perl-MooX-TypeTiny.metadata @@ -0,0 +1 @@ +df874b551fc702f36426c8ecd691de8dc7b97fa0 SOURCES/MooX-TypeTiny-0.002003.tar.gz diff --git a/SPECS/perl-MooX-TypeTiny.spec b/SPECS/perl-MooX-TypeTiny.spec new file mode 100644 index 0000000..e3417e6 --- /dev/null +++ b/SPECS/perl-MooX-TypeTiny.spec @@ -0,0 +1,81 @@ +Name: perl-MooX-TypeTiny +Version: 0.002003 +Release: 6%{?dist} +Summary: Optimized type checks for Moo + Type::Tiny +License: GPL+ or Artistic + +URL: https://metacpan.org/dist/MooX-TypeTiny +Source0: https://cpan.metacpan.org/authors/id/H/HA/HAARG/MooX-TypeTiny-%{version}.tar.gz + +BuildArch: noarch +# build requirements +BuildRequires: coreutils +BuildRequires: make +BuildRequires: perl-generators +BuildRequires: perl-interpreter +BuildRequires: perl(ExtUtils::MakeMaker) >= 6.76 +# runtime requirements +BuildRequires: perl(Moo) >= 2.004 +BuildRequires: perl(Moo::Role) +BuildRequires: perl(Scalar::Util) +BuildRequires: perl(Sub::Quote) +BuildRequires: perl(strict) +BuildRequires: perl(warnings) +# test requirements +BuildRequires: perl(Test::Fatal) >= 0.003 +BuildRequires: perl(Test::More) >= 0.94 +BuildRequires: perl(Type::Tiny) >= 1.008 +BuildRequires: perl(Types::Standard) +Requires: perl(Moo) >= 2.004 +Requires: perl(Type::Tiny) >= 1.008 + +%{?perl_default_filter} +%global __requires_exclude %{?__requires_exclude:%{__requires_exclude}|}perl\\(Moo::_ + + +%description +This module optimizes Moo type checks when used with Type::Tiny to perform +better. It will automatically apply to isa checks and coercions that use +Type::Tiny. Non-Type::Tiny isa checks will work as normal. + +%prep +%setup -q -n MooX-TypeTiny-%{version} + +%build +/usr/bin/perl Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1 NO_PERLLOCAL=1 +%{make_build} + +%install +%{make_install} +%{_fixperms} $RPM_BUILD_ROOT/* + +%check +%{make_build} test + +%files +%doc Changes README +%license LICENSE +%{perl_vendorlib}/MooX* +%{_mandir}/man3/MooX* + +%changelog +* Wed Sep 27 2023 Arkady L. Shane - 0.002003-6 +- Rebuilt for MSVSphere 9.2 + +* Fri Jan 20 2023 Fedora Release Engineering - 0.002003-6 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild + +* Fri Jul 22 2022 Fedora Release Engineering - 0.002003-5 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild + +* Wed Jun 01 2022 Jitka Plesnikova - 0.002003-4 +- Perl 5.36 rebuild + +* Fri Jan 21 2022 Fedora Release Engineering - 0.002003-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild + +* Thu Sep 16 2021 Emmanuel Seyman - 0.002003-2 +- Take into account review feedback (#2004268) + +* Tue Sep 14 2021 Emmanuel Seyman - 0.002003-1 +- Initial specfile, based on the one autogenerated by cpanspec 1.78.