From 98f6b8cf9ffb95855a8e37ef8b8eeb6fd172a4d6 Mon Sep 17 00:00:00 2001 From: Tom spot Callaway Date: Thu, 29 Apr 2021 15:00:25 -0400 Subject: [PATCH] use fedora logo image from fedora-logos (not upstream copy) --- breeze-icon-theme.spec | 19 ++++++++++++++++++- 1 file changed, 18 insertions(+), 1 deletion(-) diff --git a/breeze-icon-theme.spec b/breeze-icon-theme.spec index 45605e9..3f0e7da 100644 --- a/breeze-icon-theme.spec +++ b/breeze-icon-theme.spec @@ -7,7 +7,7 @@ Name: breeze-icon-theme Summary: Breeze icon theme Version: 5.81.0 -Release: 2%{?dist} +Release: 3%{?dist} # http://techbase.kde.org/Policies/Licensing_Policy License: LGPLv3+ @@ -43,6 +43,9 @@ BuildRequires: time # inheritance, though could consider Recommends: if needed -- rex Requires: hicolor-icon-theme +# Needed for proper Fedora logo +Requires: system-logos + # upstream name Provides: breeze-icons = %{version}-%{release} Provides: kf5-breeze-icons = %{version}-%{release} @@ -80,6 +83,17 @@ sed -i -e "s|%{version}|%{kf5_version}|g" CMakeLists.txt %install %cmake_install +# Do not use Fedora logo from upstream +rm -rf %{buildroot}%{_datadir}/icons/breeze-dark/apps/48/org.fedoraproject.AnacondaInstaller.svg +rm -rf %{buildroot}%{_datadir}/icons/breeze/apps/48/org.fedoraproject.AnacondaInstaller.svg +# Use copy found in fedora-logos +pushd %{buildroot}%{_datadir}/icons/breeze-dark/apps/48/ +ln -s ../../../hicolor/48x48/apps/org.fedoraproject.AnacondaInstaller.svg org.fedoraproject.AnacondaInstaller.svg +popd +pushd %{buildroot}%{_datadir}/icons/breeze/apps/48/ +ln -s ../../../hicolor/48x48/apps/org.fedoraproject.AnacondaInstaller.svg org.fedoraproject.AnacondaInstaller.svg +popd + ## icon optimizations #du -s . #time optimizegraphics ||: @@ -145,6 +159,9 @@ fi %changelog +* Thu Apr 29 2021 Tom Callaway - 5.81.0-3 +- use fedora logo image from fedora-logos (not upstream copy) + * Fri Apr 09 2021 Rex Dieter - 5.81.0-2 - respin