From 58bbdda0fc9b94d8261e64445ad11685eb7c6a5d Mon Sep 17 00:00:00 2001 From: tigro Date: Tue, 26 Sep 2023 17:41:36 +0300 Subject: [PATCH] import perl-Type-Tiny-2.004000-1.el9 --- .gitignore | 1 + .perl-Type-Tiny.metadata | 1 + SPECS/perl-Type-Tiny.spec | 459 ++++++++++++++++++++++++++++++++++++++ 3 files changed, 461 insertions(+) create mode 100644 .gitignore create mode 100644 .perl-Type-Tiny.metadata create mode 100644 SPECS/perl-Type-Tiny.spec diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..da16d7f --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +SOURCES/Type-Tiny-2.004000.tar.gz diff --git a/.perl-Type-Tiny.metadata b/.perl-Type-Tiny.metadata new file mode 100644 index 0000000..5ceb857 --- /dev/null +++ b/.perl-Type-Tiny.metadata @@ -0,0 +1 @@ +b4eb35bf63128c75250dde649d30cf4e8fbc0b96 SOURCES/Type-Tiny-2.004000.tar.gz diff --git a/SPECS/perl-Type-Tiny.spec b/SPECS/perl-Type-Tiny.spec new file mode 100644 index 0000000..4aec060 --- /dev/null +++ b/SPECS/perl-Type-Tiny.spec @@ -0,0 +1,459 @@ +Name: perl-Type-Tiny +Version: 2.004000 +Release: 1%{?dist} +Summary: Tiny, yet Moo(se)-compatible type constraint +License: GPL-1.0-or-later OR Artistic-1.0-Perl +URL: https://metacpan.org/release/Type-Tiny +Source0: https://cpan.metacpan.org/authors/id/T/TO/TOBYINK/Type-Tiny-%{version}.tar.gz +BuildArch: noarch + +# --with reply_plugin +# Default: --without +# Missing deps (perl(Reply::Plugin)) +# Marked as unstable (cf. lib/Reply/Plugin/TypeTiny.pm) +%bcond_with reply_plugin + +BuildRequires: coreutils +BuildRequires: findutils +BuildRequires: sed +BuildRequires: %{__make} +BuildRequires: %{__perl} + +BuildRequires: perl-interpreter +BuildRequires: perl-generators +BuildRequires: perl(:VERSION) >= 5.6.1 + +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) +%if "%{version}" >= "2.000001" +BuildRequires: perl(Exporter::Tiny) >= 1.004001 +%else +BuildRequires: perl(Exporter::Tiny) >= 0.040 +%endif +BuildRequires: perl(ExtUtils::MakeMaker) >= 6.17 +%if "%{version}" >= "2.000001" +BuildRequires: perl(experimental) +%endif +BuildRequires: perl(feature) +BuildRequires: perl(lib) +BuildRequires: perl(Math::BigFloat) +BuildRequires: perl(Scalar::Util) +BuildRequires: perl(Test::Fatal) +BuildRequires: perl(Test::Moose) +BuildRequires: perl(Test::More) >= 0.96 +BuildRequires: perl(Test::Requires) +BuildRequires: perl(Test::Tester) >= 0.109 +%if "%{version}" >= "2.000001" +BuildRequires: perl(Test::Deep) +%endif +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) + +# optional +# N/A in Fedora: BuildRequires: perl(Class::InsideOut) +BuildRequires: perl(Class::ISA) +%if "%{version}" >= "2.000001" +# N/A in Fedora: BuildRequires: perl(Class::Plain) +%endif +BuildRequires: perl(Data::Constraint) +BuildRequires: perl(Devel::Hide) +BuildRequires: perl(Devel::LexAlias) >= 0.05 +BuildRequires: perl(Devel::Refcount) +BuildRequires: perl(Devel::StackTrace) +BuildRequires: perl(Exporter) >= 5.59 +BuildRequires: perl(Function::Parameters) +BuildRequires: perl(IO::String) +BuildRequires: perl(JSON::PP) >= 2.27105 +# N/A in Fedora: BuildRequires: perl(Kavorka) +BuildRequires: perl(match::simple) +BuildRequires: perl(Method::Generate::Accessor) +BuildRequires: perl(Moo) +BuildRequires: perl(Moo::Role) +%if !%{defined perl_bootstrap} +# Build cycle perl-MooX-TypeTiny <-> perl-Type-Tiny +BuildRequires: perl(MooX::TypeTiny) +%endif +# N/A in Fedora: BuildRequires: perl(Moops) +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) +# N/A in Fedora: BuildRequires: perl(MooseX::Types::DBIx::Class) +BuildRequires: perl(MooseX::Types::Moose) +BuildRequires: perl(Mouse) +BuildRequires: perl(Mouse::Meta::TypeConstraint) +BuildRequires: perl(Mouse::Util) +BuildRequires: perl(Mouse::Util::TypeConstraints) +BuildRequires: perl(MouseX::Types) +BuildRequires: perl(MouseX::Types::Common) +BuildRequires: perl(MouseX::Types::Moose) +BuildRequires: perl(mro) +BuildRequires: perl(Object::Accessor) +BuildRequires: perl(re) +BuildRequires: perl(Ref::Util::XS) > 0.100 +%{?with_reply_plugin:BuildRequires: perl(Reply::Plugin)} +%if !%{defined perl_bootstrap} +# Build-cycle: perl-Return-Type → perl-Type-Tiny +BuildRequires: perl(Return::Type) >= 0.004 +%endif +BuildRequires: perl(Role::Tiny) +BuildRequires: perl(Role::Tiny::With) +BuildRequires: perl(Sub::Exporter::Lexical) >= 0.092291 +BuildRequires: perl(Specio) +BuildRequires: perl(Specio::Library::Builtins) +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::Memory::Cycle) +BuildRequires: perl(Test::Warnings) +%if "%{version}" < "2.000001" +BuildRequires: perl(Type::Tie) +%endif +# N/A in Fedora: BuildRequires: perl(Types::ReadOnly) +%if !%{defined perl_bootstrap} +# Build-cycle: perl-Type-Tiny-XS → perl-Type-Tiny +BuildRequires: perl(Type::Tiny::XS) +# Build-cycle: perl-Types-Path-Tiny → perl-Type-Tiny +BuildRequires: perl(Types::Path::Tiny) +# Build-cycle: perl-Validation-Class → perl-Hash-Flatten → perl-Log-Trace +# → perl-Data-Serializer → perl-Crypt-CBC → perl-Crypt-PBKDF2 → perl-Type-Tiny +BuildRequires: perl(Validation::Class) >= 7.900017 +BuildRequires: perl(Validation::Class::Simple) +%endif + +Requires: perl(B::Deparse) +Requires: perl(Carp) +Requires: perl(Data::Dumper) +%if "%{version}" >= "2.000001" +Obsoletes: perl-Type-Tie < %{version}-%{release} +%if 0%{?fedora} < 37 +Provides: perl-Type-Tie = %{version}-%{release} +%endif +%endif + +Recommends: perl(Type::Tiny::XS) + +%description +Type::Tiny is a tiny class for creating Moose-like type constraint objects +which are compatible with Moo, Moose and Mouse. + +%package -n perl-Test-TypeTiny +Summary: Test::TypeTiny module + +%description -n perl-Test-TypeTiny +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 NO_PACKLIST=1 NO_PERLLOCAL=1 +%{make_build} + +%install +%{make_install} DESTDIR=$RPM_BUILD_ROOT +%{_fixperms} $RPM_BUILD_ROOT/* + +%check +%{__make} test + +%files +%doc Changes CREDITS NEWS README +%license LICENSE COPYRIGHT +%{perl_vendorlib}/* +%{!?with_reply_plugin:%exclude %{perl_vendorlib}/Reply} +%{_mandir}/man3/* +%exclude %{perl_vendorlib}/Test +%exclude %{_mandir}/man3/Test::TypeTiny.3pm* + +%files -n perl-Test-TypeTiny +%{perl_vendorlib}/Test +%{_mandir}/man3/Test::TypeTiny.3pm* + +%changelog +* Tue Sep 26 2023 Arkady L. Shane - 2.004000-1 +- Rebuilt for MSVSphere 9.2 + +* Mon Apr 24 2023 Ralf Corsépius - 2.004000-1 +- Update to 2.004000. + +* Mon Jan 30 2023 Ralf Corsépius - 2.002001-1 +- Update to 2.002001. + +* Fri Jan 20 2023 Fedora Release Engineering - 2.002000-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild + +* Wed Jan 04 2023 Ralf Corsépius - 2.002000-1 +- Update to 2.002000. + +* Sat Nov 19 2022 Ralf Corsépius - 2.000001-3 +- Don't BR: perl(Type::Tiny::XS) if bootstrapping. + +* Wed Nov 16 2022 Ralf Corsépius - 2.000001-2 +- Add perl(Type::Tiny::XS) + +* Tue Oct 04 2022 Ralf Corsépius - 2.000001-1 +- Update to 2.000001. + +* Mon Sep 12 2022 Ralf Corsépius - 1.016010-1 +- Update to 1.016010. + +* Mon Aug 22 2022 Ralf Corsépius - 1.016008-2 +- Re-add BR: perl(Data::Constraint). + +* Thu Aug 18 2022 Ralf Corsépius - 1.016008-1 +- Update to 1.016008. + +* Fri Jul 22 2022 Fedora Release Engineering - 1.014000-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild + +* Mon Jul 11 2022 Ralf Corsépius - 1.014000-1 +- Update to 1.014000. + +* Fri Jul 01 2022 Ralf Corsépius - 1.012005-3 +- Add BR: perl(MouseX::Types::Common). +- Address BR-cycle (RHBZ#2096309#c2). + +* Mon Jun 13 2022 Ralf Corsépius - 1.012005-2 +- Add and comment out BR: perl(Data::Constraint), + BR: perl(MooseX::Types::DBIx::Class), BR: perl(Types::ReadOnly) + +* Mon Jun 13 2022 Ralf Corsépius - 1.012005-1 +- Upstream update to 1.012005. +- Add BR: perl(MooX::TypeTiny). + +* Fri Jun 03 2022 Jitka Plesnikova - 1.012004-4 +- Perl 5.36 re-rebuild of bootstrapped packages + +* Wed Jun 01 2022 Jitka Plesnikova - 1.012004-3 +- Perl 5.36 rebuild + +* Fri Jan 21 2022 Fedora Release Engineering - 1.012004-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild + +* Mon Sep 13 2021 Ralf Corsépius - 1.012004-1 +- Update to 1.012004. + +* Sun Sep 12 2021 Ralf Corsépius - 1.012003-1 +- Cleanup Jitka's broken git-merger. +- Update to 1.012003. + +* Tue Jul 27 2021 Fedora Release Engineering - 1.012001-4 +- Second attempt - Rebuilt for + https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild + +* Mon May 24 2021 Jitka Plesnikova - 1.012001-3 +- Perl 5.34 re-rebuild of bootstrapped packages + +* Sun May 23 2021 Jitka Plesnikova - 1.012001-2 +- Perl 5.34 rebuild + +* Tue Apr 27 2021 Ralf Corsépius - 1.012001-1 +- Update to 1.012001. +- Add BR: perl(Devel::Refcount). + +* Wed Jan 27 2021 Fedora Release Engineering - 1.010006-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild + +* Thu Sep 17 2020 Ralf Corsépius - 1.010006-1 +- Update to 1.010006. + +* Thu Sep 17 2020 Ralf Corsépius - 1.010005-1 +- Update to 1.010005. + +* Fri Aug 21 2020 Ralf Corsépius - 1.010004-1 +- Update to 1.010004. +- Add BR: perl(match::simple). + +* Tue Jul 28 2020 Fedora Release Engineering - 1.010002-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild + +* Fri Jun 26 2020 Jitka Plesnikova - 1.010002-3 +- Perl 5.32 re-rebuild of bootstrapped packages + +* Tue Jun 23 2020 Jitka Plesnikova - 1.010002-2 +- Perl 5.32 rebuild + +* Wed May 06 2020 Ralf Corsépius - 1.010002-1 +- Update to 1.010002. + +* Thu Mar 26 2020 Ralf Corsépius - 1.010001-1 +- Update to 1.010001. + +* Thu Mar 05 2020 Ralf Corsépius - 1.010000-1 +- Update to 1.010000. + +* Wed Feb 12 2020 Ralf Corsépius - 1.008005-1 +- Update to 1.008005. + +* Thu Jan 30 2020 Fedora Release Engineering - 1.008003-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild + +* Fri Jan 17 2020 Ralf Corsépius - 1.008003-1 +- Update to 1.008003. + +* Tue Jan 14 2020 Ralf Corsépius - 1.008002-1 +- Update to 1.008002. +- Add BR: perl(Specio), perl(Specio::Library::Builtins, + perl(Test::Memory::Cycle). + +* Thu Dec 19 2019 Ralf Corsépius - 1.008000-1 +- Update to 1.008000. + +* Fri Jul 26 2019 Fedora Release Engineering - 1.004004-5 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild + +* Sun Jun 02 2019 Jitka Plesnikova - 1.004004-4 +- Perl 5.30 re-rebuild of bootstrapped packages + +* Fri May 31 2019 Jitka Plesnikova - 1.004004-3 +- Perl 5.30 rebuild + +* Sat Feb 02 2019 Fedora Release Engineering - 1.004004-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild + +* Fri Jan 11 2019 Ralf Corsépius - 1.004004-1 +- Update to 1.004004. + +* Tue Aug 07 2018 Ralf Corsépius - 1.004002-1 +- Update to 1.004002. +- Add BR: perl(IO::String). +- Add and comment out BR: perl(MouseX::Types::Common). + +* Fri Jul 13 2018 Fedora Release Engineering - 1.002002-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild + +* Sat Jun 30 2018 Jitka Plesnikova - 1.002002-3 +- Perl 5.28 re-rebuild of bootstrapped packages + +* Sat Jun 30 2018 Jitka Plesnikova - 1.002002-2 +- Perl 5.28 rebuild + +* Mon May 21 2018 Ralf Corsépius - 1.002002-1 +- Update to 1.002002. +- Add BR: perl(Ref::Util::XS). + +* Fri Feb 09 2018 Fedora Release Engineering - 1.002001-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild + +* Thu Jul 27 2017 Fedora Release Engineering - 1.002001-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild + +* Wed Jun 21 2017 Ralf Corsépius - 1.002001-1 +- Update to 1.002001. + +* Wed Jun 07 2017 Jitka Plesnikova - 1.002000-2 +- Perl 5.26 re-rebuild of bootstrapped packages + +* Wed Jun 07 2017 Ralf Corsépius - 1.002000-1 +- Update to 1.002000. + +* Tue Jun 06 2017 Jitka Plesnikova - 1.000006-7 +- Perl 5.26 rebuild + +* Mon Mar 20 2017 Ralf Corsépius - 1.000006-6 +- Don't BR: perl(Return::Type), perl(Types::Path::Tiny) if perl_bootstrapping + (From ppisar@redhat.com, RHBZ#1433344) + +* Mon Feb 13 2017 Ralf Corsépius - 1.000006-5 +- Add further optional part of testsuites: BR: perl(Validation::Class), + perl(Validation::Class::Simple). + +* Fri Feb 10 2017 Ralf Corsépius - 1.000006-4 +- Add further optional part of testsuite: BR: perl(Return::Type). + +* Thu Feb 09 2017 Ralf Corsépius - 1.000006-3 +- Add further optional part of testsuite: BR: perl(Type::Tie). + +* Thu Feb 09 2017 Ralf Corsépius - 1.000006-2 +- Add more optional parts of testsuite: + - BR: perl(Sub::Exporter::Lexical). + - BR: perl(Types::Path::Tiny). + +* Thu Feb 02 2017 Ralf Corsépius - 1.000006-1 +- Update to 1.000006. +- Add BuildRequires: perl(Function::Parameters) + +* Mon May 16 2016 Jitka Plesnikova - 1.000005-7 +- Perl 5.24 rebuild + +* Thu Feb 04 2016 Fedora Release Engineering - 1.000005-6 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild + +* Fri Jan 29 2016 Ralf Corsépius - 1.000005-5 +- Modernize spec. +- Add COPYRIGHT to %%license. + +* 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 + +* Mon Jun 08 2015 Jitka Plesnikova - 1.000005-2 +- Perl 5.22 rebuild + +* Mon Oct 27 2014 Ralf Corsépius - 1.000005-1 +- Upstream update. + +* Thu Sep 04 2014 Jitka Plesnikova - 1.000004-2 +- Perl 5.20 rebuild + +* Thu Sep 04 2014 Ralf Corsépius - 1.000004-1 +- Upstream update. + +* Mon Sep 01 2014 Jitka Plesnikova - 1.000003-2 +- Perl 5.20 rebuild + +* Sun Aug 31 2014 Ralf Corsépius - 1.000003-1 +- Upstream update. + +* Fri Aug 22 2014 Ralf Corsépius - 1.000002-1 +- Upstream update. +- Update deps. + +* Mon Aug 18 2014 Ralf Corsépius - 1.000000-1 +- Upstream update. + +* Thu Jul 24 2014 Ralf Corsépius - 0.046-1 +- Upstream update. + +* Mon Jun 23 2014 Ralf Corsépius - 0.044-1 +- Upstream update. +- Spec file cosmetics. +- BR: perl(Test::Moose), perl(MooseX::Getopt). + +* Sat Jun 07 2014 Fedora Release Engineering - 0.042-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild + +* Tue Apr 08 2014 Ralf Corsépius - 0.042-1 +- Upstream update. +- Split out perl(Test::TypeTiny) to avoid deps on perl(Test::*). + +* Fri Mar 21 2014 Ralf Corsépius - 0.040-1 +- Initial Fedora package.