summaryrefslogtreecommitdiff
path: root/rpm
diff options
context:
space:
mode:
authorTomasz Sterna <tomek@xiaoka.com>2014-07-20 21:48:03 +0200
committerTomasz Sterna <tomek@xiaoka.com>2014-07-20 21:48:03 +0200
commite8ad1c9c993a98cdeea92dfcec29052654ec807d (patch)
tree2fa459215dac4aa9e58f97865d17ffbe05f48630 /rpm
parentcfd11bb46b0e93903135c127b955e657d7f2b33d (diff)
Added VERSION to app and daemon
Diffstat (limited to 'rpm')
-rw-r--r--rpm/pebble.spec3
-rw-r--r--rpm/pebble.yaml2
2 files changed, 4 insertions, 1 deletions
diff --git a/rpm/pebble.spec b/rpm/pebble.spec
index 8129886..01a66e1 100644
--- a/rpm/pebble.spec
+++ b/rpm/pebble.spec
@@ -47,7 +47,8 @@ Include support for Pebble watch to receive event from SailfishOS device. Commun
# >> build pre
# << build pre
-%qtc_qmake5
+%qtc_qmake5 \
+ VERSION='%{version}-%{release}'
%qtc_make %{?_smp_mflags}
diff --git a/rpm/pebble.yaml b/rpm/pebble.yaml
index f0fc73d..1bb3352 100644
--- a/rpm/pebble.yaml
+++ b/rpm/pebble.yaml
@@ -11,6 +11,8 @@ Description: |
Include support for Pebble watch to receive event from SailfishOS device. Communicates via Bluetooth, supporting the Pebble protocol.
Configure: none
Builder: qtc5
+QMakeOptions:
+- VERSION='%{version}-%{release}'
PkgConfigBR:
- Qt5DBus
- Qt5Bluetooth