fix rpmlint errors
[platform/framework/web/wrt.git] / packaging / wrt.spec
index 0222ed9..01e2f24 100644 (file)
@@ -1,10 +1,9 @@
-#git:framework/web/wrt wrt_0.8.198.3
 Name:       wrt
-Summary:    web runtime
+Summary:    Web runtime
 Version:    0.8.198.3
 Release:    1
 Group:      Development/Libraries
-License:    Apache License, Version 2.0
+License:    Apache-2.0
 URL:        N/A
 Source0:    %{name}-%{version}.tar.gz
 ## wrt-launchpad-daemon #######################################################
@@ -50,6 +49,8 @@ BuildRequires:  pkgconfig(app2sd)
 BuildRequires:  pkgconfig(capi-system-system-settings)
 BuildRequires:  osp-appfw-internal-devel
 Requires: osp-appfw
+Requires(post): /sbin/ldconfig
+Requires(postun): /sbin/ldconfig
 
 ## wrt-launchpad-daemon #######################################################
 BuildRequires:  pkgconfig(app-checker)
@@ -120,6 +121,7 @@ fi
 rm -rf %{buildroot}
 
 %post
+/sbin/ldconfig
 chmod +s /usr/bin/wrt-launcher
 
 ## wrt-launchpad-daemon #######################################################