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/c2453311...@github.com>
_______________________________________________ Rpm-maint mailing list Rpm-maint@lists.rpm.org http://lists.rpm.org/mailman/listinfo/rpm-maint