From d6f4823522bb912d6bc0ecc3d300c2e5903bbd2b Mon Sep 17 00:00:00 2001 From: Kevin Fenzi Date: Sep 15 2017 21:42:06 +0000 Subject: Unbundle open-sans-font. Fixes #1465421 --- diff --git a/python-backlash.spec b/python-backlash.spec index 1a6ddaf..6489e0e 100644 --- a/python-backlash.spec +++ b/python-backlash.spec @@ -6,7 +6,7 @@ Name: python-backlash Version: 0.1.2 -Release: 3%{?dist} +Release: 4%{?dist} Summary: Standalone WebOb port of the Werkzeug Debugger Group: Development/Libraries @@ -38,6 +38,7 @@ versions.\ %package -n python2-backlash Summary: %summary Requires: python-webob +Requires: open-sans-fonts %{?python_provide:%python_provide python2-backlash} %description -n python2-backlash %_description @@ -48,6 +49,7 @@ Summary: Standalone WebOb port of the Werkzeug Debugger with Python3 Group: Development/Libraries Requires: python3-webob +Requires: open-sans-fonts %description -n python3-backlash backlash is a standalone version of the Werkzeug Debugger based on WebOb @@ -81,10 +83,18 @@ popd %install %{__python} setup.py install -O1 --skip-build --root=%{buildroot} +pushd %{buildroot}/%{python_sitelib}/%{modname}/statics > /dev/null +rm -f opensans.ttf +ln -s /usr/share/fonts/open-sans/OpenSans-Regular.ttf opensans.ttf +popd > /dev/null %if 0%{?with_python3} pushd %{py3dir} %{__python3} setup.py install -O1 --skip-build --root=%{buildroot} +pushd %{buildroot}/%{python3_sitelib}/%{modname}/statics > /dev/null +rm -f opensans.ttf +ln -s /usr/share/fonts/open-sans/OpenSans-Regular.ttf opensans.ttf +popd > /dev/null popd %endif @@ -103,6 +113,9 @@ popd %changelog +* Fri Sep 15 2017 Kevin Fenzi - 0.1.2-4 +- Unbundle open-sans-font. Fixes #1465421 + * Sat Aug 19 2017 Zbigniew Jędrzejewski-Szmek - 0.1.2-3 - Python 2 binary package renamed to python2-backlash See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3