diff --git a/python-html5lib.spec b/python-html5lib.spec
index 17a302a..b6ee0cb 100644
--- a/python-html5lib.spec
+++ b/python-html5lib.spec
@@ -1,5 +1,7 @@
%global modulename html5lib
+%if 0%{?fedora}
%global with_python3 1
+%endif
Name: python-%{modulename}
Summary: A python based HTML parser/tokenizer