|
|
|
@ -23,9 +23,8 @@ URL: http://code.google.com/p/waf/
|
|
|
|
|
# Original tarfile can be found at
|
|
|
|
|
# http://waf.googlecode.com/files/waf-%%{version}.tar.bz2
|
|
|
|
|
# We remove:
|
|
|
|
|
# - /docs/book, as this is under CC-BY-NC-ND, which is not allowed in
|
|
|
|
|
# Fedora
|
|
|
|
|
# - Waf logos
|
|
|
|
|
# - /docs/book, licensed CC BY-NC-ND
|
|
|
|
|
# - Waf logos, licensed CC BY-NC
|
|
|
|
|
Source: waf-%{version}%{?prerel}.stripped.tar.bz2
|
|
|
|
|
# use _datadir instead of /usr/lib
|
|
|
|
|
Patch0: waf-1.6.2-libdir.patch
|
|
|
|
@ -105,8 +104,10 @@ This package contains the HTML documentation for %{name}.
|
|
|
|
|
|
|
|
|
|
%prep
|
|
|
|
|
%setup -q
|
|
|
|
|
%patch0 -p0 -b .libdir
|
|
|
|
|
%patch1 -p1 -b .logo
|
|
|
|
|
# also search for waflib in /usr/share/waf
|
|
|
|
|
%patch0 -p0
|
|
|
|
|
# do not try to use the (removed) waf logos
|
|
|
|
|
%patch1 -p1
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%build
|
|
|
|
|