Stanislav Brabec wrote:
The standard %setup macro should unpack these packages in convenient
way:

%prep
%setup -q


Configuration and compilation

%build

Packagers are encouraged to call autoreconf whenever possible. It
guarantees correct build of packages on platforms, that was not
supported by autotools in the time of the source release.

autoreconf -f -i

I think there is some argument that running the autotools at the end of the %prep may be appropriate. It all depends on what you expect out of the %prep.

If the purpose of %prep is simply to unpack and patch the source, then autoreconf is not appropriate there.

If the purpose of %prep is to prepare the software to be configured/built then autoreconf may be appropriate. I think once a statement is made, then the appropriate solution can be chosen and explained.

--Mark
_______________________________________________
Rpm-maint mailing list
Rpm-maint@lists.rpm.org
https://lists.rpm.org/mailman/listinfo/rpm-maint

Reply via email to