Description of problem: I'm trying to compile a program using plplot. As a first step, I run $ pkg-config --libs plplotd just to know the libs that are needed. The result is: -lplplotd -lqhull -lcsironn -ldl -lm -lcsirocsa -lz -lfreetype But I have found that in my system some of these libs do not exist. In particular libqhull.so and libfreetype.so I installed plplot-devel through yum and, as these libraries are required to compile plplot programs, I suppose that yum should install them as dependencies. The involved packages are: qhull-devel and freetype-devel The solution is to add: Requires: qhull-devel Requires: freetype-devel in the "%package devel" part of your spec file. Some other subpackages can be affected as rpm can compute automatically the dependencies for the binaries but no for the -devel packages. Version-Release number of selected component (if applicable): plplot-devel-5.6.1-2 How reproducible: Always Steps to Reproduce: 1. 2. 3. Actual results: Expected results: Additional info:
The same problem appears with plplot-gnome-devel. The package should require libgnomecanvas-devel and libgnomeprint22-devel