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:
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.