diff --git a/python310.spec b/python310.spec index 1ebc903..306c6cf 100644 --- a/python310.spec +++ b/python310.spec @@ -153,10 +153,6 @@ BuildRequires: lzma-devel BuildRequires: netcfg BuildRequires: openssl-devel BuildRequires: pkgconfig -%if 0%{?suse_version} >= 1550 -# The provider for python(abi) is in rpm-build-python -BuildRequires: rpm-build-python -%endif BuildRequires: xz BuildRequires: pkgconfig(bzip2) BuildRequires: pkgconfig(expat) @@ -164,6 +160,10 @@ BuildRequires: pkgconfig(libffi) BuildRequires: pkgconfig(uuid) BuildRequires: pkgconfig(zlib) #!BuildIgnore: gdk-pixbuf-loader-rsvg +%if 0%{?suse_version} >= 1550 +# The provider for python(abi) is in rpm-build-python +BuildRequires: rpm-build-python +%endif %if 0%{?suse_version} >= 1500 BuildRequires: pkgconfig(libnsl) BuildRequires: pkgconfig(libtirpc)