Skip to content

CPackRPM: Move RPMs into %_arch sub folder

I was trying to generate RPM from SRPM, but all RPMs were placed into ../RPMS/ instead of ../RPMS/x86_64.

I tried diffirent flags both from cpack and rpmbuild docs, but couldn't fix that.

After looking to generated SPEC file I made some changes to move RPMs into ARCH sub folder.

Fixes: #22019

Edited by Brad King

Merge request reports