aboutsummaryrefslogtreecommitdiffstats
path: root/build.macros.in
diff options
context:
space:
mode:
authorPascal Terjan <pterjan@mageia.org>2011-05-05 22:00:00 +0000
committerPascal Terjan <pterjan@mageia.org>2011-05-05 22:00:00 +0000
commit48a3293179f8edb948617c99599e59ce9d814824 (patch)
tree79d0a4b735f9d15a242f79622b27559eec0a654b /build.macros.in
parent5c79e081998f8ca329fd5154662b073b56e97f9b (diff)
downloadrpm-setup-48a3293179f8edb948617c99599e59ce9d814824.tar
rpm-setup-48a3293179f8edb948617c99599e59ce9d814824.tar.gz
rpm-setup-48a3293179f8edb948617c99599e59ce9d814824.tar.bz2
rpm-setup-48a3293179f8edb948617c99599e59ce9d814824.tar.xz
rpm-setup-48a3293179f8edb948617c99599e59ce9d814824.zip
Allow setting distsuffix at build time
Diffstat (limited to 'build.macros.in')
-rw-r--r--build.macros.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/build.macros.in b/build.macros.in
index c9790a0..daeb1f6 100644
--- a/build.macros.in
+++ b/build.macros.in
@@ -150,7 +150,7 @@ GCONF_CONFIG_SOURCE=`%{_gconftool_bin} --get-default-source` %{_gconftool_bin} -
# (user may copy the following line in specfile)
%mgaversion %distro_release
-%distsuffix .mga
+%distsuffix @DISTSUFFIX@
%mkrel(c:) %{-c: 0.%{-c*}.}%{1}%{?subrel:.%subrel}%{?distsuffix:%distsuffix}%{?!distsuffix:.mga}%{?distro_release:%distro_release}