[packages/dnf-plugins-extras] - up to 4.0.16
baggins
baggins at pld-linux.org
Fri May 13 10:15:48 CEST 2022
commit 6aafe960eefc1b3cbce69d990ff5b9f27d2631f9
Author: Jan Rękorajski <baggins at pld-linux.org>
Date: Fri May 13 10:15:36 2022 +0200
- up to 4.0.16
dnf-plugins-extras.spec | 6 +++---
install.patch | 2 +-
2 files changed, 4 insertions(+), 4 deletions(-)
---
diff --git a/dnf-plugins-extras.spec b/dnf-plugins-extras.spec
index 4abbb3b..2407d3c 100644
--- a/dnf-plugins-extras.spec
+++ b/dnf-plugins-extras.spec
@@ -1,10 +1,10 @@
Summary: Extras Plugins for DNF
Name: dnf-plugins-extras
-Version: 4.0.13
-Release: 4
+Version: 4.0.16
+Release: 1
License: GPL v2+
Source0: https://github.com/rpm-software-management/dnf-plugins-extras/archive/%{version}/%{name}-%{version}.tar.gz
-# Source0-md5: 27dbded5f661fb9d9a4741c34ffc7816
+# Source0-md5: 22c566100be065e770a6b0032f8a4ad3
Patch0: install.patch
URL: https://github.com/rpm-software-management/dnf-plugins-extras
BuildRequires: cmake
diff --git a/install.patch b/install.patch
index b38264b..c11b93d 100644
--- a/install.patch
+++ b/install.patch
@@ -5,7 +5,7 @@
FIND_PACKAGE (PythonInterp 3 EXACT REQUIRED)
+if (NOT PYTHON_INSTALL_DIR)
- EXECUTE_PROCESS(COMMAND ${PYTHON_EXECUTABLE} -c "from sys import stdout; from distutils import sysconfig; stdout.write(sysconfig.get_python_lib())" OUTPUT_VARIABLE PYTHON_INSTALL_DIR)
+ EXECUTE_PROCESS(COMMAND ${PYTHON_EXECUTABLE} -c "from sys import stdout; from sysconfig import get_path; stdout.write(get_path('purelib'))" OUTPUT_VARIABLE PYTHON_INSTALL_DIR)
+ENDIF()
MESSAGE(STATUS "Python install dir is ${PYTHON_INSTALL_DIR}")
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/dnf-plugins-extras.git/commitdiff/6aafe960eefc1b3cbce69d990ff5b9f27d2631f9
More information about the pld-cvs-commit
mailing list