summaryrefslogtreecommitdiff
path: root/packaging
diff options
context:
space:
mode:
Diffstat (limited to 'packaging')
-rwxr-xr-xpackaging/capi-ui-efl-util.spec10
1 files changed, 5 insertions, 5 deletions
diff --git a/packaging/capi-ui-efl-util.spec b/packaging/capi-ui-efl-util.spec
index 5562dc1..290e7b3 100755
--- a/packaging/capi-ui-efl-util.spec
+++ b/packaging/capi-ui-efl-util.spec
@@ -1,7 +1,7 @@
Name: capi-ui-efl-util
Summary: An EFL utility library in Tizen Native API
Version: 0.1.0
-Release: 1
+Release: 5
Group: TO_BE/FILLED_IN
License: Apache-2.0
Source0: %{name}-%{version}.tar.gz
@@ -29,9 +29,8 @@ Requires: %{name} = %{version}-%{release}
%build
-FULLVER=%{version}
-MAJORVER=`echo ${FULLVER} | cut -d '.' -f 1`
-cmake . -DCMAKE_INSTALL_PREFIX=/usr -DFULLVER=${FULLVER} -DMAJORVER=${MAJORVER}
+MAJORVER=`echo %{version} | awk 'BEGIN {FS="."}{print $1}'`
+cmake . -DCMAKE_INSTALL_PREFIX=/usr -DFULLVER=%{version} -DMAJORVER=${MAJORVER}
make %{?jobs:-j%jobs}
@@ -46,10 +45,11 @@ rm -rf %{buildroot}
%files
-%{_libdir}/libcapi-ui-efl-util.so*
+%{_libdir}/libcapi-ui-efl-util.so.*
%files devel
%{_includedir}/ui/*.h
%{_libdir}/pkgconfig/*.pc
+%{_libdir}/libcapi-ui-efl-util.so