Require full Perl for non-duallived sub-packaged core modules
This commit is contained in:
parent
5fa2be1208
commit
b080b1319f
@ -1,6 +1,6 @@
|
|||||||
Name: perl-App-cpanminus
|
Name: perl-App-cpanminus
|
||||||
Version: 1.7044
|
Version: 1.7044
|
||||||
Release: 3%{?dist}
|
Release: 4%{?dist}
|
||||||
Summary: Get, unpack, build and install CPAN modules
|
Summary: Get, unpack, build and install CPAN modules
|
||||||
License: GPL+ or Artistic
|
License: GPL+ or Artistic
|
||||||
Group: Development/Libraries
|
Group: Development/Libraries
|
||||||
@ -59,6 +59,14 @@ BuildRequires: perl(version)
|
|||||||
# YAML not needed for compilation
|
# YAML not needed for compilation
|
||||||
# Tests:
|
# Tests:
|
||||||
BuildRequires: perl(Test::More)
|
BuildRequires: perl(Test::More)
|
||||||
|
# There is no way to install core non-duallived modules from CPAN,
|
||||||
|
# (e.g. Path-Tiny CPAN distribution requiers "open" module), require full Perl
|
||||||
|
# for that.
|
||||||
|
%if 0%(perl -e 'print $] < 5.026' 2>/dev/null)
|
||||||
|
Requires: perl-core
|
||||||
|
%else
|
||||||
|
Requires: perl
|
||||||
|
%endif
|
||||||
Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
|
Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
|
||||||
# Current dependency generator cannot parse compressed code. Use PPI to find
|
# Current dependency generator cannot parse compressed code. Use PPI to find
|
||||||
# them, and list them manually:
|
# them, and list them manually:
|
||||||
@ -137,6 +145,9 @@ make test
|
|||||||
%{_bindir}/cpanm
|
%{_bindir}/cpanm
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Mon Jul 16 2018 Petr Pisar <ppisar@redhat.com> - 1.7044-4
|
||||||
|
- Require full Perl for non-duallived sub-packaged core modules
|
||||||
|
|
||||||
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.7044-3
|
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.7044-3
|
||||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user