perl-Canary-Stability/perl-Canary-Stability.spec
2020-03-06 15:57:12 +08:00

43 lines
1.1 KiB
RPMSpec

Name: perl-Canary-Stability
Version: 2013
Release: 4
Summary: Canary to check perl compatibility for schmorp's modules
License: GPL+ or Artistic
URL: https://metacpan.org/release/Canary-Stability
Source0: https://cpan.metacpan.org/authors/id/M/ML/MLEHMANN/Canary-Stability-%{version}.tar.gz
BuildArch: noarch
BuildRequires: make perl-generators perl-interpreter
BuildRequires: perl(ExtUtils::MakeMaker) >= 6.76
Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
Requires: perl(ExtUtils::MakeMaker)
%description
This module is used by Schmorp's modules during configuration stage to test
the installed perl for compatibility with this modules.
%prep
%setup -q -n Canary-Stability-%{version}
%build
perl Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1 NO_PERLLOCAL=1
%{make_build}
%install
%{make_install}
%{_fixperms} $RPM_BUILD_ROOT/*
%check
make test
%files
%{perl_vendorlib}/*
%license COPYING
%doc Changes README
%{_mandir}/man3/*
%changelog
* Mon Mar 2 2020 openEuler Buildteam <buildteam@openeuler.org> - 2013-4
- Package init