-Source0: http://waf.googlecode.com/files/%{name}-%{version}.tar.bz2
-# Source0-md5: 0d0c397ee675b2df79f65b375eb8a0f8
-URL: http://code.google.com/p/waf/
-BuildRequires: python
+Source0: http://waf.io/%{name}-%{version}.tar.bz2
+# Source0-md5: ba28942df5d03a2e411de16865d36a71
+Patch0: %{name}-path.patch
+URL: http://waf.io/
+BuildRequires: python >= 1:2.6
+BuildRequires: python-modules >= 1:2.6
+BuildRequires: rpm-pythonprov
+BuildRequires: rpmbuild(macros) >= 1.234
+Requires: python(abi) = %{py_ver}