@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_______________________________________________
Rpm-maint mailing list
[email protected]
http://lists.rpm.org/mailman/listinfo/rpm-maint