Is %autosetup another unwanted baby of Fedora?

Adam Jackson ajax at redhat.com
Mon Jul 13 13:22:22 UTC 2015


On Mon, 2015-07-13 at 14:39 +0200, Marcin Juszkiewicz wrote:

> Is it because no one told that it exists? Or maybe because 
> implementation has some issues which no one wants to fix? Or other (I 
> exclude laziness of package maintainers)?

rpm macros only get used if they work on the oldest OS release the
maintainer cares about.  If you want the spec to build on rhel6 you
can't use autosetup; or, you can, but you have to hide it behind %if
and then _also_ do it the other way in the %else, so why bother since
it doesn't make anything cleaner.

- ajax


More information about the devel mailing list