projects
/
libdnf.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5b3495b
)
[PATCH] data: workaround for hardcoded absolute path data in variables
author
Frédéric Pierret (fepitre)
<frederic.pierret@qubes-os.org>
Sat, 28 Nov 2020 22:00:31 +0000
(23:00 +0100)
committer
Luca Boccassi
<bluca@debian.org>
Sat, 8 Mar 2025 12:29:37 +0000
(12:29 +0000)
We use clean env for each build to use /tmp as location. This is
a temporary solution until upstream/we found a better way for that.
Gbp-Pq: Name 0012-data-workaround-for-hardcoded-absolute-path-data-in-.patch
CMakeLists.txt
patch
|
blob
|
history
diff --git
a/CMakeLists.txt
b/CMakeLists.txt
index d2642b02d67e5df06aaaf8cc6a2c004593724e3d..83b20f3596ca38d462ce9a0b7c62180160b062a5 100644
(file)
--- a/
CMakeLists.txt
+++ b/
CMakeLists.txt
@@
-133,7
+133,7
@@
add_definitions(-DGETTEXT_DOMAIN="libdnf")
add_definitions(-DG_LOG_DOMAIN="libdnf")
# tests
-add_definitions(-DTESTDATADIR="
${CMAKE_SOURCE_DIR}
/data/tests")
+add_definitions(-DTESTDATADIR="
/tmp
/data/tests")
# librhsm
if(ENABLE_RHSM_SUPPORT)
@@
-187,3
+187,4
@@
endif()
add_subdirectory(etc)
+file(COPY data DESTINATION /tmp)