https://bugzilla.redhat.com/show_bug.cgi?id=1503915
--- Comment #37 from Miro Hrončok mhroncok@redhat.com --- I really don't like the %if 0 part of the spec file. Can you check if python_enable_dependency_generator is defined instead if you really must?
BuildRequires: %{python}-setuptools %{python}-devel BuildRequires: /usr/bin/pathfix.py
Here you mix tabs and spaces. I recommend sticking with spaces, but please pick one.
Otherwise this starts to look good.