projects
/
libdnf.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3030233
)
[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>
Fri, 3 Nov 2023 19:22:17 +0000
(19:22 +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 a0a1621ea582d6b7ab9871dc3b39df77a16f1bd9..e7b33e982e673ed47778e73aabaa74e3f43af696 100644
(file)
--- a/
CMakeLists.txt
+++ b/
CMakeLists.txt
@@
-138,7
+138,7
@@
add_definitions(-DG_LOG_DOMAIN=\\"libdnf\\")
add_definitions(-D_FILE_OFFSET_BITS=64)
# tests
-add_definitions(-DTESTDATADIR=\\"
${CMAKE_SOURCE_DIR}
/data/tests\\")
+add_definitions(-DTESTDATADIR=\\"
/tmp
/data/tests\\")
# librhsm
if(ENABLE_RHSM_SUPPORT)
@@
-188,3
+188,4
@@
endif()
add_subdirectory(etc)
+file(COPY data DESTINATION /tmp)