Red Hat Bugzilla – Bug 502209
gsl-devel unnecessarily requires installation of 'gsl' contrary to Packaging Guidelines
Last modified: 2009-05-25 03:24:05 EDT
Description of problem:
gsl-devel unnecessarily (and improperly) Requires installation of 'gsl'
Version-Release number of selected component (if applicable):
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
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
Steps to Reproduce:
no Require on GSL
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 ...
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.
Alexey is right - this is the base package and it is standard dependency in -devel package.