[packages/midori] deps for ldconfig; drop bogus comment

glen glen at pld-linux.org
Wed Jan 1 23:25:29 CET 2014


commit 74ac8c1044492c84ff00224b42692a4d574b5344
Author: Elan Ruusamäe <glen at delfi.ee>
Date:   Wed Jan 1 22:25:16 2014 +0000

    deps for ldconfig; drop bogus comment

 midori.spec | 7 +++----
 1 file changed, 3 insertions(+), 4 deletions(-)
---
diff --git a/midori.spec b/midori.spec
index d674476..8941f0c 100644
--- a/midori.spec
+++ b/midori.spec
@@ -44,6 +44,7 @@ BuildRequires:	vala-zeitgeist1
 BuildRequires:	xorg-lib-libX11-devel
 Requires(post,postun):	desktop-file-utils
 Requires(post,postun):	gtk-update-icon-cache
+Requires(post,postun):	/sbin/ldconfig
 Requires:	hicolor-icon-theme
 Provides:	wwwbrowser
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
@@ -101,8 +102,6 @@ rm -rf $RPM_BUILD_ROOT
 	DESTDIR=$RPM_BUILD_ROOT
 
 %{__rm} -r $RPM_BUILD_ROOT%{_docdir}/%{name}
-
-# no -devel package, unlink
 %{__rm} -r $RPM_BUILD_ROOT%{_localedir}/no
 
 %find_lang %{name}
@@ -111,14 +110,14 @@ rm -rf $RPM_BUILD_ROOT
 rm -rf $RPM_BUILD_ROOT
 
 %post
+/sbin/ldconfig
 %update_desktop_database_post
 %update_icon_cache hicolor
-/sbin/ldconfig
 
 %postun
+/sbin/ldconfig
 %update_desktop_database_postun
 %update_icon_cache hicolor
-/sbin/ldconfig
 
 %files -f %{name}.lang
 %defattr(644,root,root,755)
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/midori.git/commitdiff/74ac8c1044492c84ff00224b42692a4d574b5344



More information about the pld-cvs-commit mailing list