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