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
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)
add_subdirectory(etc)
+file(COPY data DESTINATION /tmp)