Skip to content

Commit

Permalink
Rename SPECPARTS to .SPECPARTS to make it less disruptive
Browse files Browse the repository at this point in the history
  • Loading branch information
hroncok committed Jun 7, 2023
1 parent 51c596a commit 75ba039
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions build/parsePrep.c
Original file line number Diff line number Diff line change
Expand Up @@ -274,11 +274,11 @@ static int doSetupMacro(rpmSpec spec, const char *line)
}

/* mkdir for dynamic specparts */
buf = rpmExpand("%{__mkdir_p} SPECPARTS", NULL);
buf = rpmExpand("%{__mkdir_p} .SPECPARTS", NULL);
appendBuf(spec, buf, 1);
free(buf);

buf = rpmGenPath("%{_builddir}", "%{buildsubdir}", "SPECPARTS");
buf = rpmGenPath("%{_builddir}", "%{buildsubdir}", ".SPECPARTS");
rpmPushMacro(spec->macros, "specpartsdir", NULL, buf, RMIL_SPEC);
free(buf);

Expand Down
2 changes: 1 addition & 1 deletion tests/rpmspec.at
Original file line number Diff line number Diff line change
Expand Up @@ -333,7 +333,7 @@ if [ $STATUS -ne 0 ]; then
exit $STATUS
fi
cd 'hello-1.0'
/usr/bin/mkdir -p SPECPARTS
/usr/bin/mkdir -p .SPECPARTS
/usr/bin/chmod -Rf a+rX,u+w,g-w,o-w .
echo "Patch #0 (hello-1.0-modernize.patch):"
/usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .modernize --fuzz=0 < /build/SOURCES/hello-1.0-modernize.patch
Expand Down

0 comments on commit 75ba039

Please sign in to comment.