From Fedora Project Wiki

Revision as of 16:16, 23 January 2014 by Sundaram (talk | contribs) (notes on %autosetup)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

%autosetup as a replacement for %setup that handles patches directly without having to manually list them one by one was introduced in 4.11 version of RPM (Fedora 19) and there is no reason not to recommend it over %setup everywhere except for EPEL has a few examples where %setup is used. This should be replaced with %autosetup with a note that EPEL package maintainers (before EL7) should continue using %setup or wrap it in %ifdef macros.

PS: Considering was approved Please use it in the examples provided in packaging guidelines as well.