Hi Chris, Chris Coutinho <chrisbcoutinho@gmail.com> writes:
Hello,
I'm attempting to build a package for numerical simulations, that includes examples in /usr/share/<name>. I'm running into the 'arch-dependent-file-in-usr-share' error because there are sample binaries included in some sub-directories, and I'm looking to this list for some guidance.
I read the guidelines on
https://en.opensuse.org/openSUSE:Packaging_checks
And the suggestion was to put the binaries into
%libexecdir/packagename
Am I supposed to move the binaries there manually and add the path to PATH in the spec file?
I think moving the binaries after the installation to %libexecdir/%{name} is a viable solution. However, I don't think that you should modify $PATH, especially if these are examples that the average user doesn't need to run. If you think that after installing your package one of the examples should be in $PATH, rather move them to %{_bindir} instead.
Regards, Chris -- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-packaging+owner@opensuse.org
Cheers, Dan -- Dan Čermák <dcermak@suse.com> Software Engineer Development tools SUSE Linux GmbH, Maxfeldstr. 5, D-90409 Nürnberg Tel: +49-911-74053-0; Fax: +49-911-7417755; https://www.suse.com/ SUSE Linux GmbH, GF: Felix Imendörffer, Jane Smithard, Graham Norton, HRB 21284 (AG Nürnberg)