Re: a question on prep section

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

 



On Fri, 19 Aug 2005, Adrian Mak wrote:

I read many spec. file from other packages, they often execute
aclocal, automake, autoconf,autoheader in the %prep stage

I don't understand it can simply do a ./configure in the %build stage
What is the purpose they use these tools in the prep stage ?

To take the avenue of why %prep vs %build.

I often do a rpmbuild -bp, that is rpmbuild upto and including %prep.

I am then left with the source files, patched and ready to be built.

It is a checkpoint between building and getting ready to build.

Out of the many SRPMs I have modified, only a few did I need to alter the %build section.

So to answer, they are patching, regenerating, etc the source, before they do a configure, because they are changing the configure script first.


--
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
-                                                               -
- Jason Pyeron                      PD Inc. http://www.pdinc.us -
- Partner & Sr. Manager             7 West 24th Street #100     -
- +1 (443) 921-0381                 Baltimore, Maryland 21218   -
-                                                               -
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-

This message is for the designated recipient only and may contain privileged, proprietary, or otherwise private information. If you have received it in error, purge the message from your system and notify the sender immediately. Any other use of the email by you is prohibited.

_______________________________________________
Rpm-list mailing list
Rpm-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/rpm-list

[Index of Archives]     [RPM Ecosystem]     [Linux Kernel]     [Red Hat Install]     [PAM]     [Red Hat Watch]     [Red Hat Development]     [Red Hat]     [Gimp]     [Yosemite News]     [IETF Discussion]

  Powered by Linux