diff --git a/pygobject3.spec b/pygobject3.spec index 547cf1a..06e73c2 100644 --- a/pygobject3.spec +++ b/pygobject3.spec @@ -106,7 +106,9 @@ library. %package devel Summary: Development files for embedding PyGObject introspection support Requires: python-gobject%{?_isa} = %{version}-%{release} +%if 0%{?with_python3} Requires: python3-gobject%{?_isa} = %{version}-%{release} +%endif Requires: gobject-introspection-devel%{?_isa} %description devel