Blame patches/tdnf-2.1.1_pre.local.patch

62c6b4
From 047b306ec03d4d83c66653f75de448e697cb8c0c Mon Sep 17 00:00:00 2001
62c6b4
From: Neal Gompa <ngompa13@gmail.com>
62c6b4
Date: Fri, 29 May 2020 19:17:58 -0400
62c6b4
Subject: [PATCH] CMakeLists: Disable building Python stuff for now
62c6b4
62c6b4
We do not need the Python bindings at the moment...
62c6b4
62c6b4
Signed-off-by: Neal Gompa <ngompa13@gmail.com>
62c6b4
---
62c6b4
 CMakeLists.txt | 2 --
62c6b4
 1 file changed, 2 deletions(-)
62c6b4
62c6b4
diff --git a/CMakeLists.txt b/CMakeLists.txt
62c6b4
index 25ee54e..b126bb0 100644
62c6b4
--- a/CMakeLists.txt
62c6b4
+++ b/CMakeLists.txt
62c6b4
@@ -66,8 +66,6 @@ set(LIB_TDNF_CLI tdnfcli)
62c6b4
 add_subdirectory("${PROJECT_SOURCE_DIR}/common")
62c6b4
 add_subdirectory("${PROJECT_SOURCE_DIR}/client")
62c6b4
 add_subdirectory("${PROJECT_SOURCE_DIR}/plugins")
62c6b4
-add_subdirectory("${PROJECT_SOURCE_DIR}/python")
62c6b4
 add_subdirectory("${PROJECT_SOURCE_DIR}/resources")
62c6b4
 add_subdirectory("${PROJECT_SOURCE_DIR}/solv")
62c6b4
 add_subdirectory("${PROJECT_SOURCE_DIR}/tools")
62c6b4
-add_subdirectory("${PROJECT_SOURCE_DIR}/pytests")
62c6b4
-- 
62c6b4
2.26.1
62c6b4
Lucio Andrés Illanes Albornoz d2fca9
--- tdnf-2.1.1/tools/cli/lib/CMakeLists.txt.orig	2020-05-29 18:28:42.000000000 +0100
Lucio Andrés Illanes Albornoz d2fca9
+++ tdnf-2.1.1/tools/cli/lib/CMakeLists.txt	2020-05-30 21:15:15.525966612 +0100
Lucio Andrés Illanes Albornoz d2fca9
@@ -6,6 +6,8 @@
Lucio Andrés Illanes Albornoz d2fca9
 # of the License are located in the COPYING file of this distribution.
Lucio Andrés Illanes Albornoz d2fca9
 #
Lucio Andrés Illanes Albornoz d2fca9
 
Lucio Andrés Illanes Albornoz d2fca9
+include_directories(${CMAKE_SOURCE_DIR}/include)
Lucio Andrés Illanes Albornoz d2fca9
+
Lucio Andrés Illanes Albornoz d2fca9
 # configure pkgconfig file
Lucio Andrés Illanes Albornoz d2fca9
 configure_file(
Lucio Andrés Illanes Albornoz d2fca9
     tdnfcli.pc.in
Lucio Andrés Illanes Albornoz d2fca9
@@ -26,6 +28,10 @@
Lucio Andrés Illanes Albornoz d2fca9
     updateinfocmd.c
Lucio Andrés Illanes Albornoz d2fca9
 )
Lucio Andrés Illanes Albornoz d2fca9
 
Lucio Andrés Illanes Albornoz d2fca9
+target_link_libraries(${LIB_TDNF_CLI}
Lucio Andrés Illanes Albornoz d2fca9
+    ${LIB_TDNF}
Lucio Andrés Illanes Albornoz d2fca9
+    ${LIB_TDNF_COMMON}
Lucio Andrés Illanes Albornoz d2fca9
+)
Lucio Andrés Illanes Albornoz d2fca9
 
Lucio Andrés Illanes Albornoz d2fca9
 set_target_properties(${LIB_TDNF_CLI} PROPERTIES
Lucio Andrés Illanes Albornoz d2fca9
     VERSION ${PROJECT_VERSION}