[Cooker] Broken source RPMs

2000-05-07 Thread David Aspinall

I like the idea of spec-helper, but (like a few things in Mandrake),
it's a fancy feature which breaks a lot of things, in this case any
SRPMs which don't use RPM_BUILD_ROOT.  

I think it's because of the "exit 1" in /usr/share/spec-helper which
breaks the build process in these cases.

Could you change that to "exit 0"?

 - David.




RE: [Cooker] Broken source RPMs

2000-05-07 Thread Geoffrey Lee


 -Original Message-
 From: David Aspinall [mailto:[EMAIL PROTECTED]]
 Sent: Sunday, May 07, 2000 6:53 PM
 To: [EMAIL PROTECTED]
 Subject: [Cooker] Broken source RPMs
 
 
 I like the idea of spec-helper, but (like a few things in Mandrake),
 it's a fancy feature which breaks a lot of things, in this case any
 SRPMs which don't use RPM_BUILD_ROOT.  
 
 I think it's because of the "exit 1" in /usr/share/spec-helper which
 breaks the build process in these cases.



maybe you can work around for now?
just do BuildRoot %{_tmppath}/%{name}-root

%install
mkdir -p $RPM_BUILD_ROOT

...etc
and it should build.


 
 Could you change that to "exit 0"?
 
  - David.