Specify all dependencies
This commit is contained in:
parent
fbcb2f2819
commit
15672de8ef
@ -1,12 +1,18 @@
|
|||||||
Name: perl-JSON
|
Name: perl-JSON
|
||||||
Summary: Parse and convert to JSON (JavaScript Object Notation)
|
Summary: Parse and convert to JSON (JavaScript Object Notation)
|
||||||
Version: 4.02
|
Version: 4.02
|
||||||
Release: 4%{?dist}
|
Release: 5%{?dist}
|
||||||
License: GPL+ or Artistic
|
License: GPL+ or Artistic
|
||||||
|
|
||||||
URL: https://metacpan.org/release/JSON
|
URL: https://metacpan.org/release/JSON
|
||||||
Source0: https://cpan.metacpan.org/modules/by-module/JSON/JSON-%{version}.tar.gz
|
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(: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
|
BuildArch: noarch
|
||||||
|
|
||||||
BuildRequires: coreutils
|
BuildRequires: coreutils
|
||||||
@ -14,22 +20,31 @@ BuildRequires: findutils
|
|||||||
BuildRequires: make
|
BuildRequires: make
|
||||||
BuildRequires: perl-generators
|
BuildRequires: perl-generators
|
||||||
BuildRequires: perl-interpreter
|
BuildRequires: perl-interpreter
|
||||||
|
BuildRequires: perl(:VERSION) >= 5.5.30
|
||||||
|
# B not used at tests
|
||||||
BuildRequires: perl(base)
|
BuildRequires: perl(base)
|
||||||
|
BuildRequires: perl(bytes)
|
||||||
BuildRequires: perl(Carp)
|
BuildRequires: perl(Carp)
|
||||||
BuildRequires: perl(constant)
|
BuildRequires: perl(constant)
|
||||||
BuildRequires: perl(Data::Dumper)
|
BuildRequires: perl(Data::Dumper)
|
||||||
BuildRequires: perl(Encode)
|
BuildRequires: perl(Encode)
|
||||||
BuildRequires: perl(Exporter)
|
BuildRequires: perl(Exporter)
|
||||||
BuildRequires: perl(ExtUtils::MakeMaker)
|
BuildRequires: perl(ExtUtils::MakeMaker)
|
||||||
BuildRequires: perl(File::Spec)
|
BuildRequires: perl(lib)
|
||||||
BuildRequires: perl(Math::BigFloat)
|
BuildRequires: perl(Math::BigFloat)
|
||||||
BuildRequires: perl(Math::BigInt)
|
BuildRequires: perl(Math::BigInt)
|
||||||
BuildRequires: perl(lib)
|
BuildRequires: perl(overload)
|
||||||
BuildRequires: perl(Scalar::Util)
|
BuildRequires: perl(Scalar::Util)
|
||||||
|
BuildRequires: perl(strict)
|
||||||
|
# subs not used
|
||||||
BuildRequires: perl(Test)
|
BuildRequires: perl(Test)
|
||||||
BuildRequires: perl(Test::More)
|
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(Tie::IxHash)
|
||||||
|
BuildRequires: perl(utf8)
|
||||||
|
BuildRequires: perl(warnings)
|
||||||
|
|
||||||
%{?perl_default_filter}
|
%{?perl_default_filter}
|
||||||
%global __provides_exclude %{?__provides_exclude:%__provides_exclude|}perl\\(JSON::(Backend::PP|backportPP::Boolean|Boolean|PP|PP::IncrParser)\\)
|
%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}
|
%{_fixperms} -c %{buildroot}
|
||||||
|
|
||||||
%check
|
%check
|
||||||
|
unset PERL_JSON_BACKEND PERL_JSON_DEBUG PERL_JSON_PP_USE_B
|
||||||
make test
|
make test
|
||||||
|
|
||||||
%files
|
%files
|
||||||
@ -67,6 +83,9 @@ make test
|
|||||||
%{_mandir}/man3/*
|
%{_mandir}/man3/*
|
||||||
|
|
||||||
%changelog
|
%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
|
* Thu Jan 30 2020 Fedora Release Engineering <releng@fedoraproject.org> - 4.02-4
|
||||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user