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

Fawad Ali faw.studies at gmail.com
Mon Feb 21 13:35:40 UTC 2011


Hi,
    Thanks for the reply but my RPM packaging is a lil bit different so I
need to know if I am able to get values from a properties file or not.

On Mon, Feb 21, 2011 at 5:26 PM, Soumen Trivedi <soumen.trivedi at gmail.com>wrote:

> 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
>
>
> _______________________________________________
> Rpm-list mailing list
> Rpm-list at lists.rpm.org
> http://lists.rpm.org/mailman/listinfo/rpm-list
>
>


-- 
Regards,
S. Fawad Ali Shah
Software Engineer,
Stafona. Inc.
Cell# +92 334 500 1577
www.7thbillion.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rpm.org/pipermail/rpm-list/attachments/20110221/5b85a4fc/attachment.html>


More information about the Rpm-list mailing list