Bug 133617

Summary: Wrong distribution info in rpms
Product: [Fedora] Fedora Reporter: Patrik Elmberg <patrik.elmberg>
Component: rpmAssignee: Jeff Johnson <jbj>
Status: CLOSED WONTFIX QA Contact: Mike McLean <mikem>
Severity: medium Docs Contact:
Priority: medium    
Version: 3CC: nobody+pnasrat
Target Milestone: ---Keywords: FutureFeature
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Enhancement
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2004-09-26 17:25:00 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:

Description Patrik Elmberg 2004-09-25 09:33:12 UTC
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.2)
Gecko/20040809

Description of problem:
Is there any way to say what distribution an rpm belongs to?

E.g.
>rpm -q --qf '%{DISTRIBUTION}' fedora-release
Red Hat Linux

But I expected to see something similar to fc3test1.

The main benefit would be to query a package prior installation.
Also, rpm command could warn the user if there is a distribution
mismatch when trying to install an rpm.

Version-Release number of selected component (if applicable):


How reproducible:
Always

Steps to Reproduce:
1. for tag in $(rpm -q --querytags) ; do cmd="rpm -q --qf '%{$tag}'
fedora-release"; echo $cmd; $cmd; read; done
2.
3.
    

Additional info:

Comment 1 Jeff Johnson 2004-09-26 17:25:00 UTC
The distribution tag is added when packages are built.

Unfortunately, packages often are included in other
collections, like "fc3test1", without rebuilding.

Hence, adding static content to packages to describe
what distribution it belons to is simply the wrong thing
to do.

Hence WONTFIX.