[packages/libselinux] - fix building with python 3.8 - rel 3

baggins baggins at pld-linux.org
Sat Nov 2 23:23:59 CET 2019


commit a0e86e64eeb7ab4594ccf140eef0661a657e16c2
Author: Jan Rękorajski <baggins at pld-linux.org>
Date:   Sat Nov 2 23:22:24 2019 +0100

    - fix building with python 3.8
    - rel 3

 libselinux.spec | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)
---
diff --git a/libselinux.spec b/libselinux.spec
index 6369692..f23139a 100644
--- a/libselinux.spec
+++ b/libselinux.spec
@@ -15,7 +15,7 @@ Summary:	SELinux library and simple utilities
 Summary(pl.UTF-8):	Biblioteka SELinux i proste narzędzia
 Name:		libselinux
 Version:	2.9
-Release:	2
+Release:	3
 License:	Public Domain
 Group:		Libraries
 #Source0Download: https://github.com/SELinuxProject/selinux/wiki/Releases
@@ -181,6 +181,8 @@ Wiązania języka Ruby do biblioteki SELinux.
 	CC="%{__cc}" \
 	CFLAGS="%{rpmcppflags} %{rpmcflags} -D_FILE_OFFSET_BITS=64" \
 	LDFLAGS="%{rpmldflags}" \
+	PYINC="$(python3-config --cflags)" \
+	PYLIBS="$(python3-config --libs --embed)" \
 	LIBDIR=%{_libdir} \
 	PYPREFIX=python3 \
 	PYSITEDIR=%{py3_sitedir} \
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/libselinux.git/commitdiff/a0e86e64eeb7ab4594ccf140eef0661a657e16c2



More information about the pld-cvs-commit mailing list