rpm/tools
Panu Matilainen 996b3ac32d Minimally bring back --buildroot cli switch for cpack
Turns out cmake's cpack rpm module is using --buildroot to preinstall
content to a known location and then point a dummy rpmbuild spec to
that location using --buildroot.

This is not how rpmbuild wants to be used but we can't very well break cpack
(and who knows what else may be using it) just like that, commit
9d35c8df49 went a step too far with the
buildroot elimination.

Do a partial revert of 9d35c8df49 to
honor buildRoot argument to rpmSpecParse() again and bring back
--buildroot cli switch to set it, just enough to cover this usage. Also
add a test-case to mimick the "install from the outside" use that cpack does.
2024-06-04 08:50:15 +03:00
..
CMakeLists.txt Remove the WITH_CXX option, this is a one-way street 2024-04-09 11:00:00 +03:00
cliutils.c Move all cli utility sources under tools/ 2023-09-13 13:34:17 +03:00
cliutils.h Add c++ guards to internal headers and sources as needed 2024-04-05 13:18:27 +03:00
elfdeps.c Add casts that C++ requires but C doesn't across cli tools 2024-04-09 11:00:00 +03:00
rpm.c Add casts that C++ requires but C doesn't across cli tools 2024-04-09 11:00:00 +03:00
rpm2archive.c Add casts that C++ requires but C doesn't across cli tools 2024-04-09 11:00:00 +03:00
rpmbuild.c Minimally bring back --buildroot cli switch for cpack 2024-06-04 08:50:15 +03:00
rpmdb.c Expose and document rpmdb --verifydb operation 2023-11-06 15:58:54 +02:00
rpmdeps.c Set program name centrally from rpmcliInit() 2022-03-25 10:23:37 +02:00
rpmdump.c Add casts that C++ requires but C doesn't across cli tools 2024-04-09 11:00:00 +03:00
rpmgraph.c Drop top-level source for our global include directories 2023-09-13 13:34:17 +03:00
rpmkeys.c Avoid jumping over variable declarations 2024-04-09 08:16:18 +03:00
rpmlua.c readline callback const correctness 2024-04-05 13:18:27 +03:00
rpmsign.c Add casts that C++ requires but C doesn't across cli tools 2024-04-09 11:00:00 +03:00
rpmsort.c Add casts that C++ requires but C doesn't across cli tools 2024-04-09 11:00:00 +03:00
rpmspec.c Move all cli utility sources under tools/ 2023-09-13 13:34:17 +03:00
rpmuncompress.c Avoid jumping over variable declarations 2024-04-09 08:16:18 +03:00