From 45d859257e681f6fb9fbdf6492aaca385e8611e2 Mon Sep 17 00:00:00 2001 From: Akira TAGOH Date: Jul 19 2018 09:23:08 +0000 Subject: Drop dep of pyxdg. --- diff --git a/fonts-tweak-tool-default-python3.patch b/fonts-tweak-tool-default-python3.patch deleted file mode 100644 index f022fd8..0000000 --- a/fonts-tweak-tool-default-python3.patch +++ /dev/null @@ -1,9 +0,0 @@ -diff -pruN fonts-tweak-tool-0.3.2.orig/fonts-tweak-tool fonts-tweak-tool-0.3.2/fonts-tweak-tool ---- fonts-tweak-tool-0.3.2.orig/fonts-tweak-tool 2013-07-23 16:59:36.000000000 +0900 -+++ fonts-tweak-tool-0.3.2/fonts-tweak-tool 2016-04-11 10:59:56.788736719 +0900 -@@ -1,4 +1,4 @@ --#! /usr/bin/python -+#! /usr/bin/python3 - # -*- coding: utf-8 -*- - # fonts-tweak-tool - # Copyright (c) 2011-2012 Jian Ni diff --git a/fonts-tweak-tool-drop-pyxdg.patch b/fonts-tweak-tool-drop-pyxdg.patch new file mode 100644 index 0000000..1c481b1 --- /dev/null +++ b/fonts-tweak-tool-drop-pyxdg.patch @@ -0,0 +1,24 @@ +From dc6770ba4b79db91543d27bd20fc3f00de1101c8 Mon Sep 17 00:00:00 2001 +From: Akira TAGOH +Date: Thu, 19 Jul 2018 09:12:53 +0000 +Subject: [PATCH] clean up + +--- + fontstweak/ui/fonts-tweak-config.py | 1 - + 1 file changed, 1 deletion(-) + +diff --git a/fontstweak/ui/fonts-tweak-config.py b/fontstweak/ui/fonts-tweak-config.py +index 4888c7f..473b74d 100644 +--- a/fontstweak/ui/fonts-tweak-config.py ++++ b/fontstweak/ui/fonts-tweak-config.py +@@ -26,7 +26,6 @@ from distutils.version import LooseVersion + from gi.repository import Gtk + from gi.repository import Pango + from gi.repository import Easyfc +-from xdg import BaseDirectory + try: + from tweaks import FontsTweak + except ImportError: +-- +2.18.0.rc2 + diff --git a/fonts-tweak-tool.spec b/fonts-tweak-tool.spec index c193577..5ac581a 100644 --- a/fonts-tweak-tool.spec +++ b/fonts-tweak-tool.spec @@ -1,11 +1,12 @@ Name: fonts-tweak-tool Version: 0.4.5 -Release: 2%{?dist} +Release: 3%{?dist} Summary: Tool for customizing fonts per language License: LGPLv3+ URL: https://bitbucket.org/tagoh/%{name}/ Source0: https://bitbucket.org/tagoh/%{name}/downloads/%{name}-%{version}.tar.bz2 +Patch0: %{name}-drop-pyxdg.patch BuildRequires: desktop-file-utils BuildRequires: intltool @@ -13,7 +14,6 @@ BuildRequires: python3-devel BuildRequires: gobject-introspection-devel glib2-devel Requires: libeasyfc-gobject >= 0.14.0 Requires: python3-gobject -Requires: python3-pyxdg Requires: gtk3 Requires: hicolor-icon-theme @@ -52,10 +52,13 @@ rm -f $RPM_BUILD_ROOT%{_datadir}/gir-*/FontsTweak-*.gir %{_libdir}/girepository-*/FontsTweak-*.typelib %changelog +* Thu Jul 19 2018 Akira TAGOH - 0.4.5-3 +- Drop dep of pyxdg. + * Fri Jul 13 2018 Fedora Release Engineering - 0.4.5-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild -* Fri Jul 06 2018 Akira TAGOh - 0.4.5-1 +* Fri Jul 06 2018 Akira TAGOH - 0.4.5-1 - New upstream release. - Use %%{__python3} macro instead of the hardcoded python3 name.