[Rpm-maint] [rpm-software-management/rpm] Shorten the path of the RPM-controlled per-build directory (Discussion #3438)
lantw44
notifications at github.com
Sat Nov 9 12:42:28 UTC 2024
Is it possible to shorten the `<package>-<version>-build` part from a spec file?
I package Guix in Fedora Copr. To run Guix tests in the rpmbuild %check step, the full path of the working directory cannot be longer than 29 bytes. The default `/builddir/build/BUILD/guix-1.4.0` used by mock is already too long, so I have to change the default `test-tmp` directory used by Guix tests to `t` to save a few bytes in order to run tests.
Now the new default `/builddir/build/BUILD/guix-1.4.0-build/guix-1.4.0` is even longer than `/builddir/build/BUILD/guix-1.4.0`, so the `test-tmp` → `t` trick can't work. Is it possible to tell rpmbuild to use a shorter path than `guix-1.4.0-build`, or I should just `mktemp -d` and tell Guix to run tests in the temporary directory?
https://github.com/rpm-software-management/rpm/issues/2078
https://github.com/rpm-software-management/rpm/pull/2885
--
Reply to this email directly or view it on GitHub:
https://github.com/rpm-software-management/rpm/discussions/3438
You are receiving this because you are subscribed to this thread.
Message ID: <rpm-software-management/rpm/repo-discussions/3438 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rpm.org/pipermail/rpm-maint/attachments/20241109/87f49ba4/attachment-0001.html>
More information about the Rpm-maint
mailing list