diff options
Diffstat (limited to 'packaging/ui-gadget-1.spec')
-rw-r--r-- | packaging/ui-gadget-1.spec | 5 |
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 |