On Thu, Apr 19, 2007 at 11:14:42PM +0200, Marcin ZajÄ…czkowski wrote:
I thought that too, but it's always false on my machine with FC5 (I
don't use mock), even if I write '%if "%fedora" >
"3"'.
That's because %fedora is not defined everywhere. It is defined in the
buildsystem, in mock (although I don't know exactly how) and according
to a thread in -devel will certainly be in next releases
http://www.redhat.com/archives/fedora-devel-list/2007-March/msg01759.html
You can use
rpmbuild --define 'fedora 6'
to define the macros in the mean time.
--
Pat