https://bugzilla.redhat.com/show_bug.cgi?id=2244402 --- Comment #6 from Benson Muite <benson_muite@xxxxxxxxxxxxx> --- Information about what should be done in each section could be clarified better in the build guidelines. For reference, see: https://rpm-software-management.github.io/rpm/manual/spec.html https://docs.fedoraproject.org/en-US/java-packaging-howto/introduction_for_developers/ the %prep section is to unpack sources and apply patches. Running existing programs that modify the sources such as iconv is often done, but other commands associated with setting up the build environment such as using cmake, autotools etc. are done in build sections. Compiling code is best done in the %build section as a cleanable directory hierarchy is created for that purpose. Need to go through: https://github.com/rpm-software-management/rpm/blob/master/tools/rpmbuild.c in more detail. -- You are receiving this mail because: You are always notified about changes to this product and component You are on the CC list for the bug. https://bugzilla.redhat.com/show_bug.cgi?id=2244402 Report this comment as SPAM: https://bugzilla.redhat.com/enter_bug.cgi?product=Bugzilla&format=report-spam&short_desc=Report%20of%20Bug%202244402%23c6 _______________________________________________ package-review mailing list -- package-review@xxxxxxxxxxxxxxxxxxxxxxx To unsubscribe send an email to package-review-leave@xxxxxxxxxxxxxxxxxxxxxxx Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/ List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines List Archives: https://lists.fedoraproject.org/archives/list/package-review@xxxxxxxxxxxxxxxxxxxxxxx Do not reply to spam, report it: https://pagure.io/fedora-infrastructure/new_issue