Hello,<br>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. <a href="http://mojo.codehaus.org/rpm-maven-plugin/">http://mojo.codehaus.org/rpm-maven-plugin/</a><br>
<br><br><div class="gmail_quote">On Mon, Feb 21, 2011 at 9:53 AM, Fawad Ali <span dir="ltr">&lt;<a href="mailto:faw.studies@gmail.com">faw.studies@gmail.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
<div>Hi,</div>
<div>    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.<br clear="all">

<br>-- <br>Regards,<br>S. Fawad Ali Shah,<br><a href="http://www.7thbillion.com" target="_blank">www.7thbillion.com</a><br></div>
<br>_______________________________________________<br>
Rpm-list mailing list<br>
<a href="mailto:Rpm-list@lists.rpm.org">Rpm-list@lists.rpm.org</a><br>
<a href="http://lists.rpm.org/mailman/listinfo/rpm-list" target="_blank">http://lists.rpm.org/mailman/listinfo/rpm-list</a><br>
<br></blockquote></div><br><br clear="all"><br>-- <br>Thanks &amp; Regards,<br>Soumen Trivedi<br>Email: <a href="mailto:Soumen.Trivedi@gmail.com">Soumen.Trivedi@gmail.com</a><br><br>