[Rpm-maint] [rpm-software-management/rpm] 4.18.99: rpmbuild no longer recognises shell globs in %files?🤔 (Issue #2649)

Tomasz Kłoczko notifications at github.com
Fri Sep 8 07:33:30 UTC 2023


Files rpmrc, platform and macros are mot in source tree and they are generated to `${CMAKE_BINARY_DIR}` in cace of off-source tree build.
Here is the patch which fixes this issue
```patch
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -162,7 +162,9 @@
        install(CODE "execute_process(COMMAND
                ${CMAKE_COMMAND} -E env pkglibdir=${RPM_CONFIGDIR}
                        ${CMAKE_SOURCE_DIR}/installplatform
-                       rpmrc platform macros
+                       ${CMAKE_BINARY_DIR}/rpmrc
+                       ${CMAKE_BINARY_DIR}/platform
+                       ${CMAKE_BINARY_DIR}/macros
                        ${RPMCANONVENDOR} ${RPMCANONOS} ${RPMCANONGNU})"
        )
 endfunction()
```

-- 
Reply to this email directly or view it on GitHub:
https://github.com/rpm-software-management/rpm/issues/2649#issuecomment-1711212728
You are receiving this because you are subscribed to this thread.

Message ID: <rpm-software-management/rpm/issues/2649/1711212728 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rpm.org/pipermail/rpm-maint/attachments/20230908/a3647839/attachment.html>


More information about the Rpm-maint mailing list