[Fedora-packaging] Summary/Minutes from today's FPC Meeting (2013-10-07 16:00 - 17:35 UTC) (unofficial pre-meeting started at 15:20 UTC)
Michael Schwendt
mschwendt at gmail.com
Mon Nov 11 12:47:01 UTC 2013
On Mon, 11 Nov 2013 08:45:33 +0100, Marcela Mašláňová wrote:
> On 07/11/13 19:39, James Antill wrote:
> > * dots in version portion (abadger1999, 16:52:28)
> > * Agreed that the version portion of scl names must include dots.
> > (+1:5, 0:1, -1:0) (abadger1999, 17:00:35)
> I'm sure I mentioned dots will surely will be a problem for rpm, yum,
> dnf, createrepo or something else in this area.
Not "surely", but extra dots and dashes have been a problem several years ago.
If parsing a full NEVR backwards, it is not a problem, because there can only be
two '-' characters in -%{version}-%{release}.%{arch}.rpm and that makes it
possible to determine %{name} without getting confused by number of dots and dashes.
> That's probably the reason for guidelines about Compat packages:
> https://fedoraproject.org/wiki/Packaging:NamingGuidelines?rd=Packaging/NamingGuidelines#Multiple_packages_with_the_same_base_name
>
It says "optionally removing the dot from the version".
Also:
https://fedoraproject.org/wiki/Packaging:NamingGuidelines#Separators
|
| Version numbers used in compat libraries do not need to omit
| the dot '.' or change it into a dash '-'.
# rpm -qa --qf %{name}\\n|grep \\.
tomcat-servlet-3.0-api
java-1.7.0-openjdk-headless
java-1.7.0-openjdk
More information about the packaging
mailing list