Bug 168720

Summary: Illegal char '-' in release, query of specfile failed
Product: [Fedora] Fedora Reporter: Zing <zing>
Component: kernelAssignee: Dave Jones <davej>
Status: CLOSED ERRATA QA Contact: Brian Brock <bbrock>
Severity: medium Docs Contact:
Priority: medium    
Version: 3CC: pfrields, wtogami
Target Milestone: ---Keywords: Regression
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2005-09-23 20:04:53 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 Zing 2005-09-19 19:04:52 UTC
Description of problem:

At some point an "@`hostname -s`" was added to the kernel-2.6.spec.  Some of my
build scripts fail because i have dashes on certain hosts and this error is
returned:

$ rpm --qf '%{N}\n' -q --specfile kernel-2.6.spec
error: line 148: Illegal char '-' in release: Release: 1.1376_FC3.zing@woot-gw
error: query of specfile kernel-2.6.spec failed, can't parse

I guess this is more of a wishlist than anything.  I'm not sure of the
repercussions of the dash, but rpm doesn't seem to like it and I change the
release names locally here anyway.


How reproducible:
always

Steps to Reproduce:
0. verify hostname has a dash in it. ex. "server-gw"
1. install a recent kernel srpm
2. run "rpm --qf '%{N}\n' -q --specfile kernel-2.6.spec"
  
Actual results:
get error about illegal char '-' in release

Expected results:
no error

Comment 1 Dave Jones 2005-09-22 02:38:07 UTC
fixed in kernel in updates-testing


Comment 2 Zing 2005-09-22 14:57:44 UTC
thanks, works for me.