From f9bfacc8abf4d6bfa5371376e6c4a68a343da9f817e8f147e8deb683dbbedf8a Mon Sep 17 00:00:00 2001 From: Todd R Date: Mon, 26 Feb 2018 18:08:36 +0000 Subject: [PATCH] Accepting request 580316 from home:TheBlackCat:branches:M17N - Fix building on tumbleweed OBS-URL: https://build.opensuse.org/request/show/580316 OBS-URL: https://build.opensuse.org/package/show/M17N/python-FontTools?expand=0&rev=2 --- python-FontTools.changes | 5 +++++ python-FontTools.spec | 10 +++++----- 2 files changed, 10 insertions(+), 5 deletions(-) diff --git a/python-FontTools.changes b/python-FontTools.changes index cafa51e..3e53491 100644 --- a/python-FontTools.changes +++ b/python-FontTools.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Mon Feb 26 17:42:47 UTC 2018 - toddrme2178@gmail.com + +- Fix building on tumbleweed + ------------------------------------------------------------------- Tue Feb 20 19:05:53 UTC 2018 - toddrme2178@gmail.com diff --git a/python-FontTools.spec b/python-FontTools.spec index d8369e8..d585cd2 100644 --- a/python-FontTools.spec +++ b/python-FontTools.spec @@ -26,7 +26,6 @@ Url: http://github.com/fonttools/fonttools Group: Development/Languages/Python Source: https://files.pythonhosted.org/packages/source/F/FontTools/fonttools-%{version}.zip BuildRequires: %{python_module devel} -BuildRequires: %{python_module setuptools} BuildRequires: fdupes BuildRequires: python-rpm-macros BuildRequires: unzip @@ -39,6 +38,7 @@ BuildRequires: %{python_module pytest-runner} BuildRequires: %{python_module reportlab} BuildRequires: %{python_module scipy} BuildRequires: %{python_module tox} +BuildRequires: %{python_module setuptools} %endif Recommends: python-brotlipy Recommends: python-munkres @@ -88,6 +88,10 @@ sed -i -e '/^#!\//, 1d' Lib/fontTools/mtiLib/__init__.py %python_exec setup.py test %endif +%files %{python_files} +%doc LICENSE LICENSE.external README.rst NEWS.rst +%{python_sitelib}/* + %files -n fonttools %doc LICENSE LICENSE.external README.rst NEWS.rst %{_bindir}/fonttools @@ -97,8 +101,4 @@ sed -i -e '/^#!\//, 1d' Lib/fontTools/mtiLib/__init__.py %{_bindir}/ttx %{_mandir}/man1/ttx.1%{ext_man} -%files %{python_files} -%doc LICENSE LICENSE.external README.rst NEWS.rst -%{python_sitelib}/* - %changelog