diff options
author | Igor Pashev <pashev.igor@gmail.com> | 2014-10-26 12:33:50 +0400 |
---|---|---|
committer | Igor Pashev <pashev.igor@gmail.com> | 2014-10-26 12:33:50 +0400 |
commit | 47e6e7c84f008a53061e661f31ae96629bc694ef (patch) | |
tree | 648a07f3b5b9d67ce19b0fd72e8caa1175c98f1a /build/rpm/macros.template | |
download | pcp-debian.tar.gz |
Debian 3.9.10debian/3.9.10debian
Diffstat (limited to 'build/rpm/macros.template')
-rw-r--r-- | build/rpm/macros.template | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/build/rpm/macros.template b/build/rpm/macros.template new file mode 100644 index 0000000..6e36d88 --- /dev/null +++ b/build/rpm/macros.template @@ -0,0 +1,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 |