[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: configure in %prep or %build?



Kenneth Porter wrote:

Most of the RPM's I've encountered put configure in the %build section, but
the spec file for MIMEDefang puts it in the %prep section. Which is "correct",
and why? If there's a compelling reason to put it in %build, I'll submit a
patch to the MIMEDefang people.



Ther is no right or wrong.


Usually, configure is done in %build so that "rpmbuild -bp ..." gives
a patched tree without side effects; running configure in %prep
changes the tree more than one ususally wants.

Still, it's just a matter of taste and style, the goal is binary packages, not pretty
spec files.


73 de Jeff





[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index] []