summaryrefslogtreecommitdiff
path: root/packaging/ui-gadget-1.spec
diff options
context:
space:
mode:
authorJiwoong Im <jiwoong.im@samsung.com>2017-03-27 09:32:33 (GMT)
committerJiwoong Im <jiwoong.im@samsung.com>2017-03-27 10:35:12 (GMT)
commit8c41cbf1ab0f3854dd26d3741701adfdc84c9e45 (patch)
tree77f0bedc5becec1584a07197aaf70f86643edf4d /packaging/ui-gadget-1.spec
parentfc03b71394fd57bc1ca12d3391c18a66f82abaee (diff)
downloadui-gadget-1-8c41cbf1ab0f3854dd26d3741701adfdc84c9e45.zip
ui-gadget-1-8c41cbf1ab0f3854dd26d3741701adfdc84c9e45.tar.gz
ui-gadget-1-8c41cbf1ab0f3854dd26d3741701adfdc84c9e45.tar.bz2
Changes: - Set license using %license macro Change-Id: I6a81d25b919568de0075f9a240e8a3bf4c88c652 Signed-off-by: Jiwoong Im <jiwoong.im@samsung.com>
Diffstat (limited to 'packaging/ui-gadget-1.spec')
-rw-r--r--packaging/ui-gadget-1.spec5
1 files changed, 3 insertions, 2 deletions
diff --git a/packaging/ui-gadget-1.spec b/packaging/ui-gadget-1.spec
index a4cf1e9..32676e7 100644
--- a/packaging/ui-gadget-1.spec
+++ b/packaging/ui-gadget-1.spec
@@ -3,7 +3,7 @@
Name: ui-gadget-1
Summary: UI Gadget Library
-Version: 0.1.30
+Version: 0.1.31
Release: 1
Group: System/Libraries
License: Apache-2.0
@@ -48,7 +48,8 @@ Development files for %{name}
cp %{SOURCE1001} .
%build
-%cmake . \
+MAJORVER=`echo %{version} | awk 'BEGIN {FS="."}{print $1}'`
+%cmake . -DFULLVER=%{version} -DMAJORVER=${MAJORVER} \
-DTZ_SYS_ETC=%TZ_SYS_ETC \
%if %{with wayland} && !%{with x}
-Dwith_wayland=TRUE