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# (why that?)
9#%_target i386-pc-linux
10#%_target_cpu i386
11#%_target_os linux
12
13# topdir == $(WORKAREA)
14%_topdir %topdir%
15
16# Following directories are specific to the topdir
17# This is where build is done. In our case it's the same as $WORKAREA
18%_builddir %topdir%
19
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
23
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
28
29# Leave RPM files in the same directory - we're not building for 
30# multiple architectures
31%_rpmfilename %%{NAME}-%%{VERSION}-%%{RELEASE}.%%{ARCH}.rpm
32