Re: [PATCH] kernel.spec: let flavors/variants end with "-$flavor" in the uname

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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





[Index of Archives]     [Fedora General Discussion]     [Older Fedora Users Archive]     [Fedora Advisory Board]     [Fedora Security]     [Fedora Devel Java]     [Fedora Legacy]     [Fedora Desktop]     [ATA RAID]     [Fedora Marketing]     [Fedora Mentors]     [Fedora Package Announce]     [Fedora Package Review]     [Fedora Music]     [Fedora Packaging]     [Centos]     [Fedora SELinux]     [Coolkey]     [Yum Users]     [Tux]     [Yosemite News]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [USB]     [Asterisk PBX]

  Powered by Linux