rpm-build pulls perl

Elan Ruusamäe glen at pld-linux.org
Tue Mar 24 17:16:28 CET 2020


i would not like bunch of perl deps in base package.

i think these dependencies are new due recent updates in the repo


```

[root at 4195c311335e /]# rpm -q rpm-build --requires|grep perl
/usr/bin/perl
perl(Carp)
perl(Config)
perl(Cwd)
perl(File::Basename)
perl(File::Copy)
perl(File::Path)
perl(File::Temp)
perl(Getopt::Long)
perl(LWP::UserAgent)
perl(POSIX)
perl(XML::LibXML)
perl(strict)
perl(warnings)

[root at 4195c311335e /]# rpm -q rpm-build

rpm-build-5.4.15-57.x86_64

[root at 4195c311335e /]#

```


perhaps just remove the shebang or chmod -x to make the deps optional 
(if they must stay in rpm-build package)

but i think they should be moved to `rpm-perlprov` package

```

[root at 4195c311335e /]# rpm -ql rpm-build|xargs grep bin/perl 2>/dev/null
/usr/lib/rpm/bin/api-sanity-autotest.pl:#!/usr/bin/perl
/usr/lib/rpm/bin/api-sanity-checker.pl:#!/usr/bin/perl
/usr/lib/rpm/bin/pom2spec:#!/usr/bin/perl
/usr/lib/rpm/http.req:#!/usr/bin/perl
[root at 4195c311335e /]#

```



More information about the pld-devel-en mailing list