Dynamic packaging libpath #40

Closed
opened 2026-04-17 23:33:44 +02:00 by yestax · 3 comments
Owner

Targetting fedora or debian doesn't have tha same philosophy on lib directory.
Fedora: /usr/lib64
Debian: /usr/lib

This can be handles by packaging with mock on debian.
But then, scripts must be able to source independantly the right filepath.

It is possible to use a @LIBDIR@ placeholder. And replace it with sed -i at packaging time.

Targetting fedora or debian doesn't have tha same philosophy on lib directory. Fedora: /usr/lib64 Debian: /usr/lib This can be handles by packaging with mock on debian. But then, scripts must be able to source independantly the right filepath. It is possible to use a @LIBDIR@ placeholder. And replace it with sed -i at packaging time.
Author
Owner

seen in forgejo-publish-deb with logging.sh

seen in forgejo-publish-deb with logging.sh
Author
Owner

mock isn't available on debian.
The best alternative would be to use podman as container for Fedora and build there.

mock isn't available on debian. The best alternative would be to use podman as container for Fedora and build there.
yestax added this to the Setup v1.2.X milestone 2026-04-28 12:42:24 +02:00
Author
Owner

fixed by #63

fixed by #63
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
yestax/setup#40
No description provided.