[Fedora-packaging] Re: Macro question for rpm gurus

Gagadget gagadget at gmail.com
Mon May 4 09:41:52 UTC 2009


2009/5/4 Mike A. Harris <mharris at mharris.ca>

> Gagadget wrote:
>
>> Dear listers,
>>
>> BIND has a version numbering system like this :
>> Major.Medium.Minor-Ppatchlevel, with -Ppatchlevel only exists if patchlevel
>> > 0. For instance, the source are named like that :
>>
>> bind-9.5.2-P2.tar.gz
>> bind-9.6.0-P1.tar.gz
>> bind-9.2.9.tar.gz
>>
>> I try to define a generic spec file for BIND packaging, here is what I did
>> :
>>
>> %define VERSION 9.6.0
>>
>
> This define is redundant and unnecessary.  Just put the version directly in
> the "Version:" tag, and rpm does the right thing.
>
> Version: 9.6.0
>

rpmbuild refuse to have "-" in Version tag.


>
> --
> Fedora-packaging mailing list
> Fedora-packaging at redhat.com
> https://www.redhat.com/mailman/listinfo/fedora-packaging
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/fedora-packaging/attachments/20090504/5e3593bb/attachment.htm>


More information about the Fedora-packaging mailing list