>>> On 9/24/2010 at 10:53 AM, in message <[email protected]>, David 
Ashley
<[email protected]> wrote: 
> I took your spec file as a starting point, but I did make a some changes I  
> thought enhance and clarify things a bit more. The good news is that spec  
> file  
> is much cleaner, the bad news is that in some cases (Suse) you need a  
> .rpmmacros  
> files in your home directory with at least one entry (%_topdir). This  
> appears to  
> be required on Suse systems but not on Fedora and Red Hat systems. The entry  
>  
> points to the local RPM build area. See the commited readme file in the  
> trunk.

Coincidentally, here's what my /etc/rpm/macros.user file looks like:

%packager %(echo "$USER")
%_topdir %(echo "$HOME")/rpmbuild
%_rpmtopdir %{_topdir}
%_builddir %{_rpmtopdir}/BUILD
%_rpmdir %{_rpmtopdir}/RPMS
%_sourcedir %{_rpmtopdir}/SOURCES
%_specdir %{_rpmtopdir}/SPECS
%_srcrpmdir %{_rpmtopdir}/SRPMS
%_tmppath %(echo "$HOME")/tmp
%_buildroot %{_tmppath}/%{name}-root

I wonder why this is not already there in OpenSUSE/SLE as it saves the user a 
lot of trouble (accidentally destroyed root dir, anyone?). I think I'll post a 
feature request later.
 
> Let me know how all this works for you. 

I'll try it ASAP, thanks.





------------------------------------------------------------------------------
Start uncovering the many advantages of virtual appliances
and start using them to simplify application deployment and
accelerate your shift to cloud computing.
http://p.sf.net/sfu/novell-sfdev2dev
_______________________________________________
Oorexx-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/oorexx-devel

Reply via email to