- set fixed doc build date, lower sphinx requirement (for older openSUSE)
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:Factory/python?expand=0&rev=171
This commit is contained in:
parent
cc099c9e1e
commit
bedd13ad31
@ -3,6 +3,7 @@ Fri Dec 12 17:11:51 UTC 2014 - jmatejek@suse.com
|
|||||||
|
|
||||||
- update to 2.7.9
|
- update to 2.7.9
|
||||||
- drop HTML doc tarball, build HTML documentation from source
|
- drop HTML doc tarball, build HTML documentation from source
|
||||||
|
- set fixed doc build date, lower sphinx requirement (for older openSUSE)
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Tue Sep 30 15:32:07 UTC 2014 - jmatejek@suse.com
|
Tue Sep 30 15:32:07 UTC 2014 - jmatejek@suse.com
|
||||||
|
@ -101,7 +101,15 @@ sed -i 's/^version_required/dnl version_required/' configure.ac
|
|||||||
# COMMON-PREP-END
|
# COMMON-PREP-END
|
||||||
|
|
||||||
%build
|
%build
|
||||||
|
TODAY_DATE=`date -r %{S:0} "+%B %d, %Y"`
|
||||||
|
# TODO use not date of tarball but date of latest patch
|
||||||
|
|
||||||
pushd Doc
|
pushd Doc
|
||||||
|
sed -i "s/^today = .*/today = '$TODAY_DATE'/" conf.py
|
||||||
|
%if 0%{?suse_version} < 1320
|
||||||
|
# lower sphinx version requirement, docs seem to work fine with 1.1
|
||||||
|
sed -i "s/^needs_sphinx = .*/needs_sphinx = '1.1'/" conf.py
|
||||||
|
%endif
|
||||||
make html
|
make html
|
||||||
popd
|
popd
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user