---------- Forwarded message ---------- From: António Meireles <s...@reboot.sh> Date: 2011/4/29 Subject: Re: [Foresight-devel] how to deal with .so files that are needed by :data To: foresight-devel@lists.rpath.org
the split among runtime/libdata/devel{,lib} is done by policy assuming a given behavior/pattern of the target package. Of course that there are pkgs that for one reason or another break this. In this concrete case case, what may be sensible is to put the so files now in :devellib that are needed by :data under :lib. (so effectively wipping :devellib) while on it i tweaked existing recipe according to above (see http://lists.rpath.org/pipermail/foresight-commits/2011-April/047845.html) All the best, António On Fri, Apr 29, 2011 at 10:26, Jesse Zhang <zh.je...@gmail.com> wrote: > Hi, > > There is this panda3d package, which provides some libs, > > /usr/lib64/panda3d/libpandaexpress.so > /usr/lib64/panda3d/libpandaexpress.so.1.7 > > And it has a .py file that will look for the .so file (instead of .so.1.7). > > /usr/share/panda3d/pandac/libpandaexpressModules.py > > But the .so files are put into :devellib: > > $ conary q --path /usr/share/panda3d/pandac/libpandaexpressModules.py > panda3d:data=jesse.rpath.org@fl:2-devel/1.7.1-3-1 > $ conary q --path /usr/lib64/panda3d/libpandaexpress.so > panda3d:devellib=jesse.rpath.org@fl:2-devel/1.7.1-3-1 > $ conary q --path /usr/lib64/panda3d/libpandaexpress.so.1.7 > panda3d:lib=jesse.rpath.org@fl:2-devel/1.7.1-3-1 > > So one must install :devellib in order to use it. I understand that > panda3d is itself a development package (opensuse put it under "Group: > Development/Libraries/C and C++"), but how should it be handled? Put a > requirement on :devellib for the .py files? Or put the .so.1.7 files > into :devellib? > > OpenSUSE puts all .so* files into -devel (so panda3d depends on > panda3d-devel. See > > https://build.opensuse.org/package/binaries?package=panda3d&project=home%3Arepabuild&repository=SLE_11 > > jesse > _______________________________________________ > Foresight-devel mailing list > Foresight-devel@lists.rpath.org > http://lists.rpath.org/mailman/listinfo/foresight-devel > _______________________________________________ Foresight-devel mailing list Foresight-devel@lists.rpath.org http://lists.rpath.org/mailman/listinfo/foresight-devel