Getting vriable from a properties file in an rpm spec file.

Soumen Trivedi soumen.trivedi at gmail.com
Mon Feb 21 12:26:40 UTC 2011


Hello,
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 at gmail.com> 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 at lists.rpm.org
> http://lists.rpm.org/mailman/listinfo/rpm-list
>
>


-- 
Thanks & Regards,
Soumen Trivedi
Email: Soumen.Trivedi at gmail.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rpm.org/pipermail/rpm-list/attachments/20110221/a7ee2bce/attachment.html>


More information about the Rpm-list mailing list