Blame patches/tdnf-2.1.1_pre.local.patch

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