mirror of
https://git.yoctoproject.org/poky
synced 2026-05-02 09:32:14 +02:00
dnf: update to 4.0.4
License-Update: spelling fixes (From OE-Core rev: f03c0f06e14d18a5ed263e943e36920d70796db9) Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
committed by
Richard Purdie
parent
4603f83e23
commit
33dbdd91cf
@@ -1,7 +1,7 @@
|
||||
From a8ef81c115a45f05dad145c98e10f3c4940e4e29 Mon Sep 17 00:00:00 2001
|
||||
From ffb7942cc73c3d2c6aa7c689cdaf9bc0bcbc144b Mon Sep 17 00:00:00 2001
|
||||
From: Alexander Kanavin <alex.kanavin@gmail.com>
|
||||
Date: Thu, 26 Jan 2017 16:25:47 +0200
|
||||
Subject: [PATCH 3/5] Do not hardcode /etc and systemd unit directories
|
||||
Subject: [PATCH] Do not hardcode /etc and systemd unit directories
|
||||
|
||||
Upstream-Status: Inappropriate [oe-core specific]
|
||||
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
|
||||
@@ -11,20 +11,17 @@ Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
|
||||
1 file changed, 2 insertions(+), 2 deletions(-)
|
||||
|
||||
diff --git a/CMakeLists.txt b/CMakeLists.txt
|
||||
index 650b624a..10199618 100644
|
||||
index 73552967..38cf4fbf 100644
|
||||
--- a/CMakeLists.txt
|
||||
+++ b/CMakeLists.txt
|
||||
@@ -7,8 +7,8 @@ if (NOT PYTHON_DESIRED)
|
||||
set (PYTHON_DESIRED "2")
|
||||
endif()
|
||||
@@ -3,8 +3,8 @@ CMAKE_MINIMUM_REQUIRED (VERSION 2.4)
|
||||
|
||||
INCLUDE (${CMAKE_SOURCE_DIR}/VERSION.cmake)
|
||||
|
||||
-SET( SYSCONFDIR /etc)
|
||||
-SET( SYSTEMD_DIR /usr/lib/systemd/system)
|
||||
+SET( SYSCONFDIR ${CMAKE_INSTALL_SYSCONFDIR})
|
||||
+SET( SYSTEMD_DIR $ENV{systemd_system_unitdir})
|
||||
|
||||
if (${PYTHON_DESIRED} STREQUAL "2")
|
||||
FIND_PACKAGE (PythonInterp REQUIRED)
|
||||
--
|
||||
2.14.2
|
||||
|
||||
IF (NOT PYTHON_DESIRED)
|
||||
FIND_PACKAGE (PythonInterp REQUIRED)
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
From 7205033e44d8fba1d3b18b490e7eaab82da1ffa3 Mon Sep 17 00:00:00 2001
|
||||
From 6be13143a54c79085d400d5bd4c7a6e1cb6ffaf5 Mon Sep 17 00:00:00 2001
|
||||
From: Alexander Kanavin <alex.kanavin@gmail.com>
|
||||
Date: Fri, 30 Dec 2016 18:29:07 +0200
|
||||
Subject: [PATCH 1/5] Do not set PYTHON_INSTALL_DIR by running python
|
||||
Subject: [PATCH] Do not set PYTHON_INSTALL_DIR by running python
|
||||
|
||||
Upstream-Status: Inappropriate [oe-core specific]
|
||||
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
|
||||
@@ -11,18 +11,15 @@ Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
|
||||
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||
|
||||
diff --git a/CMakeLists.txt b/CMakeLists.txt
|
||||
index 23e5f889..650b624a 100644
|
||||
index 38cf4fbf..6c5debd8 100644
|
||||
--- a/CMakeLists.txt
|
||||
+++ b/CMakeLists.txt
|
||||
@@ -18,7 +18,7 @@ else()
|
||||
FIND_PACKAGE(PythonInterp 3.0 REQUIRED)
|
||||
endif()
|
||||
@@ -19,7 +19,7 @@ ELSE ()
|
||||
MESSAGE (FATAL_ERROR "Invalid PYTHON_DESIRED value: " ${PYTHON_DESIRED})
|
||||
ENDIF()
|
||||
|
||||
-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 distutils import sysconfig; stdout.write(sysconfig.get_python_lib())" OUTPUT_VARIABLE PYTHON_INSTALL_DIR)
|
||||
EXECUTE_PROCESS(COMMAND ${PYTHON_EXECUTABLE} -c "import sys; sys.stdout.write('%s.%s' % (sys.version_info.major, sys.version_info.minor))" OUTPUT_VARIABLE PYTHON_MAJOR_DOT_MINOR_VERSION)
|
||||
MESSAGE(STATUS "Python install dir is ${PYTHON_INSTALL_DIR}")
|
||||
|
||||
--
|
||||
2.14.2
|
||||
|
||||
ADD_SUBDIRECTORY (dnf)
|
||||
|
||||
Reference in New Issue
Block a user