You can use rpm-maven plugin, using maven2 build tool to generate the spec file and the rpm file at one go. I use it very frequently and do not have to worry about spec files any more. The rpm-maven-plugin incorporates almost all of the features of spec file. http://mojo.codehaus.org/rpm-maven-plugin/
On Mon, Feb 21, 2011 at 9:53 AM, Fawad Ali <faw.studies@xxxxxxxxx> wrote:
Hi,Is there anyway that I get the name, version and release from a property file or something else, so that I do not have to do changes in a spec file each time I try to package a new version of the software.
--
Regards,
S. Fawad Ali Shah,
www.7thbillion.com
_______________________________________________
Rpm-list mailing list
Rpm-list@xxxxxxxxxxxxx
http://lists.rpm.org/mailman/listinfo/rpm-list
--
Thanks & Regards,
Soumen Trivedi
Email: Soumen.Trivedi@xxxxxxxxx
_______________________________________________ Rpm-list mailing list Rpm-list@xxxxxxxxxxxxx http://lists.rpm.org/mailman/listinfo/rpm-list