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?

-Tomi

[1] https://docs.fedoraproject.org/en-US/packaging-guidelines/#_autosetup
[2] https://rpm-software-management.github.io/rpm/manual/autosetup.html
-- 
_______________________________________________
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

Reply via email to