[mythtv] Re: qmake creating -I../../../../include

Chris Petersen lists at forevermore.net
Fri Jan 23 15:55:17 EST 2004


> This bug also breaks creating RPM's at least on Mandrake. I wonder what
> the PLF mythtv package creator has used as a workaround, since I didn't
> succeed with their spec file.

Ok, this can all be fixed with an addition to ~/.rpmmacros

%_builddir    %{_tmppath}/BUILD

of course, you can use whatever path you want to, this was just from the
example given to me by a friend who does a lot of this stuff (%_tmppath
is usually set to /var/tmp/).  Make sure the directory exists, of
course.

Anyway, I just tested this and it works perfectly.  all of the rpm's
still go into the /usr/src/redhat tree, but because the build happens
outside of /usr/src, the files all got packaged properly.

yay!

-- 
Chris Petersen
Programmer / Web Designer 
Silicon Mechanics:  http://www.siliconmechanics.com/
Blade Servers:      http://www.siliconmechanics.com/c292/blade-server.php
1U Servers:         http://www.siliconmechanics.com/c272/1u-server.php



More information about the mythtv-dev mailing list