clean spec file for yocto compliance. 82/24382/1
authorRonan Le Martret <ronan@fridu.net>
Fri, 11 Jul 2014 09:36:51 +0000 (11:36 +0200)
committerRonan Le Martret <ronan@fridu.net>
Fri, 11 Jul 2014 09:36:51 +0000 (11:36 +0200)
Change-Id: Ia6540cdeff5652db99d63a6b1f8916582725e694
Signed-off-by: Ronan Le Martret <ronan@fridu.net>
packaging/capi-system-info.spec

index c6a55e07e8424eaad4c151da8a2a11480d33828b..96b31a8bfce537750c4e0ff4a9f55d8350bc0ecf 100644 (file)
@@ -25,14 +25,15 @@ BuildRequires:  pkgconfig(xrandr)
 %endif
 
 %description
-A System Information library in SLP C API
-
+A System Information library in SLP C API package.
 %package devel
 Summary:        A System Information library in SLP C API (Development)
 Group:          Development/System
 Requires:       %{name} = %{version}
 
 %description devel
+A System Information library in SLP C API (Development) package.
 %devel_desc
 
 %prep
@@ -46,8 +47,7 @@ MAJORVER=`echo %{version} | awk 'BEGIN {FS="."}{print $1}'`
 %else
 %cmake . -DFULLVER=%{version} -DMAJORVER=${MAJORVER}
 %endif
-
-make %{?_smp_mflags}
+%__make %{?_smp_mflags}
 
 %install
 %make_install
@@ -58,13 +58,11 @@ cp -f script/make_info_file.sh %{buildroot}%{_sysconfdir}/make_info_file.sh
 
 %postun -p /sbin/ldconfig
 
-
 %files
 %manifest %{name}.manifest
 %license LICENSE.APLv2
 %{_libdir}/libcapi-system-info.so.*
 %attr(0744,root,-) %{_sysconfdir}/make_info_file.sh
-%manifest system-info.manifest
 
 %files devel
 %manifest %{name}.manifest