-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[libcap-ng] Update to 0.8.5. Contributes to JB#58868
- Cherry-pick a commit to fix compilation without python2
- Loading branch information
Showing
3 changed files
with
32 additions
and
3 deletions.
There are no files selected for viewing
Submodule libcap-ng
updated
52 files
26 changes: 26 additions & 0 deletions
26
rpm/0001-Fix-python-path-when-invoking-py-compile-54.patch
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001 | ||
From: Jan Palus <[email protected]> | ||
Date: Wed, 10 Apr 2024 21:30:51 +0200 | ||
Subject: [PATCH] Fix python path when invoking py-compile (#54) | ||
|
||
48eebb2 replaced custom PYTHON3 variable with PYTHON by using standard | ||
AM_PATH_PYTHON macro. Makefile however still referred to old one. | ||
There's no need to set PYTHON explicitly anymore so drop it. | ||
|
||
Fixes #53 | ||
--- | ||
bindings/python3/Makefile.am | 1 - | ||
1 file changed, 1 deletion(-) | ||
|
||
diff --git a/bindings/python3/Makefile.am b/bindings/python3/Makefile.am | ||
index 70a1dd8..6072fc2 100644 | ||
--- a/bindings/python3/Makefile.am | ||
+++ b/bindings/python3/Makefile.am | ||
@@ -27,7 +27,6 @@ AM_CPPFLAGS = -I. -I$(top_builddir) $(PYTHON3_INCLUDES) | ||
LIBS = ${top_builddir}/src/libcap-ng.la | ||
SWIG_FLAGS = -python | ||
SWIG_INCLUDES = ${AM_CPPFLAGS} | ||
-PYTHON = $(PYTHON3) | ||
pyexec_PYTHON = capng.py | ||
pyexec_LTLIBRARIES = _capng.la | ||
pyexec_SOLIBRARIES = _capng.so |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters