how to build a package from 'this' directory ?

Stuart D Gathman stuart at bmsi.com
Fri Jun 29 01:08:25 UTC 2012


On Jun 28, Greg Swift transmitted in part:

> There are a few ways that people approach step 1.
>
> 1: A custom script that tars up the current directory and then runs the rpmbuild
> 2: A Makefile that does the same thing as the last step
> 3: Other programs like tito (http://rm-rf.ca/tito)

I use a Makefile that exports the source from a CVS/bzr tag (get version
from spec file and convert to tag), then tars it and runs rpmbuild.
That way, you get a version that always matches source control!



More information about the Rpm-list mailing list