Fix spec file according to RPMLINT rules 19/3619/1
authorBaptiste DURAND <baptiste.durand@eurogiciel.fr>
Tue, 30 Apr 2013 15:25:17 +0000 (17:25 +0200)
committerRusty Lynch <rusty.lynch@intel.com>
Tue, 21 May 2013 17:25:32 +0000 (10:25 -0700)
packaging/download-provider.spec

index 6cbc314..00a5deb 100755 (executable)
@@ -1,6 +1,6 @@
 
 Name:       download-provider
-Summary:    download the contents in background.
+Summary:    Download the contents in background
 Version:    1.0.5
 Release:    9
 Group:      Development/Libraries
@@ -25,12 +25,13 @@ BuildRequires:  pkgconfig(notification)
 BuildRequires:  pkgconfig(appsvc)
 BuildRequires:  pkgconfig(dbus-1)
 BuildRequires:  pkgconfig(wifi-direct)
-
+Requires(post): /sbin/ldconfig
+Requires(postun): /sbin/ldconfig
 %description
 Description: download the contents in background
 
 %package devel
-Summary:    download-provider
+Summary:    Download-provider
 Group:      Development/Libraries
 Requires:   %{name} = %{version}-%{release}
 
@@ -153,6 +154,21 @@ CREATE UNIQUE INDEX requests_index ON logging (id, state, errorcode, packagename
 '
 fi
 
+
+%post devel
+/sbin/ldconfig
+
+%postun  devel
+/sbin/ldconfig
+
+
+%post
+/sbin/ldconfig
+
+%postun
+/sbin/ldconfig
+
+
 %files
 %defattr(-,root,root,-)
 %dir %attr(0775,root,app) /opt/data/%{name}