The package etckeeper-brz has the following automatic provide: python3dist(brz-etckeeper) = 0 The package etckeeper-dnf has the following automatic provide: python3dist(dnf-etckeeper) = 0 It appears that the actual package version was lost during the packaging process. In most cases, this is caused by using a Source that misses version information, e.g. A GitHub tarball when the project uses setuptools_scm or pbr. See https://docs.fedoraproject.org/en-US/packaging-guidelines/Python/#_source_files_from_pypi This bugzilla was created in a batch, so it does not have information about the exact cause for this package. If you need help figuring out why this happens in this particular package, feel free to ask.
Not sure what to do here. Both are more or less single-file plugins for etckeeper, and not really standalone packages. While dnf-etckeeper at least comes with etckeeper, and thus one could simply assign it the same version number [1], brz-etckeeper only exists as a patch with no real upstream... [1] although I'd have to figure out how to do that technically first
Technically, the version is stored in /usr/lib/python3.10/site-packages/dnf_etckeeper-0.0.0-py3.10.egg-info Metadata-Version: 1.0 Name: dnf-etckeeper Version: 0.0.0 Summary: UNKNOWN Home-page: UNKNOWN Author: UNKNOWN Author-email: UNKNOWN License: UNKNOWN Description: UNKNOWN Platform: UNKNOWN I believe the culprit is that the package uses etckeeper-brz/__init__.py and etckeeper-dnf/etckeeper.py as setup.py and neither has any version information. If the metadata is not used by any part of etckeeper, I suggest simply rm'ing both egg-infos in %install with the reference to this bugzilla.
(In reply to Miro Hrončok from comment #2) > If the metadata is not used by any part of etckeeper, I suggest simply > rm'ing both egg-infos in %install with the reference to this bugzilla. brz-etckeeper is actually a breezy plugin and dnf-etckeeper a dnf plugin. Probably both do not care about the version number. Need to check that.
Fixed: https://src.fedoraproject.org/rpms/etckeeper/c/8e0916c332740c23397a60f530bf9b797acca1a0?branch=rawhide
Thanks!