From 5269dd43219b58e326d5a12f89ec3b106d1deb4c Mon Sep 17 00:00:00 2001 From: Ronan Le Martret Date: Thu, 10 Jul 2014 17:58:34 +0200 Subject: [PATCH] Clean spec file for yocto complaince. Change-Id: I66727d07778917fe141a124f3d12d69d44c87bc4 Signed-off-by: Ronan Le Martret --- packaging/capi-system-device.spec | 14 ++++---------- 1 file changed, 4 insertions(+), 10 deletions(-) diff --git a/packaging/capi-system-device.spec b/packaging/capi-system-device.spec index 4497aee..62c3d1b 100644 --- a/packaging/capi-system-device.spec +++ b/packaging/capi-system-device.spec @@ -1,7 +1,7 @@ Name: capi-system-device Summary: A Device library in TIZEN C API Version: 0.1.0 -Release: 19 +Release: 0 Group: System/API License: Apache-2.0 Source0: %{name}-%{version}.tar.gz @@ -13,8 +13,7 @@ BuildRequires: pkgconfig(dlog) BuildRequires: pkgconfig(vconf) %description -A Device library in TIZEN C API. - +A Device library in TIZEN C API package. %package devel Summary: A Device library in TIZEN C API (Development) @@ -22,20 +21,17 @@ Group: System/Development Requires: %{name} = %{version}-%{release} %description devel +A Device library in TIZEN C API (Development) package. %devel_desc - - %prep %setup -q - %build cp %{SOURCE1} . MAJORVER=`echo %{version} | awk 'BEGIN {FS="."}{print $1}'` %cmake . -DFULLVER=%{version} -DMAJORVER=${MAJORVER} - -make %{?jobs:-j%jobs} +%__make %{?jobs:-j%jobs} %install %make_install @@ -44,11 +40,9 @@ make %{?jobs:-j%jobs} %postun -p /sbin/ldconfig - %files %manifest %{name}.manifest %license LICENSE.APLv2 -%manifest capi-system-device.manifest %{_libdir}/libcapi-system-device.so.* %files devel -- 2.7.4