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>
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
%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