summaryrefslogtreecommitdiffstats
path: root/virt-viewer.spec.in
diff options
context:
space:
mode:
authorChristophe Fergeau <cfergeau@redhat.com>2014-04-02 13:43:17 +0200
committerChristophe Fergeau <cfergeau@redhat.com>2014-04-04 14:49:20 +0200
commit3232dd743bb68f5723a0f2167a330053b463a525 (patch)
tree3d4237469cf32010bcb03be0e6857fdc89375f63 /virt-viewer.spec.in
parentf1cadccb9a765932fc338f9330ef58d08f737101 (diff)
downloadvirt-viewer-3232dd743bb68f5723a0f2167a330053b463a525.tar.gz
virt-viewer-3232dd743bb68f5723a0f2167a330053b463a525.tar.xz
virt-viewer-3232dd743bb68f5723a0f2167a330053b463a525.zip
build-sys: Always prepend '-' to build id
When using the --with-buildid configure paramater, the build id which is substituted in the MSI wxs file is automatically prepended by a '-', but the build id which is used in the C files does not get this '-' automatically. Currently, the linux and mingw spec files prepend a '-' on their own to the --with-buildid argument, but this causes the MSI installer to show 2 '-' during installation: "Please wait while Windows configures VirtViewer 0.6.0--1" This commit always prepends a '-' to the buildid strings, and removes the '-' from the spec files. This is to ensure the separator between version number and buildid is not forgotten, which could give a confusing version number.
Diffstat (limited to 'virt-viewer.spec.in')
-rw-r--r--virt-viewer.spec.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/virt-viewer.spec.in b/virt-viewer.spec.in
index 6b2d86b..b3b6b5e 100644
--- a/virt-viewer.spec.in
+++ b/virt-viewer.spec.in
@@ -104,7 +104,7 @@ autoreconf -if
%define govirt_arg --with-ovirt
%endif
-%configure %{spice_arg} %{gtk_arg} %{govirt_arg} --with-buildid=-%{release} --disable-update-mimedb
+%configure %{spice_arg} %{gtk_arg} %{govirt_arg} --with-buildid=%{release} --disable-update-mimedb
%__make %{?_smp_mflags}