Re: write a 'preprocessed' copy of the spec file

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

 




--- 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 


[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