Bug 154271 - no release rpm installed on build host
Summary: no release rpm installed on build host
Status: RESOLVED INVALID
Alias: None
Product: openSUSE.org
Classification: openSUSE
Component: BuildService (show other bugs)
Version: unspecified
Hardware: Other Other
: P5 - None : Normal (vote)
Target Milestone: ---
Assignee: Michael Schröder
QA Contact: Adrian Schröter
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-03-01 03:15 UTC by Jonathan Arsenault
Modified: 2006-03-01 13:16 UTC (History)
0 users

See Also:
Found By: Other
Services Priority:
Business Priority:
Blocker: ---
Marketing QA Status: ---
IT Deployment: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.