[Fedora-packaging] *.h files in a directory under %{_libdir}?

Mary Ellen Foster mefoster at gmail.com
Wed Nov 12 12:36:52 UTC 2008


Yesterday, there was a bug report on pl (SWI Prolog), a package that I
co-maintain (https://bugzilla.redhat.com/show_bug.cgi?id=471071), and
I'm not sure what to do about it.

I guess SWI assumes that it will be installed with all of its
libraries and related files into a single directory structure, not
following the normal LSB file layout. In the pl-devel package at the
moment, the libraries etc. are under %{_libdir}/pl-%{version}, and
this directory also ends up as the "PLBASE", but the include files are
in their LSB-approved place under /usr/include/pl.

What is the best way to respond to this? I assume it's not encouraged
to put *.h files into %{_libdir}, but on the other hand, breaking
upstream assumptions like this isn't great either. PLBASE is
documented as "the home directory of SWI-Prolog", but I'm not sure if
it's actually guaranteed anywhere that .h files will be in this
directory.

Suggestions welcome!

MEF

-- 
Mary Ellen Foster  --  http://homepages.inf.ed.ac.uk/mef/
Informatik 6: Robotics and Embedded Systems, Technische Universität München
and ICCS, School of Informatics, University of Edinburgh




More information about the Fedora-packaging mailing list