summaryrefslogtreecommitdiff
path: root/build/rpm/macros.template
blob: 6e36d885cf7f9c647f3e5c30dfe2d5260b5652c8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
#
# rpmrc.template
#

# topdir == $(WORKAREA)
%_topdir %topdir%

# Following directories are specific to the topdir
# This is where build is done. In our case it's the same as $WORKAREA
%_builddir %{_topdir}

# This is where foo.1.99.tar.gz is living in the real world.
# Be careful not to run full rpm build as it will override the sources 
%_sourcedir %{_topdir}/../build/tar

# This is where binary RPM and source RPM would end up
%_rpmdir    @rpmsdir@
%_srcrpmdir @srpmsdir@
%_specdir   %{_topdir}/build/rpm

# Leave RPM files in the same directory - we're not building for 
# multiple architectures
%_rpmfilename %%{NAME}-%%{VERSION}-%%{RELEASE}.%%{ARCH}.rpm