Re: [Rpm-maint] [rpm-software-management/rpm] Introduce an rpm-controlled per-build directory (PR #2885)

2024-11-02 Thread lantw44
Is it possible to shorten the `--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 a

Re: [Rpm-maint] [rpm-software-management/rpm] Add rpmlogOnce() and rpmlogReset() (PR #3417)

2024-11-02 Thread Florian Festi
@ffesti commented on this pull request. > @@ -412,3 +415,36 @@ void rpmlog (int code, const char *fmt, ...) exit: errno = saved_errno; } + +int rpmlogOnce (uint64_t domain, const char * key, int code, const char *fmt, ...) +{ +int saved_errno = errno; +rpmlogCtx ctx = rpmlogCtxAc