From b20ced5b66b9aaac4f9a60050da3ba6911b9a420 Mon Sep 17 00:00:00 2001 From: Kalev Lember Date: Tue, 12 Feb 2019 16:53:40 +0100 Subject: [PATCH] Add missing requires on python3-setuptools /usr/bin/ttx (and other tools that fonttools installs in /usr/bin) do "from pkg_resources import load_entry_point" which is from setuptools. This fixes sazanami-fonts FTBFS. https://bugzilla.redhat.com/show_bug.cgi?id=1676290 --- fonttools.spec | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/fonttools.spec b/fonttools.spec index eed245e..9f1abbf 100644 --- a/fonttools.spec +++ b/fonttools.spec @@ -7,13 +7,14 @@ OpenType, AFM and to an extent Type 1 and some Mac-specific formats. Name: fonttools Version: 3.37.3 -Release: 1%{?dist} +Release: 2%{?dist} Summary: Tools to manipulate font files License: MIT URL: https://github.com/%{name}/%{name}/ Source0: https://github.com/%{name}/%{name}/archive/%{version}.tar.gz#/%{pypi_name}-%{version}.zip Requires: python3-fonttools +Requires: python3-setuptools BuildArch: noarch Provides: ttx = %{version}-%{release} @@ -79,6 +80,9 @@ sed -i '1d' Lib/fontTools/mtiLib/__init__.py %{python3_sitelib}/%{name}-%{version}-py3.?.egg-info %changelog +* Tue Feb 12 2019 Kalev Lember - 3.37.3-2 +- Add missing requires on python3-setuptools (#1676290) + * Wed Feb 06 2019 Parag Nemade - 3.37.3-1 - Update to 3.37.3 version (#1672607)