[packages/skype] regenerate icon cache

atler atler at pld-linux.org
Sat Aug 17 00:21:20 CEST 2019


commit 7d1f7e2759806ac5ab05ed49219103b0141a3cc9
Author: Jan Palus <atler at pld-linux.org>
Date:   Sat Aug 17 00:16:53 2019 +0200

    regenerate icon cache

 skype.spec | 7 +++++++
 1 file changed, 7 insertions(+)
---
diff --git a/skype.spec b/skype.spec
index 7b970bc..c8aee42 100644
--- a/skype.spec
+++ b/skype.spec
@@ -14,6 +14,7 @@ Patch0:		%{name}-desktop.patch
 URL:		https://www.skype.com/
 BuildRequires:	tar >= 1:1.22
 BuildRequires:	xz
+Requires(post,postun):	gtk-update-icon-cache
 Provides:	skype-program = %{version}
 Conflicts:	skype-static
 ExclusiveArch:	%{x8664}
@@ -76,6 +77,12 @@ sed -i -e 's|/share/|/%{_lib}/|g' $RPM_BUILD_ROOT%{_bindir}/skypeforlinux
 %clean
 rm -rf $RPM_BUILD_ROOT
 
+%post
+%update_icon_cache hicolor
+
+%postun
+%update_icon_cache hicolor
+
 %files
 %defattr(644,root,root,755)
 %doc doc/* LICENSE*
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/skype.git/commitdiff/ae5c07498e7d485bca57251535401b9ca4be484e



More information about the pld-cvs-commit mailing list