Bug 168720 - Illegal char '-' in release, query of specfile failed
Summary: Illegal char '-' in release, query of specfile failed
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: kernel
Version: 3
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Dave Jones
QA Contact: Brian Brock
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2005-09-19 19:04 UTC by Zing
Modified: 2015-01-04 22:22 UTC (History)
2 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2005-09-23 20:04:53 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

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.


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