4 # Template to fudge rpm directory structure inside IRIX-like build
7 # Force 386 build on all platforms
12 # topdir == $(WORKAREA)
15 # Following directories are specific to the topdir
16 # This is where build is done. In our case it's the same as $WORKAREA
19 # This is where foo.1.99.tar.gz is living in the real world.
20 # Be careful not to run full rpm build as it will override the sources
21 %_sourcedir %topdir%/build
23 # This is where binary RPM and source RPM would end up
24 %_rpmdir %topdir%/build/rpm
25 %_srcrpmdir %topdir%/build/rpm
26 %_specdir %topdir%/build/rpm
28 # Leave RPM files in the same directory - we're not building for
29 # multiple architectures
30 %_rpmfilename %%{NAME}-%%{VERSION}-%%{RELEASE}.%%{ARCH}.rpm