Re: should packages be changed to use libexec?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, Nov 07, 2012 at 06:51:48PM -0500, Matthew Miller wrote:
> The Squeak VM package has several possible interpretters -- for example, a
> an experimental JIT version, and a version which handles 64-bit images (a
> separate issue from the arch of the system they're running on). There's also
> a helper binary used solely to determine the bit-size format of an image.
> 
> Right now, these are all in %{libdir}/squeak/ with the plugins. A script
> installed as /usr/bin/squeak has the logic which calls them. And in the
> current test package, it's failing because the script doesn't understand
> about /usr/lib64
> 
> If this stuff were packaged in the upstream to use /usr/libexec/squeak/,
> then this would fit with the Fedora packaging guidelines and the /usr/bin
> script wouldn't have to be tricky.
> 
> It's not, though. In this case, is it better to package the binaries into
> /usr/libexec/squeak, or is it better to patch the bin script to know about
> lib64? And in that case, is it better to patch the script for the right path
> at rpm build time, or use runtime detection logic?
> 
both are valid.  For that reason, I'd use libexec since it would normally be
easier to implement.

-Toshio

Attachment: pgprpZlHfvjl9.pgp
Description: PGP signature

--
packaging mailing list
packaging@xxxxxxxxxxxxxxxxxxxxxxx
https://admin.fedoraproject.org/mailman/listinfo/packaging

[Index of Archives]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite Forum]     [KDE Users]

  Powered by Linux