Fix build failure due to rpmlint badness exceeds limit 59/10059/2 accepted/tizen/ivi/release accepted/tizen/20131015.101522 accepted/tizen/20131015.121939 accepted/tizen/20131028.165314 accepted/tizen/20131112.015555 submit/tizen/20131015.013427 submit/tizen/20131015.015915 submit/tizen/20131015.115803
authorChengwei Yang <chengwei.yang@intel.com>
Wed, 9 Oct 2013 00:18:17 +0000 (08:18 +0800)
committerChengwei Yang <chengwei.yang@intel.com>
Wed, 9 Oct 2013 00:18:17 +0000 (08:18 +0800)
rpmlint will calculate badness score based on various violations in
.spec file, if the total score exceeds a limit, then build failed.

This patch fix some of them to pass build. Not all of them, for example,
/usr/ug are not permitted in FHS.

Change-Id: I72854d5fd1b043a0255a622b02803ab35108c29d
Signed-off-by: Chengwei Yang <chengwei.yang@intel.com>
packaging/libug-setting-wifidirect-efl.spec [changed mode: 0755->0644]

old mode 100755 (executable)
new mode 100644 (file)
index a6da9c2..6d51b6f
@@ -5,8 +5,8 @@ Name:       libug-setting-wifidirect-efl
 Summary:    Wi-Fi Direct setting UI gadget 
 Version:    1.0.21
 Release:    1
-Group:      TO_BE_FILLED
-License:    Flora License
+Group:      Network & Connectivity/Wireless
+License:    Flora
 Source0:    %{name}-%{version}.tar.gz
 Requires(post): /sbin/ldconfig   
 Requires(post): /usr/bin/sqlite3   
@@ -79,7 +79,9 @@ rm -rf %{buildroot}
 %post
 mkdir -p /usr/ug/bin/
 ln -sf /usr/bin/ug-client /usr/ug/bin/ug-setting-wifidirect-efl
-%postun
+/sbin/ldconfig
+
+%postun -p /sbin/ldconfig
 
 
 %files