-Source0: http://waf.googlecode.com/files/%{name}-%{version}.tar.bz2
-# Source0-md5: 6a809e446497b710592579772c8b22bd
-URL: http://code.google.com/p/waf/
-BuildRequires: python
+Source0: https://waf.io/%{name}-%{version}.tar.bz2
+# Source0-md5: 20e89032bf6da95ee8d38c87b4a1236a
+Patch0: %{name}-path.patch
+URL: https://waf.io/
+BuildRequires: python3
+BuildRequires: python3-modules
+BuildRequires: rpm-pythonprov
+BuildRequires: rpmbuild(macros) >= 1.507
+Requires: python(abi) = %{py3_ver}