On 06/11/2013 08:44 PM, Thorsten Leemhuis wrote: > Hi! > > Me again with another comment: > > On 11.06.2013 16:44, harald@xxxxxxxxxx wrote: >> From: Harald Hoyer <harald@xxxxxxxxxx> >> [...] >> -Provides: kernel-%{_target_cpu} = %{rpmversion}-%{pkg_release}%{?1:.%{1}}\ >> +Provides: kernel-%{_target_cpu} = %{rpmversion}-%{pkg_release}%{?1:-%{1}}\ > > Is it really wise to use a "-" here? You can not have a "-" in either > %{version} or %{release}, to afaics make sure everything can parse a rpm > nvr from right to left: %{version} is between second rightmost dash and > the rightmost dash; %{release} follows the rightmost dash. > > I'm sure you tested it, so I assume rpm doesn't enforce this rule to > virtual provides. But something tells me this might create more problems > then is solves. Did anyone ask the rpm and yum guys if this is a good idea? > > Cu > knurd > Talked to the rpm guys, and yes, it's a problem. So, any idea for a good separation char here? _______________________________________________ kernel mailing list kernel@xxxxxxxxxxxxxxxxxxxxxxx https://admin.fedoraproject.org/mailman/listinfo/kernel