# remove python sources, so that check-files won't complain
# (idea by glen <at> pld-linux <dot> org)
%py_postclean() \
-for d in %{py_sitescriptdir} %{py_sitedir}; do \
+for d in %{py_sitescriptdir} %{py_sitedir} %*; do \
[ ! -d "$RPM_BUILD_ROOT$d" ] || find "$RPM_BUILD_ROOT$d" -name '*.py' -print0 | xargs -0r -l512 rm;\
done \
%{nil}