Bug 502209 - gsl-devel unnecessarily requires installation of 'gsl' contrary to Packaging Guidelines
Summary: gsl-devel unnecessarily requires installation of 'gsl' contrary to Packaging ...
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Fedora
Classification: Fedora
Component: gsl
Version: rawhide
Hardware: All
OS: Linux
low
medium
Target Milestone: ---
Assignee: Ivana Varekova
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2009-05-22 15:10 UTC by R P Herrold
Modified: 2009-05-25 07:24 UTC (History)
2 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2009-05-25 07:24:05 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

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.


Note You need to log in before you can comment on or make changes to this bug.