Bug 711421 - wrong dist tag in specfile
Summary: wrong dist tag in specfile
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Red Hat Enterprise Linux 4
Classification: Red Hat
Component: ruby
Version: 4.9
Hardware: Unspecified
OS: All
urgent
urgent
Target Milestone: rc
: ---
Assignee: Vít Ondruch
QA Contact: Aleš Mareček
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-06-07 13:15 UTC by Aleš Mareček
Modified: 2011-06-08 09:54 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2011-06-08 09:54:23 UTC
Target Upstream Version:


Attachments (Terms of Use)

Description Aleš Mareček 2011-06-07 13:15:32 UTC
Description of problem:
There is wrong tag "%{dist}" in spec file. It should be "%{?dist}".

Version-Release number of selected component (if applicable):
ruby-1.8.1-15.el4

How reproducible:
Always

Steps to Reproduce:
1. download a source rpm package
2. rpm2cpio ruby-1.8.1-15.el4.src.rpm | cpio -id
3. grep '%{dist}' ruby.spec && echo "FAIL" || echo "PASS"

  
Actual results:
Release:	15%{dist}
FAIL

Expected results:
PASS, with tag %{?dist}

Additional info:


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