|
|
|
@ -13,8 +13,8 @@
|
|
|
|
|
%undefine prerel
|
|
|
|
|
|
|
|
|
|
Name: waf
|
|
|
|
|
Version: 1.7.16
|
|
|
|
|
Release: %{?prerel:0.}1%{?prerel:.%prerel}%{?dist}.2
|
|
|
|
|
Version: 1.8.2
|
|
|
|
|
Release: %{?prerel:0.}1%{?prerel:.%prerel}%{?dist}
|
|
|
|
|
Summary: A Python-based build system
|
|
|
|
|
Group: Development/Tools
|
|
|
|
|
# The entire source code is BSD apart from pproc.py (taken from Python 2.5)
|
|
|
|
@ -36,7 +36,7 @@ BuildRequires: python-devel
|
|
|
|
|
BuildRequires: python3-devel
|
|
|
|
|
%endif # with_python3
|
|
|
|
|
%if 0%{?with_docs}
|
|
|
|
|
%if 0%{?fedora}
|
|
|
|
|
%if 0%{?fedora} || 0%{?rhel} >= 7
|
|
|
|
|
BuildRequires: python-sphinx
|
|
|
|
|
%else
|
|
|
|
|
BuildRequires: python-sphinx10
|
|
|
|
@ -108,16 +108,6 @@ This package contains the HTML documentation for %{name}.
|
|
|
|
|
# do not try to use the (removed) waf logos
|
|
|
|
|
%patch1 -p1
|
|
|
|
|
|
|
|
|
|
# remove BOM, causes trouble later
|
|
|
|
|
sed -i -e '1s/^\xEF\xBB\xBF//' waflib/extras/dpapi.py
|
|
|
|
|
|
|
|
|
|
# add missing quotes, see rhbz#914566 and
|
|
|
|
|
# https://code.google.com/p/waf/issues/detail?id=1263
|
|
|
|
|
sed -i -e 's@fontname=\(Vera.*sans\),@fontname="\1",@g' \
|
|
|
|
|
docs/sphinx/conf.py \
|
|
|
|
|
docs/sphinx/coremodules.rst \
|
|
|
|
|
docs/sphinx/featuremap.rst
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%build
|
|
|
|
|
extras=
|
|
|
|
@ -132,7 +122,7 @@ done
|
|
|
|
|
%if 0%{?with_docs}
|
|
|
|
|
# build html docs
|
|
|
|
|
pushd docs/sphinx
|
|
|
|
|
%if ! 0%{?fedora > 13}
|
|
|
|
|
%if ! ( 0%{?fedora} || 0%{?rhel} >= 7 )
|
|
|
|
|
export SPHINX_BUILD=sphinx-1.0-build
|
|
|
|
|
%endif
|
|
|
|
|
../../waf -v configure build
|
|
|
|
@ -209,6 +199,9 @@ rm -f docs/sphinx/build/html/.buildinfo
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
|
* Sun Oct 12 2014 Thomas Moschny <thomas.moschny@gmx.de> - 1.8.2-1
|
|
|
|
|
- Update to 1.8.2.
|
|
|
|
|
|
|
|
|
|
* Sun Jun 08 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.7.16-1.2
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|