Bug 502209

Summary: gsl-devel unnecessarily requires installation of 'gsl' contrary to Packaging Guidelines
Product: [Fedora] Fedora Reporter: R P Herrold <herrold>
Component: gslAssignee: Ivana Varekova <varekova>
Status: CLOSED NOTABUG QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: low    
Version: rawhideCC: atorkhov, varekova
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2009-05-25 07:24:05 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description R P Herrold 2009-05-22 15:10:23 UTC
Description of problem:

gsl-devel unnecessarily (and improperly) Requires installation of 'gsl'

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

1.12-3

How reproducible:

A. Rebuild Current rawhide version

B. [herrold@centos-5 drosenthal]$ sudo rpm -Uvh /home/herrold/rpmbuild/RPMS/x86_64/gsl-devel-1.12-3orc.x86_64.rpm
Password:
error: Failed dependencies:
        gsl = 1.12-3orc is needed by gsl-devel-1.12-3orc.x86_64
        libgsl.so.0()(64bit) is needed by gsl-devel-1.12-3orc.x86_64
        libgslcblas.so.0()(64bit) is needed by gsl-devel-1.12-3orc.x86_64
[herrold@centos-5 drosenthal]$

Steps to Reproduce:

as above
  
Actual results:

as above

Expected results:

no Require on GSL

Additional info:

see:  https://fedoraproject.org/wiki/Packaging/Guidelines#Explicit_Requires

  Explicit Requires

Packages must not contain explicit Requires on libraries except when absolutely necessary. When explicit library Requires are necessary, there should be a spec file comment justifying it.

We generally rely on rpmbuild to automatically add dependencies on library SONAMEs ...

Comment 1 Alexey Torkhov 2009-05-24 10:07:56 UTC
gsl-devel is a subpackage of gsl and should require base package as per https://fedoraproject.org/wiki/Packaging/Guidelines#Requiring_Base_Package

I think, this is NOTABUG.

Comment 2 Ivana Varekova 2009-05-25 07:24:05 UTC
Alexey is right - this is the base package and it is standard dependency in -devel package.
Closing NOTABUG.