From 885d275736da3960b27224db035c7be9a09aa2f3 Mon Sep 17 00:00:00 2001 From: Alan Pevec Date: Dec 23 2016 13:41:23 +0000 Subject: Workaround for the docs build ... File "/home/apevec/src/fed/python-reno/reno-2.0.3/reno/scanner.py", line 334, in _get_ref raise ValueError('Unknown reference {!r}'.format(name)) ValueError: Unknown reference 'origin/stable/newton' --- diff --git a/python-reno.spec b/python-reno.spec index 3412979..5d37b2d 100644 --- a/python-reno.spec +++ b/python-reno.spec @@ -101,8 +101,9 @@ Summary: Reno documentation Documentation for Reno %prep -# FIXME: workaround required to build reno %autosetup -n %{pypi_name}-%{version} -S git +# https://bugs.launchpad.net/reno/+bug/1520096 +sed -i '/[Nn]ewton/d' doc/source/history.rst %build %py2_build