Is %autosetup another unwanted baby of Fedora?

Marcin Juszkiewicz mjuszkiewicz at redhat.com
Mon Jul 13 13:48:20 UTC 2015


W dniu 13.07.2015 o 15:22, Adam Jackson pisze:
> 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.

In other words: %autosetup may get used in 2025 when we finally forget 
why it was invented. Unless it got stripped from RHEL set of rpm macros.


More information about the devel mailing list