%global _empty_manifest_terminate_build 0
Name: perl-Statistics-Basic
Version: 1.6611
Release: 1
Summary: A collection of very basic statistics modules
License: GPL-1.0-only or Artistic-1.0-Perl
Group: Development/Libraries
URL: https://metacpan.org/dist/Statistics-Basic
Source0: https://www.cpan.org/modules/by-module/Statistics/Statistics-Basic-%{version}.tar.gz
BuildArch: noarch
BuildRequires: perl-interpreter
BuildRequires: perl-generators
BuildRequires: perl(strict)
BuildRequires: perl(warnings)
BuildRequires: perl(Number::Format)
BuildRequires: perl(Scalar::Util)
BuildRequires: perl(ExtUtils::MakeMaker)
Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
%description
These actually return objects, not numbers. The objects will interpolate as nicely formated numbers (using Number::Format). Or the actual number will be returned when the object is used as a number.
%package help
Summary : A collection of very basic statistics modules
Provides: perl-Statistics-Basic
%description help
These actually return objects, not numbers. The objects will interpolate as nicely formated numbers (using Number::Format). Or the actual number will be returned when the object is used as a number.
%prep
%setup -q -n Statistics-Basic-%{version}
%build
perl Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1 NO_PERLLOCAL=1
make %{?_smp_mflags}
%install
make pure_install DESTDIR=%{buildroot}
find %{buildroot} -type f -name .packlist -delete
%check
make test
%files
%doc Changes META.yml README
%{perl_vendorlib}/*
%{_mandir}/man3/*
%changelog
* Thu Feb 29 2024 woody2918 <wudi1@uniontech.com> - 1.6611-1
- Package init