https://bugzilla.redhat.com/show_bug.cgi?id=1251834
--- Comment #1 from Miroslav Suchý msuchy@redhat.com --- Note that macros are evaluated even in comments. You probably do not want that.
Use macros consistently. I.e. %{buildroot} instead of $RPM_BUILD_ROOT.
Why is there %doc withouth anything specified?
Directory %{python2_sitelib}/%{modname} is not owned. You should own it.
You may use macro %py2_install see https://fedoraproject.org/wiki/Packaging:Python