Bugzilla will be upgraded to version 5.0 on a still to be determined date in the near future. The original upgrade date has been delayed.
Bug 223651 - Dist.sh unable to output fedora version
Dist.sh unable to output fedora version
Product: Fedora
Classification: Fedora
Component: redhat-rpm-config (Show other bugs)
All Linux
medium Severity medium
: ---
: ---
Assigned To: Jon Masters
Depends On:
  Show dependency treegraph
Reported: 2007-01-21 03:58 EST by Andrea Musuruane
Modified: 2007-11-30 17:11 EST (History)
0 users

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2007-06-19 14:25:09 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)
Patch to fix fedora version in dist.sh (364 bytes, patch)
2007-01-21 03:58 EST, Andrea Musuruane
no flags Details | Diff

  None (edit)
Description Andrea Musuruane 2007-01-21 03:58:51 EST
Description of problem:
/usr/lib/rpm/redhat/dist.sh has a trivial bug. It references variable
$DISTFEDORA which is not defined. Therefore it is unable to output the fedora
version used.

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

How reproducible:

Steps to Reproduce:
1. Open a terminal
2. Type /usr/lib/rpm/redhat/dist.sh --fc 

Actual results:
It doesn't return anything under fedora.

Expected results:
It should return fedora version.

Additional info:
A patch is applied to fix this bug.
Comment 1 Andrea Musuruane 2007-01-21 03:58:51 EST
Created attachment 146080 [details]
Patch to fix fedora version in dist.sh
Comment 2 Jeremy Katz 2007-06-19 14:25:09 EDT
Fix applied to git and will be in the next version.  Thanks for the  patch!

Note You need to log in before you can comment on or make changes to this bug.