From a5fdda801ba775e8607ce5d569f107202c44eeeb Mon Sep 17 00:00:00 2001 From: Robin Lee Date: Apr 03 2019 02:04:11 +0000 Subject: Requires papirus-icon-theme Ghost owning cache files Create cache for deepin-dark theme --- diff --git a/deepin-icon-theme.spec b/deepin-icon-theme.spec index dc8ce28..a4e4a31 100644 --- a/deepin-icon-theme.spec +++ b/deepin-icon-theme.spec @@ -1,6 +1,6 @@ Name: deepin-icon-theme Version: 15.12.68 -Release: 1%{?dist} +Release: 2%{?dist} Summary: Icons for the Deepin Desktop Environment License: GPLv3 URL: https://github.com/linuxdeepin/deepin-icon-theme @@ -10,7 +10,7 @@ BuildArch: noarch BuildRequires: python2 BuildRequires: gtk-update-icon-cache BuildRequires: xorg-x11-apps -Requires: hicolor-icon-theme +Requires: papirus-icon-theme %description %{summary}. @@ -26,18 +26,22 @@ make %post touch --no-create %{_datadir}/icons/deepin &>/dev/null || : +touch --no-create %{_datadir}/icons/deepin-dark &>/dev/null || : touch --no-create %{_datadir}/icons/Sea &>/dev/null || : %postun if [ $1 -eq 0 ] ; then touch --no-create %{_datadir}/icons/deepin &>/dev/null /usr/bin/gtk-update-icon-cache %{_datadir}/icons/deepin &>/dev/null || : + touch --no-create %{_datadir}/icons/deepin-dark &>/dev/null + /usr/bin/gtk-update-icon-cache %{_datadir}/icons/deepin-dark &>/dev/null || : touch --no-create %{_datadir}/icons/Sea &>/dev/null /usr/bin/gtk-update-icon-cache %{_datadir}/icons/Sea &>/dev/null || : fi %posttrans /usr/bin/gtk-update-icon-cache %{_datadir}/icons/deepin &>/dev/null || : +/usr/bin/gtk-update-icon-cache %{_datadir}/icons/deepin-dark &>/dev/null || : /usr/bin/gtk-update-icon-cache %{_datadir}/icons/Sea &>/dev/null || : %files @@ -47,8 +51,16 @@ fi %{_datadir}/icons/deepin-dark/ %{_datadir}/icons/deepin/ %{_datadir}/icons/Sea/ +%ghost %{_datadir}/icons/deepin/icon-theme.cache +%ghost %{_datadir}/icons/deepin-dark/icon-theme.cache +%ghost %{_datadir}/icons/Sea/icon-theme.cache %changelog +* Wed Apr 3 2019 Robin Lee - 15.12.68-2 +- Requires papirus-icon-theme +- Ghost owning cache files +- Create cache for deepin-dark theme + * Thu Jan 31 2019 mosquito - 15.12.68-1 - Update to 15.12.68