I noticed after upgrading to Fedora 41 that very common operations like
`rpmbuild -bs` or `fedpkg srpm` (which calls `rpmbuild -bs` under the hood) now
create an empty directory of the form `%{name}-%{version}-build`. It looks like
this is part of the "hermetic build directory" stuff that was implemented in
RPM 4.20.
Why does this directory get created when just assembling an SRPM too? It just
creates a lot of clutter (empty directories everywhere), and messes up shell
completion for tools like `mock`.
I grepped through /usr/lib/rpm/ but I can't find any way to override this
behaviour with a macro that I could set in my `~/.rpmmacros` file. Can it be
turned off somehow? Or should it be disabled for the `rpmbuild -bs` operation?
It doesn't seem useful at all there.
--
Reply to this email directly or view it on GitHub:
https://github.com/rpm-software-management/rpm/discussions/3381
You are receiving this because you are subscribed to this thread.
Message ID: <rpm-software-management/rpm/repo-discussions/[email protected]>
_______________________________________________
Rpm-maint mailing list
[email protected]
http://lists.rpm.org/mailman/listinfo/rpm-maint