[Rpm-maint] [rpm-software-management/rpm] RFE: Handle DistTag (#589)
wladmis
notifications at github.com
Wed Nov 14 17:38:14 UTC 2018
@Conan-Kudo recently I take a brief look at OpenMandriva Lx3. It uses `%name-%version-%release-%disttag%distepoch.%arch.rpm` for filename, each of its rpm package provides `name = %|epoch?{%{epoch}:}|%version-%release:%distepoch`, which is nice.
There is no `distepoch` in `rpm.org`, and in ALT there are different branches with no linear order, so I propose follow format for package matching:
`name[-[epoch:]version[-release]][:disttag][.arch]`,
and may be `%name = %|epoch?{%{epoch}:}|%version-%release:%disttag` to package provides,
and `%name-%version-%release:%disttag.%arch.rpm` for package filename.
Package format for `dbiFindByLabelArch()` to match: `name[-[epoch:]version[-release]][:disttag][.arch]`.
@Conan-Kudo @ignatenkobrain @pmatilai @ffesti are you agree with that? If you are then I will write the code to PR.
--
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/rpm-software-management/rpm/issues/589#issuecomment-438750965
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rpm.org/pipermail/rpm-maint/attachments/20181114/957c9439/attachment.html>
More information about the Rpm-maint
mailing list