You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Oct 1, 2024. It is now read-only.
The generated move section in the spec file moves TMP_BUILD_ROOT/*, where it should move all files. If e.g. a .bashrc is packaged in a prefix, then it fails to build, as .bashrc is not moved, but is mentioned in the spec file.
That would be much less of an issue, if the move section could be overridden in configuration, but it can't be. A possible script that would work (assuming TMP_BUILD_ROOT is set instead of hardcoding it into the script in writeMove) is:
mkdir -p "$RPM_BUILD_ROOT"
find "$TMP_BUILD_ROOT" -depth 1 |
while read top
do
mv "$TMP_BUILD_ROOT/$top" "$RPM_BUILD_ROOT/"
done
I would stay away from moving /* and /.??*, which then may or may not exist.
The text was updated successfully, but these errors were encountered:
The generated move section in the spec file moves TMP_BUILD_ROOT/*, where it should move all files. If e.g. a .bashrc is packaged in a prefix, then it fails to build, as .bashrc is not moved, but is mentioned in the spec file.
That would be much less of an issue, if the move section could be overridden in configuration, but it can't be. A possible script that would work (assuming TMP_BUILD_ROOT is set instead of hardcoding it into the script in writeMove) is:
mkdir -p "$RPM_BUILD_ROOT"
find "$TMP_BUILD_ROOT" -depth 1 |
while read top
do
mv "$TMP_BUILD_ROOT/$top" "$RPM_BUILD_ROOT/"
done
I would stay away from moving /* and /.??*, which then may or may not exist.
The text was updated successfully, but these errors were encountered: