On Wed, 13 Jul 2016 18:12:35 +0300
Andrei Borzenkov
13.07.2016 18:02, Jan Engelhardt пишет:
On Wednesday 2016-07-13 15:40, Miquel Sabaté Solà wrote:
Around November 2016 the containers team will be publishing new packages to our customers. During this last sprint we have been polishing new packages but we would like to get some feedback from packagers. The packages are kubernetes, etcd and flannel; and they can all be found in the Virtualization:containers project in OBS [1]. Any kind of feedback will be helpful and greatly appreciated.
kubernetes.spec: # if node is installed with node, version and release must be the same Conflicts: kubernetes-node < %{version}-%{release} Conflicts: kubernetes-node > %{version}-%{release}
Ugh. Just make it a Requires: kubernetes-node = %version-%release
There is subtle difference. Requires forces required package to be installed too. Conflicts says "*if* other package is installed, it must be that and that version", but does not force installation of other package.
I do not know context well enough, but please consider what is more appropriate here.
In this case it is a bit tricky as there is basically three packages: - master - client - node node and master have Requires: kubernetes-client = %{version}-%{release} but master and node do not require each other. But to be honest I do not see way how solver can have different version of master and node, when both of them require exactly same version of client. So from my POV all conflicts can be removed as there is no way how node and master can have different version unless client can be installed in multiple versions, which I think cannot happen now with libzypp without multiversion flag. Josef -- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-packaging+owner@opensuse.org