refactor: drop .keep placeholder files in favor of explicit mkdir

BUILD_RPM now creates the rpmbuild _topdir subdirs (BUILD/RPMS/SRPMS/
SOURCES/SPECS) itself, so the 11 tracked .keep placeholders (downloads,
output, el*/{BUILD,RPMS,SRPMS}) are no longer needed; output/ and
downloads/ were already created by compile.sh/pullsrc.sh.
This commit is contained in:
boypt
2026-08-24 14:07:09 +08:00
parent a3be02a209
commit 370f4310df
12 changed files with 2 additions and 0 deletions

View File

@@ -132,6 +132,8 @@ BUILD_RPM() {
&& RPMBUILDOPTS+=('--define' "dist .$(rpm -q glibc | rev | cut -d. -f2 | rev)")
pushd $rpmtopdir
# ensure the rpmbuild _topdir tree exists (fresh clone has no empty dirs)
mkdir -p BUILD RPMS SRPMS SOURCES SPECS
RPMBUILDOPTS+=('--define' "_topdir $PWD")
for fn in "${SOURCES[@]}"; do
CHECKEXISTS "$fn" \

View File

View File

View File

View File

View File

View File

View File

View File

View File

View File

View File