1#
2# rpmrc.template
3#
4# Template to fudge rpm directory structure inside IRIX-like build
5# environment
6
7# Force 386 build on all platforms
8%_target i386-pc-linux
9%_target_cpu i386
10%_target_os linux
11
12# topdir == $(WORKAREA)
13%_topdir %topdir%
14
15# Following directories are specific to the topdir
16# This is where build is done. In our case it's the same as $WORKAREA
17%_builddir %topdir%
18
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
22
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
27
28# Leave RPM files in the same directory - we're not building for 
29# multiple architectures
30%_rpmfilename %%{NAME}-%%{VERSION}-%%{RELEASE}.%%{ARCH}.rpm
31