Octaviz, VTK, & Octave CMAKE???

Ben Scott dragonhawk at gmail.com
Tue Aug 5 11:08:17 EDT 2008


On Tue, Aug 5, 2008 at 10:56 AM, Labitt, Bruce
<labittb1 at tycoelectronics.com> wrote:
>  Say I need to edit the spec file (add options), how do I create a new
> src.rpm file?  ... Now I need to create a new file myvtk.src.rpm....

  Okay, for that, you will need to unpack the SRPM using "rpm -i", as
you wrote.  Edit the spec file.  I suggest changing the "Release"
field somehow, to make it easier to distinguish your tweaked version
from the original.  Then do:

	rpmbuild -ba your-new-spec-file.spec

  That should spit out installable RPMs under /usr/src/RPMS and SRPMs
under /usr/src/SRPMS.  -ba is "build all".  There are variants for
more selective operations, consult the man page for details.

-- Ben


More information about the gnhlug-discuss mailing list