On Tue, Jan 19, 2021 at 10:02:48PM +0200, Ville-Pekka Vainio wrote:
> Thanks, Zbyszek!
>
> I just realised one thing, which may affect the arch/noarch question.
> Upstream prefers to place the data files under /usr/lib/voikko. Of
> course, in a 64 bit system this would be /usr/lib64/voikko. But if I
> make the package noarch, %{_libdir} will change depending on the
> architecture of the system, which builds the package. So, should I
> just make the package arch-specific anyway or try to come up with
> another location for the data files? Logically, it could be
> %{_datadir}. I'll need to test that the code actually works, if I use
> that.
If the files are not arch-specific, just override the location to be
always /usr/lib/voikko. Pedantically speaking, this is not exactly following
the FHS, but it's easiest to follow upstream here. The difference between
/usr/lib and /usr/share is unimportant.
Zbyszek
_______________________________________________
devel mailing list -- [email protected]
To unsubscribe send an email to [email protected]
Fedora Code of Conduct:
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives:
https://lists.fedoraproject.org/archives/list/[email protected]