Blame SOURCES/rhnlib-2.8.6-7-el8-to-rhnlib-2.8.6-8-el8.patch

81b62b
diff --git a/rhnlib.spec b/rhnlib.spec
81b62b
index 38417c7..4877efc 100644
81b62b
--- a/rhnlib.spec
81b62b
+++ b/rhnlib.spec
81b62b
@@ -2,12 +2,10 @@
81b62b
 %global build_py3   1
81b62b
 %endif
81b62b
 
81b62b
-%{!?python_sitelib: %define python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")}
81b62b
-
81b62b
 Summary: Python libraries for the Spacewalk project
81b62b
 Name: rhnlib
81b62b
 Version: 2.8.6
81b62b
-Release: 7%{?dist}
81b62b
+Release: 8%{?dist}
81b62b
 URL:     https://github.com/spacewalkproject/spacewalk
81b62b
 Source0: https://github.com/spacewalkproject/spacewalk/archive/%{name}-%{version}.tar.gz
81b62b
 
81b62b
@@ -52,7 +50,6 @@ fi
81b62b
 
81b62b
 
81b62b
 %build
81b62b
-#%{__python} setup.py build
81b62b
 make -f Makefile.rhnlib
81b62b
 
81b62b
 
81b62b
@@ -74,6 +71,9 @@ make -f Makefile.rhnlib
81b62b
 %endif
81b62b
 
81b62b
 %changelog
81b62b
+* Fri Jun 21 2019 Michael Mraka <michael.mraka@redhat.com> 2.8.6-8
81b62b
+- fixed build error: attempt to use unversioned python
81b62b
+
81b62b
 * Mon Feb 04 2019 Michael Mraka <michael.mraka@redhat.com> 2.8.6-7
81b62b
 - Resolves: #1666099 - python3 is picky about bytes and string
81b62b