From 96d00530712469dde7dca527662dcd79f9216249 Mon Sep 17 00:00:00 2001 From: Philippe Coval Date: Wed, 15 Nov 2017 20:46:59 +0100 Subject: [PATCH] tizen: Set variable as version This will be useful for creating snapshot versions ie: 1.3.0+99+1.3.1+RC5~B4DC0DE Bug: https://jira.iotivity.org/browse/IOT-1745 Change-Id: Ib95ee7c53cc226e411bacc03313ffd6829b7e7d1 Signed-off-by: Philippe Coval --- tools/tizen/iotivity.spec | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tools/tizen/iotivity.spec b/tools/tizen/iotivity.spec index 4a1a88efaf..c0b7306bcb 100755 --- a/tools/tizen/iotivity.spec +++ b/tools/tizen/iotivity.spec @@ -1,6 +1,6 @@ Name: iotivity -Version: 1.3.1 -Release: 0 +Version: %{!?version:1.3.1}%{?version} +Release: %{!?release:0}%{?release} Summary: IoT Connectivity sponsored by the OCF Group: Network & Connectivity / IoT Connectivity License: Apache-2.0 and BSD-2-Clause and (MIT or BSL-1.0) and MIT -- GitLab