[packages/remmina] regenerate icon cache
atler
atler at pld-linux.org
Wed Jul 17 01:32:41 CEST 2019
commit 791ee4d299dab5ee2eacbd4c8c81c6f49bd89e73
Author: Jan Palus <atler at pld-linux.org>
Date: Wed Jul 17 01:14:23 2019 +0200
regenerate icon cache
remmina.spec | 8 ++++++++
1 file changed, 8 insertions(+)
---
diff --git a/remmina.spec b/remmina.spec
index ff97c90..528a1ee 100644
--- a/remmina.spec
+++ b/remmina.spec
@@ -46,6 +46,8 @@ BuildRequires: rpmbuild(macros) >= 1.742
%{?with_telepathy:BuildRequires: telepathy-glib-devel}
%{?with_vte:BuildRequires: vte2.90-devel}
BuildRequires: xorg-lib-libxkbfile-devel
+Requires(post,postun): gtk-update-icon-cache
+Requires: hicolor-icon-theme
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
%description
@@ -218,6 +220,12 @@ cp -p %{SOURCE1} $RPM_BUILD_ROOT/%{_includedir}/%{name}/
%clean
rm -rf $RPM_BUILD_ROOT
+%post
+%update_icon_cache hicolor
+
+%postun
+%update_icon_cache hicolor
+
%files -f %{name}.lang
%defattr(644,root,root,755)
%doc LICENSE AUTHORS ChangeLog README.md
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/remmina.git/commitdiff/d8865dbe105b86d27f0766053f6008e1c21f385f
More information about the pld-cvs-commit
mailing list