[prev in list] [next in list] [prev in thread] [next in thread] 

List:       centos-virt
Subject:    Re: [CentOS-virt] CentOS 6 Virt SIG Xen 4.6 packages available in centos-virt-xen-testing
From:       Peter <peter () pajamian ! dhs ! org>
Date:       2016-02-10 18:49:15
Message-ID: 56BB862B.2040307 () pajamian ! dhs ! org
[Download RAW message or body]

On 11/02/16 06:07, George Dunlap wrote:
> BTW, we had a discussion about this particular idea at the Virt SIG
> meeting, and KB said that different naming of packages like this can
> cause dependency problems.  For example, a package depends on
> "xen-version >= $N" will fail because as far as rpm is concerned, you
> don't have package 'xen' installed at all.

You explicitly provide it:

Provides: xen-%{version}-%{release}

This has the added benefit that once "xen" is removed from the repo,
attempts to install "xen" will actually install "xen46".

I'm rather surprised that kb didn't know to do that.


Peter
_______________________________________________
CentOS-virt mailing list
CentOS-virt@centos.org
https://lists.centos.org/mailman/listinfo/centos-virt
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic