Move gcc dependency from ExtUtils::MakeMaker to ExtUtils::CBuilder
To benefit from a build root without a GCC, perl-ExtUtils-MakeMaker cannot depend on gcc because a compiler is not needed for pure-Perl packages. bug #1547165
This commit is contained in:
parent
f56d3d5593
commit
89b92bf4f0
12
perl.spec
12
perl.spec
@ -1249,6 +1249,10 @@ License: GPL+ or Artistic
|
|||||||
Epoch: 1
|
Epoch: 1
|
||||||
Version: 0.280225
|
Version: 0.280225
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
|
# C and C++ compilers are highly recommended because compiling code is the
|
||||||
|
# purpose of ExtUtils::CBuilder, bug #1547165
|
||||||
|
Requires: gcc
|
||||||
|
Requires: gcc-c++
|
||||||
Requires: perl-devel
|
Requires: perl-devel
|
||||||
Requires: %perl_compat
|
Requires: %perl_compat
|
||||||
Requires: perl(DynaLoader)
|
Requires: perl(DynaLoader)
|
||||||
@ -1325,11 +1329,13 @@ Summary: Create a module Makefile
|
|||||||
License: GPL+ or Artistic
|
License: GPL+ or Artistic
|
||||||
Epoch: 1
|
Epoch: 1
|
||||||
Version: 7.24
|
Version: 7.24
|
||||||
|
# These dependencies are weak in order to relieve building noarch
|
||||||
|
# packages from perl-devel and gcc. See bug #1547165.
|
||||||
|
# If an XS module is built, the generated Makefile executes gcc.
|
||||||
|
Recommends: gcc
|
||||||
# If an XS module is built, code generated from XS will be compiled and it
|
# If an XS module is built, code generated from XS will be compiled and it
|
||||||
# includes Perl header files.
|
# includes Perl header files.
|
||||||
# TODO: This dependency will be weaken in order to relieve building noarch
|
Recommends: perl-devel
|
||||||
# packages from perl-devel and gcc.
|
|
||||||
Requires: perl-devel
|
|
||||||
Requires: %perl_compat
|
Requires: %perl_compat
|
||||||
Requires: perl(Data::Dumper)
|
Requires: perl(Data::Dumper)
|
||||||
Requires: perl(DynaLoader)
|
Requires: perl(DynaLoader)
|
||||||
|
Loading…
Reference in New Issue
Block a user