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

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