On Wed, Apr 29, 2020 at 12:15 PM Miro Hrončok <mhroncok(a)redhat.com> wrote:
Hello, I've just opened this bugzilla:
https://bugzilla.redhat.com/show_bug.cgi?id=1829430
There are "fedora" namespaced files in redhat-rpm-config:
$ repoquery --repo=rawhide -l redhat-rpm-config | grep fedora
/usr/lib/rpm/lua/fedora
/usr/lib/rpm/lua/fedora/common.lua
/usr/lib/rpm/lua/fedora/rpm
/usr/lib/rpm/lua/fedora/srpm
/usr/lib/rpm/lua/fedora/srpm/forge.lua
/usr/lib/rpm/macros.d/macros.fedora-misc
/usr/lib/rpm/macros.d/macros.fedora-misc-srpm
I find it very confuisng, since the package is called "redhat" and other files
in /usr/lib/rpm are namespaced as such:
$ repoquery --repo=rawhide -l redhat-rpm-config | grep redhat
/usr/lib/rpm/redhat
/usr/lib/rpm/redhat/brp-ldconfig
/usr/lib/rpm/redhat/brp-mangle-shebangs
/usr/lib/rpm/redhat/brp-python-bytecompile
/usr/lib/rpm/redhat/brp-strip-lto
/usr/lib/rpm/redhat/config.guess
/usr/lib/rpm/redhat/config.sub
/usr/lib/rpm/redhat/dist.sh
/usr/lib/rpm/redhat/find-provides
/usr/lib/rpm/redhat/find-requires
/usr/lib/rpm/redhat/gpgverify
/usr/lib/rpm/redhat/macros
/usr/lib/rpm/redhat/redhat-annobin-cc1
/usr/lib/rpm/redhat/redhat-hardened-cc1
/usr/lib/rpm/redhat/redhat-hardened-ld
/usr/lib/rpm/redhat/rpmrc
Should we aim for a common namespace? The redhat-rpm-package will eventually be
merged into RHEL and "fedora" namespace in it will be even weirder there.
We found this when trying to add our own Lua files and trying to figure out
where to put them.
They should all be in the redhat vendor. I don't know why we have a
fedora directory there.
--
真実はいつも一つ!/ Always, there's only one truth!