ALT Linux Team development discussions
 help / color / mirror / Atom feed
From: Igor Vlasenko <vlasenko@imath.kiev.ua>
To: ALT Linux Team development discussions <devel@lists.altlinux.org>
Cc: ldv@altlinux.org
Subject: Re: [devel] Q: duplicate osgi() self-provides
Date: Thu, 12 Nov 2020 14:01:40 +0200
Message-ID: <20201112120140.GA2021@hydra.imath.kiev.ua> (raw)
In-Reply-To: <20201111163426.GF9029@altlinux.org>

On Wed, Nov 11, 2020 at 07:34:26PM +0300, Dmitry V. Levin wrote:
> Hi,
> 
> У нас в репозитории обнаружилось 76 пакетов, которые содержат сразу две
> разных версии одного и того же osgi(...) в Provides.
> Предполагаю, что во всех случаях это ошибки, поскольку сравнения версий в
> rpm работают не так, как ожидают люди, когда у пакета больше одной версии.

Все это нужно для работы механизма зависимостей osgi.
Там всегда явное указание версий в requires и диапазоны в provides.
Та же ситуация, что с mono и qml.

На примере google-guice, его спек файл (MANIFEST.MF)

Manifest-Version: 1.0
Bundle-Description: Guice is a lightweight dependency injection framew
 ork for Java 6 and above
Automatic-Module-Name: com.google.guice
Bundle-License: http://www.apache.org/licenses/LICENSE-2.0.txt
Bundle-SymbolicName: com.google.inject
JavaPackages-Version: 4.2.2
Built-By: builder
Bundle-ManifestVersion: 2
Bundle-RequiredExecutionEnvironment: JavaSE-1.6
JavaPackages-ArtifactId: guice
Bundle-Copyright: Copyright (C) 2006 Google Inc.
Bundle-DocURL: https://github.com/google/guice
Bundle-Vendor: Google, Inc.
Import-Package: com.google.common.base;version="[25.0,26)",com.google.
 common.cache;version="[25.0,26)",com.google.common.collect;version="[
 25.0,26)",com.google.common.primitives;version="[25.0,26)",javax.inje
 ct;version="[1.0,2)",net.sf.cglib.core;version="[3.2,4)";resolution:=
 optional,net.sf.cglib.proxy;version="[3.2,4)";resolution:=optional,ne
 t.sf.cglib.reflect;version="[3.2,4)";resolution:=optional,org.aopalli
 ance.intercept,org.objectweb.asm;version="[7.0,8)";resolution:=option
 al
Require-Capability: osgi.ee;filter:="(&(osgi.ee=JavaSE)(version=1.8))"
Eclipse-ExtensibleAPI: true
Export-Package: com.google.inject;version="1.4",com.google.inject.bind
 er;version="1.4",com.google.inject.matcher;version="1.4",com.google.i
 nject.multibindings;version="1.4",com.google.inject.name;version="1.4
 ",com.google.inject.spi;version="1.4",com.google.inject.util;version=
 "1.4"
Bundle-Name: guice
Bundle-Version: 4.2.2
JavaPackages-GroupId: com.google.inject
Created-By: Apache Maven 3.5.4
Build-Jdk: 1.8.0_212



-- 

I V


  reply	other threads:[~2020-11-12 12:01 UTC|newest]

Thread overview: 23+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-11-11 16:34 Dmitry V. Levin
2020-11-12 12:01 ` Igor Vlasenko [this message]
2020-11-12 13:00   ` Dmitry V. Levin
2020-11-12 14:26     ` Sergey V Turchin
2020-11-12 14:52       ` [devel] Q: duplicate qml() self-provides Dmitry V. Levin
2020-11-12 14:59         ` Dmitry V. Levin
2020-11-12 15:21           ` Dmitry V. Levin
2020-11-12 15:28             ` Dmitry V. Levin
2020-11-13  8:18             ` Sergey V Turchin
2020-11-12 15:01         ` Anton Farygin
2020-11-12 15:09           ` Dmitry V. Levin
2020-11-12 15:17             ` Anton Farygin
2020-11-12 15:11           ` Aleksei Nikiforov
2020-11-12 15:06         ` Aleksei Nikiforov
2020-11-12 15:12           ` Dmitry V. Levin
2020-12-08  0:54             ` [devel] Versioned interface provides syntax (Was: Q: duplicate qml() self-provides) Vladimir D. Seleznev
2020-11-13  8:23           ` [devel] Q: duplicate qml() self-provides Sergey V Turchin
2020-11-12 15:24         ` Alexey Gladkov
2020-11-12 15:28           ` Alexey Gladkov
2020-11-13  8:39           ` Sergey V Turchin
2020-11-13  8:20         ` Sergey V Turchin
2020-11-12 18:37     ` [devel] Q: duplicate osgi() self-provides Vladimir D. Seleznev
2020-11-13  8:40       ` Sergey V Turchin

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20201112120140.GA2021@hydra.imath.kiev.ua \
    --to=vlasenko@imath.kiev.ua \
    --cc=devel@lists.altlinux.org \
    --cc=ldv@altlinux.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

ALT Linux Team development discussions

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/devel/0 devel/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 devel devel/ http://lore.altlinux.org/devel \
		devel@altlinux.org devel@altlinux.ru devel@lists.altlinux.org devel@lists.altlinux.ru devel@linux.iplabs.ru mandrake-russian@linuxteam.iplabs.ru sisyphus@linuxteam.iplabs.ru
	public-inbox-index devel

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://lore.altlinux.org/org.altlinux.lists.devel


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git