From: Baptiste DURAND Date: Tue, 30 Apr 2013 15:25:17 +0000 (+0200) Subject: Fix spec file according to RPMLINT rules X-Git-Tag: accepted/tizen/20130523.165904~1 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=b4e2464707e43d5abb8df788a6c8b5b4ffdc4b51;p=platform%2Fframework%2Fweb%2Fdownload-provider.git Fix spec file according to RPMLINT rules --- diff --git a/packaging/download-provider.spec b/packaging/download-provider.spec index 6cbc314..00a5deb 100755 --- a/packaging/download-provider.spec +++ b/packaging/download-provider.spec @@ -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}