Bug 2150046

Summary: Prevent from building RPM packages providing python3dist(...) = 0
Product: [Fedora] Fedora Reporter: Ben Cotton <bcotton>
Component: Changes TrackingAssignee: Karolina Surma <ksurma>
Status: CLOSED CURRENTRELEASE QA Contact:
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 38CC: bcotton
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2023-04-18 14:06:36 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 2048077    
Bug Blocks: 2075059    

Description Ben Cotton 2022-12-01 17:57:17 UTC
This is a tracking bug for Change: Prevent from building RPM packages providing python3dist(...) = 0
For more details, see: https://fedoraproject.org/wiki/Changes/Prevent-Providing-python3dist(pkg)%3D0

It sometimes happens that Python packages succeed to build as RPM with incorrect version metadata.
They generate a wrong provide in format python3dist(...) = 0 and python3.Xdist(...) = 0.
While version 0 (or equal versions like 0.0 or 0.0.0) is probably technically valid, in most cases this indicates a packaging error. 
We propose to prevent this error from happening by explicitly failing the RPM build instead of generating such provides.

If you encounter a bug related to this Change, please do not comment here. Instead create a new bug and set it to block this bug.