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

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

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.

On Mon, Feb 21, 2011 at 9:53 AM, Fawad Ali <faw.studies at> 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,
> _______________________________________________
> Rpm-list mailing list
> Rpm-list at

Thanks & Regards,
Soumen Trivedi
Email: Soumen.Trivedi at
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the Rpm-list mailing list