rhnlib/SOURCES/rhnlib-2.8.6-7-el8-to-rhnlib-2.8.6-8-el8.patch
2021-09-10 18:54:54 +00:00

37 lines
980 B
Diff

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