mirror of
https://github.com/ublue-os/akmods.git
synced 2026-11-03 14:59:42 -09:00
fix: Apply realpath around _builddir, fixes a double slash that causes our changes to be ignored (#613)
fix: Apply realpath around _builddir, fixes a double slash that causes our change to be ignored
This commit is contained in:
parent
6cda5f6fba
commit
e2b0f07d8f
1 changed files with 1 additions and 1 deletions
|
|
@ -99,7 +99,7 @@ original_build_pre="$(rpm --eval '%{macrobody:__spec_build_pre}')"
|
|||
printf '%%__spec_build_pre '
|
||||
printf '%s\n' "$original_build_pre" | sed 's/$/\\/'
|
||||
cat <<'EOF'
|
||||
export KCFLAGS="${KCFLAGS:+${KCFLAGS} }-ffile-prefix-map=%{_builddir}=/usr/src/akmods"
|
||||
export KCFLAGS="${KCFLAGS:+${KCFLAGS} }-ffile-prefix-map=$(realpath -m "%{_builddir}")=/usr/src/akmods"
|
||||
EOF
|
||||
} > /etc/rpm/macros.akmods-reproducible
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue