Name: perl-Test-Object Version: 0.08 Release: 1 Summary: Thoroughly testing objects via registered handlers License: GPL+ or Artistic URL: https://metacpan.org/release/Test-Object Source0: https://cpan.metacpan.org/authors/id/E/ET/ETHER/Test-Object-%{version}.tar.gz BuildArch: noarch BuildRequires: make BuildRequires: perl-generators BuildRequires: perl-interpreter BuildRequires: perl(:VERSION) >= 5.6 BuildRequires: perl(ExtUtils::MakeMaker) >= 6.76 BuildRequires: perl(strict) BuildRequires: perl(warnings) # Run-time BuildRequires: perl(Carp) BuildRequires: perl(Exporter) BuildRequires: perl(Scalar::Util) >= 1.16 BuildRequires: perl(Test::More) BuildRequires: perl(vars) # Tests BuildRequires: perl(File::Spec) BuildRequires: perl(File::Spec::Functions) BuildRequires: perl(FindBin) BuildRequires: perl(lib) BuildRequires: perl(Test::Builder::Tester) Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) %description Test::Object is a testing package designed to allow you to easily test what you believe is a valid object against the expected behaviour of all of the classes in its inheritance tree in one single call. %prep %setup -q -n Test-Object-%{version} %build %{__perl} Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1 make %{?_smp_mflags} %install make pure_install DESTDIR=$RPM_BUILD_ROOT %{_fixperms} $RPM_BUILD_ROOT/* %check make test %files %license LICENSE %doc Changes CONTRIBUTING README %{perl_vendorlib}/Test/ %{_mandir}/man3/*.3pm* %changelog * Fri Jul 09 2021 Liang Changwei - 0.06-1 - First build for openEuler.