You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
perl-MooX-TypeTiny/SPECS/perl-MooX-TypeTiny.spec

82 lines
2.5 KiB

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 <tigro@msvsphere-os.ru> - 0.002003-6
- Rebuilt for MSVSphere 9.2
* Fri Jan 20 2023 Fedora Release Engineering <releng@fedoraproject.org> - 0.002003-6
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
* Fri Jul 22 2022 Fedora Release Engineering <releng@fedoraproject.org> - 0.002003-5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
* Wed Jun 01 2022 Jitka Plesnikova <jplesnik@redhat.com> - 0.002003-4
- Perl 5.36 rebuild
* Fri Jan 21 2022 Fedora Release Engineering <releng@fedoraproject.org> - 0.002003-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
* Thu Sep 16 2021 Emmanuel Seyman <emmanuel@seyman.fr> - 0.002003-2
- Take into account review feedback (#2004268)
* Tue Sep 14 2021 Emmanuel Seyman <emmanuel@seyman.fr> - 0.002003-1
- Initial specfile, based on the one autogenerated by cpanspec 1.78.