Name: perl-Test-ClassAPI Version: 1.07 Release: 1%{?dist} Summary: Provides basic first-pass API testing for large class trees License: GPL+ or Artistic Group: Development/Libraries URL: http://search.cpan.org/dist/Test-ClassAPI/ Source0: http://www.cpan.org/authors/id/E/ET/ETHER/Test-ClassAPI-%{version}.tar.gz BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildArch: noarch BuildRequires: perl >= 0:5.006 BuildRequires: perl(base) BuildRequires: perl(Class::Inspector) >= 1.12 BuildRequires: perl(Config::Tiny) >= 2.00 BuildRequires: perl(ExtUtils::MakeMaker) BuildRequires: perl(File::Spec) >= 0.83 BuildRequires: perl(Params::Util) >= 1.00 BuildRequires: perl(strict) BuildRequires: perl(Test::More) >= 0.47 BuildRequires: perl(vars) BuildRequires: perl(warnings) Requires: perl(Class::Inspector) >= 1.12 Requires: perl(Config::Tiny) >= 2.00 Requires: perl(File::Spec) >= 0.83 Requires: perl(Params::Util) >= 1.00 Requires: perl(strict) Requires: perl(Test::More) >= 0.47 Requires: perl(vars) Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) Provides: perl(Test::ClassAPI) %description For many APIs with large numbers of classes, it can be very useful to be able to do a quick once-over to make sure that classes, methods, and inheritance is correct, before doing more comprehensive testing. This module aims to provide such a capability. %prep %setup -q -n Test-ClassAPI-%{version} %build %{__perl} Makefile.PL INSTALLDIRS=vendor make %{?_smp_mflags} %install rm -rf $RPM_BUILD_ROOT make pure_install PERL_INSTALL_ROOT=$RPM_BUILD_ROOT find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} \; find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null \; %{_fixperms} $RPM_BUILD_ROOT/* %check make test %clean rm -rf $RPM_BUILD_ROOT %files %defattr(-,root,root,-) %doc Changes CONTRIBUTING dist.ini LICENSE META.json README %{perl_vendorlib}/* %{_mandir}/man3/* %changelog * Sat Feb 17 2024 Trevor Batley 1.07-1 - Specfile autogenerated by cpanspec 1.78.