Specify all dependencies

This commit is contained in:
Petr Písař 2020-03-12 14:29:45 +01:00
parent fbcb2f2819
commit 15672de8ef

View File

@ -1,12 +1,18 @@
Name: perl-JSON
Summary: Parse and convert to JSON (JavaScript Object Notation)
Version: 4.02
Release: 4%{?dist}
Release: 5%{?dist}
License: GPL+ or Artistic
URL: https://metacpan.org/release/JSON
Source0: https://cpan.metacpan.org/modules/by-module/JSON/JSON-%{version}.tar.gz
Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
Requires: perl(B)
Requires: perl(Encode)
Requires: perl(Math::BigFloat)
Requires: perl(Math::BigInt)
Suggests: perl(Scalar::Util)
Requires: perl(warnings)
BuildArch: noarch
BuildRequires: coreutils
@ -14,22 +20,31 @@ BuildRequires: findutils
BuildRequires: make
BuildRequires: perl-generators
BuildRequires: perl-interpreter
BuildRequires: perl(:VERSION) >= 5.5.30
# B not used at tests
BuildRequires: perl(base)
BuildRequires: perl(bytes)
BuildRequires: perl(Carp)
BuildRequires: perl(constant)
BuildRequires: perl(Data::Dumper)
BuildRequires: perl(Encode)
BuildRequires: perl(Exporter)
BuildRequires: perl(ExtUtils::MakeMaker)
BuildRequires: perl(File::Spec)
BuildRequires: perl(lib)
BuildRequires: perl(Math::BigFloat)
BuildRequires: perl(Math::BigInt)
BuildRequires: perl(lib)
BuildRequires: perl(overload)
BuildRequires: perl(Scalar::Util)
BuildRequires: perl(strict)
# subs not used
BuildRequires: perl(Test)
BuildRequires: perl(Test::More)
BuildRequires: perl(Test::Pod)
BuildRequires: perl(Test::Pod) >= 1.00
BuildRequires: perl(Tie::Array)
BuildRequires: perl(Tie::Hash)
BuildRequires: perl(Tie::IxHash)
BuildRequires: perl(utf8)
BuildRequires: perl(warnings)
%{?perl_default_filter}
%global __provides_exclude %{?__provides_exclude:%__provides_exclude|}perl\\(JSON::(Backend::PP|backportPP::Boolean|Boolean|PP|PP::IncrParser)\\)
@ -59,6 +74,7 @@ find %{buildroot} -type f -name .packlist -delete
%{_fixperms} -c %{buildroot}
%check
unset PERL_JSON_BACKEND PERL_JSON_DEBUG PERL_JSON_PP_USE_B
make test
%files
@ -67,6 +83,9 @@ make test
%{_mandir}/man3/*
%changelog
* Thu Mar 12 2020 Petr Pisar <ppisar@redhat.com> - 4.02-5
- Specify all dependencies
* Thu Jan 30 2020 Fedora Release Engineering <releng@fedoraproject.org> - 4.02-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild