--- Jason Pyeron <jpyeron@xxxxxxxx> wrote: > Thanks, I just had to do it from scratch. > > twice in 20 hours I have been bitten by the same > issue. > > I had deployed a package to a client several years > ago, there now is an > issue on how it was compiled. I dont have the > --configure options anymore. > > > That said I would like to package the spec file in > as part of the docs. > EASY. > > But now I would also like to document the rpmbuild > command line and > enviroment at build time. > > Any ideas? What about following: Write rpmbuiild.sh like #!/bin/sh ( echo "Build options:" echo "$@" echo "Build env:" env ) > some_file Use it to build package instead of rpmbuild, And make some_file doc file of the package Valery __________________________________ Yahoo! Mail Stay connected, organized, and protected. Take the tour: http://tour.mail.yahoo.com/mailtour.html