[Rpm-maint] [rpm-software-management/rpm] Introduce an rpm-controlled per-build directory (PR #2885)
lantw44
notifications at github.com
Sun Nov 3 06:14:37 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?
--
Reply to this email directly or view it on GitHub:
https://github.com/rpm-software-management/rpm/pull/2885#issuecomment-2453311636
You are receiving this because you are subscribed to this thread.
Message ID: <rpm-software-management/rpm/pull/2885/c2453311636 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rpm.org/pipermail/rpm-maint/attachments/20241102/87778fd4/attachment-0001.html>
More information about the Rpm-maint
mailing list