Re: why does perl-ExtUtils-MakeMaker depend on systemtap-sdt-devel?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 09/10/2014 08:24 PM, Adam Jackson wrote:
On Wed, 2014-09-10 at 12:32 -0400, Robert P. J. Day wrote:
   possibly admitting my ignorance, but why does installing
perl-ExtUtils-MakeMaker drag in systemtap-sdt-devel? i see no logical
connection, and i don't even have any systemtap packages installed.

   i ask since i'm working with a software package that fails to
configure properly if the header file "sys/sdt.h" is installed on the
development system, but it needs the MakeMaker package, so i'm in a
bit of a dilemma.
Coincidence of events. I hit the same issue yesterday when trying rt-4 on f21 for the first time ;)

When in doubt:

$ echo n | sudo yum install --releasever=21 --installroot=/tmp/empty foo

And then examine the output.  In this case, perl-ExtUtils-MakeMaker →
perl-ExtUtils-Install → perl-devel → systemtap-sdt-devel.  Which appears
to have been so since December 2010:

Yes, it's perl-devel which pulls in systemtap-sdt-devel

But, I think there are a couple of bogus deps on perl-devel in some of the perl package's sub-packages, which are causing the dependency bloat e.g:

perl-ExtUtils-CBuilder
perl-ExtUtils-Embed
perl-ExtUtils-Install
perl-ExtUtils-MakeMaker
perl-ExtUtils-ParseXS
perl-Module-Build

I don't think any of these should R: "perl-devel"
(f21-patch enclosed below).

Ralf


diff --git a/perl.spec b/perl.spec
index 642f6ab..c2aca19 100644
--- a/perl.spec
+++ b/perl.spec
@@ -745,7 +745,6 @@ Epoch:          1
 Version:        2.49
 Requires:       %perl_compat
 Requires:       %{name}-Encode = %{epoch}:%{version}-%{release}
-Requires:       perl-devel
 BuildArch:      noarch
 
 %description Encode-devel
@@ -799,7 +798,6 @@ License:        GPL+ or Artistic
 Epoch:          1
 # real version 0.280210 https://fedoraproject.org/wiki/Perl/Tips#Dot_approach
 Version:        0.28.2.10
-Requires:       perl-devel
 Requires:       %perl_compat
 BuildArch:      noarch
 
@@ -815,7 +813,6 @@ Group:          Development/Languages
 License:        GPL+ or Artistic
 Epoch:          0
 Version:        1.30
-Requires:       perl-devel
 Requires:       %perl_compat
 BuildArch:      noarch
 
@@ -829,7 +826,6 @@ Group:          Development/Languages
 License:        GPL+ or Artistic
 Epoch:          0
 Version:        1.59
-Requires:       perl-devel
 Requires:       %perl_compat
 BuildArch:      noarch
 
@@ -844,7 +840,6 @@ Group:          Development/Languages
 License:        GPL+ or Artistic
 Epoch:          0
 Version:        6.66
-Requires:       perl-devel
 Requires:       %perl_compat
 Requires:       perl(Data::Dumper)
 Requires:       perl(DynaLoader)
@@ -875,7 +870,6 @@ Group:          Development/Languages
 License:        GPL+ or Artistic
 Epoch:          0
 Version:        1.63
-Requires:       perl-devel
 Requires:       %perl_compat
 Requires:       perl(File::Path)
 BuildArch:      noarch
@@ -892,7 +886,6 @@ License:        GPL+ or Artistic
 # Epoch bump for clean upgrade over old standalone package
 Epoch:          1
 Version:        3.18
-Requires:       perl-devel
 Requires:       %perl_compat
 BuildArch:      noarch
 Obsoletes:      perl-ExtUtils-Typemaps
@@ -1223,7 +1216,6 @@ Requires:       perl(Archive::Tar) >= 1.08
 Requires:       perl(CPAN::Meta) >= 2.110420
 Requires:       perl(ExtUtils::CBuilder) >= 0.15
 Requires:       perl(ExtUtils::ParseXS) >= 1.02
-Requires:       perl-devel
 Requires:       %perl_compat
 # Optional run-time needed for generating documentation from POD:
 Requires:       perl(Pod::Html)
-- 
test mailing list
test@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe:
https://admin.fedoraproject.org/mailman/listinfo/test

[Index of Archives]     [Fedora Desktop]     [Fedora SELinux]     [Photo Sharing]     [Yosemite Forum]     [KDE Users]

  Powered by Linux