From 3269b09c798e1db217748ddd89a0f2e2acfe8303 Mon Sep 17 00:00:00 2001 From: B Stack Date: Wed, 15 Jul 2020 20:44:34 -0400 Subject: add paths.patch to rpm --- chicago95.spec | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) (limited to 'chicago95.spec') diff --git a/chicago95.spec b/chicago95.spec index b8fc5a7..ccc8200 100644 --- a/chicago95.spec +++ b/chicago95.spec @@ -11,6 +11,11 @@ %define archivename chicago95.orig.tar.gz %define archivedir chicago95.orig %endif +# for OBS, Fedora 30, 31 +%if "0%{?_fontbasedir}" == "0" +%define _fontbasedir %{_datadir}/fonts +%endif + Name: chicago95-theme Version: 2.0.1 Release: 1%{?dist} @@ -20,11 +25,11 @@ Group: User Interface/Desktops License: GPLv3.0+/MIT URL: https://github.com/grassmunk/Chicago95 Source0: https://github.com/grassmunk/Chicago95/archive/%{archivename} +Patch0: paths.patch BuildArch: noarch Packager: B Stack BuildRequires: txt2man -#Provides: mimehandler(application/x-freefilesync-batch) %description Assets to allow customization of Xfce to look as @@ -118,7 +123,7 @@ Translate Windows 95 Plus! themes to Gtk-compatible themes. %prep %setup -n %{archivedir} -#%%patch0 -p1 +%patch0 -p1 %build %make_build -- cgit