On Thu, Nov 06, 2025 at 06:34:05AM +0200, Tomi Lähteenmäki wrote: > 4 Nov 2025 14.44.00 Neal Gompa <[email protected]>: > > > This has been a thing already since RPM 4.20. > > > > You can use %setup/%autosetup -C to have it automatically handle the > > directory for you. > > > > See the notes here: > > https://rpm.org/releases/4.20.0#spec--package-building > > I don't see it mentioned in Fedora Packaging guidelines about %autosetup [1] > nor in RPM documentation [2] which is linked as further documentation. > Should we have this documented somewhere?
We don't actually have any place where the question of directory naming is discussed in the guidelines. The tutorials [1,2] use plain %autosetup because the tarball uses a good name. And in the main docs [3] %forgesetup is used. Should the recommendation for %forgesetup be dropped and replaced by plain '%autosetup -C' ? [1] https://docs.fedoraproject.org/en-US/package-maintainers/Packaging_Tutorial_1_banner/ [2] https://docs.fedoraproject.org/en-US/package-maintainers/Packaging_Tutorial_2_GNU_Hello/ [3] https://docs.fedoraproject.org/en-US/packaging-guidelines/SourceURL/ -- _______________________________________________ devel mailing list -- [email protected] To unsubscribe send an email to [email protected] 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/[email protected] Do not reply to spam, report it: https://pagure.io/fedora-infrastructure/new_issue
