Bug 154271

Summary: no release rpm installed on build host
Product: [openSUSE] openSUSE.org Reporter: Jonathan Arsenault <jonharson>
Component: BuildServiceAssignee: Michael Schröder <mls>
Status: RESOLVED INVALID QA Contact: Adrian Schröter <adrian.schroeter>
Severity: Normal    
Priority: P5 - None    
Version: unspecified   
Target Milestone: ---   
Hardware: Other   
OS: Other   
Whiteboard:
Found By: Other Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---

Description Jonathan Arsenault 2006-03-01 03:15:59 UTC
In certain spec while trying to use release file (/etc/SuSE-release) the file isnt found, usefull for certain package.
Comment 1 Michael Gross 2006-03-01 12:04:06 UTC
Please be more verbose and add an example.
Comment 2 Jonathan Arsenault 2006-03-01 12:56:55 UTC
well i had rpm using this line in the spec that failed too build 
Distribution:      %(head -1 /etc/SuSE-release)

error log:

mmm cant save any spec atm i get a frontend error ? open another bug ?
Comment 3 Jonathan Arsenault 2006-03-01 13:09:38 UTC
well that make the build faill with this 
head: cannot open `/etc/SuSE-release' for reading: No such file or directory
Comment 4 Michael Schröder 2006-03-01 13:16:32 UTC
/etc/SuSE-release is from the suse-release package, so you need to add

BuildRequires: suse-release

to your specfile.
The frontend group seems to modify the code right now, so things may not work for a short time.