Bug 2217262

Summary: RPM packaging of gsl-devel has "Requires:" automake - brings in huge unnecessary stuff
Product: Red Hat Enterprise Linux 8 Reporter: mark <mark>
Component: gslAssignee: Pavel Cahyna <pcahyna>
Status: NEW --- QA Contact: CS System Management SST QE <rhel-cs-system-management-subsystem-qe>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 8.8   
Target Milestone: rc   
Target Release: ---   
Hardware: Unspecified   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: ---
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description mark@galassi.org 2023-06-25 16:55:05 UTC
Description of problem:

RPM packaging of gsl-devel has "Requires:" automake, which is unneeded and causes problems.  It is clearly incorrect to have Requires: on automake -- at most it should be "BuildRequires:".  This brings in a large amount of Perl packages.  Note that gsl is a tight math library that typically should only require the standard math library.

Recommendation: please change, in gsl.spec, the line:

Requires: pkgconfig, automake

to read instead:

Requires: pkgconfig
BuildRequires: automake



Version-Release number of selected component (if applicable):

gsl-devel-2.5-1

How reproducible:

Type:

$ dnf repoquery --installed --whatrequires automake

The answer will include something like:

gsl-devel-0:2.5-1.el8.x86_64

(or just look at the gsl.spec file for el8)

Steps to Reproduce:
1. dnf install gsl-devel gsl
2. dnf repoquery --installed --whatrequires automake | grep -i gsl
3. observe that it says: "gsl-devel-0:2.5-1.el8.x86_64"

Actual results:

gsl-devel-0:2.5-1.el8.x86_64

Expected results:

(blank output)

Additional info: