Naming packages when upstream uses dashes in the release version

Petr Stodulka pstodulk at redhat.com
Wed May 6 08:33:18 UTC 2015



On 6.5.2015 10:21, Alexander Ploumistos wrote:
> On Wed, May 6, 2015 at 10:21 AM, Petr Pisar <ppisar at redhat.com> wrote:
>> It depends on the meaning of the upstream's `-1'. Basically, I would
>> interpret it as yet another version level, i.e. as `3.80.1'. If the upstream
>> tends to release `3.80.1-1', I'd interpret `3.80-1' as `3.80.0.1'.
> So, what would the rpm be named? foo-3.80.1-1.rpm or foo-3.80-1-1.rpm?
Definitely foo-3.80-1-1.rpm is bad idea. How will you parse NVRA here? 
Naming of packages is now simply *name-v-r.a*
or *name-e:v-r.a*, where only *name* can contains dashes. Other dashes 
are separators.

> Is the latter a possibility?
>
> In this case, I do not think there is ever going to be another
> release, so I just have to worry about my own re-release names for
> each patch and spec file update. The vendor was quite specific in
> their wording, the version is 3.80 and the release is 1. These are the
> names of the packages on their website:
> foo-source-3.80-1.tar.gz
> foo-3.80-1.rpm
> foo-3.80-1.deb



More information about the devel mailing list