Skip to content

Clean up unneeded directories created by rpmbuild(8) - #524

Merged
ardovm merged 1 commit into
trunkfrom
ardovm/rpmbuild_clean
Nov 25, 2026
Merged

ardovm merged 1 commit into
trunkfrom
ardovm/rpmbuild_clean

Conversation

@ardovm

@ardovm ardovm commented Nov 21, 2026

Copy link
Copy Markdown
Contributor

On Ubuntu Linux 24.04 the rpmbuild command generates directories BUILDROOT and SRPMS that confuse the installation script.
Those directories are empty and can just be wiped away, as we already did for the temporary directories BUILD and buildroot.

The code that erased those directories was IMHO unnecessarily redundant and verbose; however I tried to keep the same structure in case that amount of logging is needed somewhere else.

Whitespace changes have the purpose to improve code readability.

@ardovm

ardovm commented Nov 21, 2026

Copy link
Copy Markdown
Contributor Author

Please note that this code remains unreachable with EPM 5.1.0; see jimjag/epm#20

@ardovm
ardovm merged commit e92b2b3 into trunk Nov 25, 2026
1 check passed
@ardovm
ardovm deleted the ardovm/rpmbuild_clean branch November 25, 2026 18:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant