Name: perl-Scalar-Does Version: 0.203 Release: 19%{?dist} Summary: Check an object implements an interface # COPYRIGHT: Public Domain # other files: GPL+ or Artistic License: (GPL+ or Artistic) and Public Domain URL: https://metacpan.org/release/Scalar-Does Source0: https://cpan.metacpan.org/authors/id/T/TO/TOBYINK/Scalar-Does-%{version}.tar.gz BuildArch: noarch BuildRequires: findutils BuildRequires: make BuildRequires: perl-interpreter BuildRequires: perl-generators BuildRequires: perl(ExtUtils::MakeMaker) >= 6.17 BuildRequires: perl(strict) # Run-time: BuildRequires: perl(:VERSION) >= 5.8 BuildRequires: perl(B) BuildRequires: perl(base) BuildRequires: perl(Carp) BuildRequires: perl(constant) BuildRequires: perl(Exporter::Tiny) >= 0.026 BuildRequires: perl(if) BuildRequires: perl(lexical::underscore) BuildRequires: perl(namespace::clean) >= 0.19 BuildRequires: perl(overload) BuildRequires: perl(Scalar::Util) >= 1.24 BuildRequires: perl(Type::Tiny) >= 0.004 BuildRequires: perl(Types::Standard) >= 0.004 # UNIVERSAL::DOES not used with perl >= 5.10 BuildRequires: perl(URI::file) BuildRequires: perl(warnings) # Tests: BuildRequires: perl(Data::Dumper) BuildRequires: perl(feature) BuildRequires: perl(File::Temp) BuildRequires: perl(FileHandle) BuildRequires: perl(IO::File) BuildRequires: perl(IO::Handle) BuildRequires: perl(IO::Socket::INET) BuildRequires: perl(Test::More) >= 0.96 BuildRequires: perl(Test::Requires) >= 0.06 BuildRequires: perl(URI) # Optional tests: BuildRequires: perl(IO::All) BuildRequires: perl(List::MoreUtils) BuildRequires: perl(Moose) BuildRequires: perl(Moose::Role) BuildRequires: perl(MooseX::Types) BuildRequires: perl(MooseX::Types::Moose) BuildRequires: perl(Path::Class) BuildRequires: perl(Path::Tiny) # Test::NoWarnings used only if List::MoreUtils exists BuildRequires: perl(Test::NoWarnings) Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version)) Requires: perl(B) Requires: perl(Exporter::Tiny) >= 0.026 Requires: perl(lexical::underscore) Requires: perl(Type::Tiny) >= 0.004 # Remove under-specified dependencies %global __requires_exclude %{?__requires_exclude:%{__requires_exclude}|}^perl\\((Exporter::Tiny|Type::Tiny)\\)$ %description It has long been noted that Perl would benefit from a does() built-in. A check that ref($thing) eq 'ARRAY' doesn't allow you to accept an object that uses overloading to provide an array-like interface. This package delivers Scalar::Does Perl module that can do it. %prep %setup -q -n Scalar-Does-%{version} %build perl Makefile.PL INSTALLDIRS=vendor make %{?_smp_mflags} %install make pure_install DESTDIR=$RPM_BUILD_ROOT find $RPM_BUILD_ROOT -type f -name .packlist -delete %{_fixperms} $RPM_BUILD_ROOT/* %check make test %files %license LICENSE %doc Changes COPYRIGHT CREDITS IO-Detect-Changes.txt NEWS README %doc TODO %{perl_vendorlib}/* %{_mandir}/man3/* %changelog * Fri Jul 22 2022 Fedora Release Engineering - 0.203-19 - Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild * Wed Jun 01 2022 Jitka Plesnikova - 0.203-18 - Perl 5.36 rebuild * Fri Jan 21 2022 Fedora Release Engineering - 0.203-17 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild * Thu Jul 22 2021 Fedora Release Engineering - 0.203-16 - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild * Sun May 23 2021 Jitka Plesnikova - 0.203-15 - Perl 5.34 rebuild * Wed Jan 27 2021 Fedora Release Engineering - 0.203-14 - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild * Tue Jul 28 2020 Fedora Release Engineering - 0.203-13 - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild * Tue Jun 23 2020 Jitka Plesnikova - 0.203-12 - Perl 5.32 rebuild * Thu Jan 30 2020 Fedora Release Engineering - 0.203-11 - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild * Fri Jul 26 2019 Fedora Release Engineering - 0.203-10 - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild * Fri May 31 2019 Jitka Plesnikova - 0.203-9 - Perl 5.30 rebuild * Fri Feb 01 2019 Fedora Release Engineering - 0.203-8 - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild * Fri Jul 13 2018 Fedora Release Engineering - 0.203-7 - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild * Sat Jun 30 2018 Jitka Plesnikova - 0.203-6 - Perl 5.28 rebuild * Fri Feb 09 2018 Fedora Release Engineering - 0.203-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild * Thu Jul 27 2017 Fedora Release Engineering - 0.203-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild * Tue Jun 06 2017 Jitka Plesnikova - 0.203-3 - Perl 5.26 rebuild * Sat Feb 11 2017 Fedora Release Engineering - 0.203-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild * Wed Feb 01 2017 Jitka Plesnikova - 0.203-1 - 0.203 bump * Tue Nov 29 2016 Petr Pisar - 0.202-2 - Fix a no-warnings test (bug #1399514) * Thu Jun 23 2016 Petr Pisar 0.202-1 - Specfile autogenerated by cpanspec 1.78.