ALT Linux Team development discussions
 help / color / mirror / Atom feed
From: "Dmitry V. Levin" <ldv@altlinux.org>
To: ALT Devel discussion list <devel@lists.altlinux.org>
Subject: [devel] Q: duplicate tcl() self-provides
Date: Wed, 11 Nov 2020 19:09:31 +0300
Message-ID: <20201111160931.GB9029@altlinux.org> (raw)

Hi,

У нас в репозитории обнаружилось несколько пакетов, которые содержат сразу
2 разные версии одного и того же tcl(...) в Provides.  Предполагаю, что во
всех случаях это ошибки, поскольку сравнения версий в rpm работают не так,
как ожидают люди, когда у пакета больше одной версии.  Кто-нибудь знает,
зачем это было сделано?

$ pkglist-query '[%{PROVIDENAME} %{NAME} %{PROVIDEFLAGS:depflags}%{PROVIDEVERSION}\n]' \
  Sisyphus/{x86_64,noarch}/base.bloat/pkglist.classic |\
  sed -rn -e 's/ \+$//' -e 's/^(tcl\(([^ ]+)) ([^ ]+) ([^ ]+)$/\4 \3 \1/p' |\
  sort -k2 |\
  uniq -D -f1 |\
  sed -rn -e 's/^([^ ]+) ([^ ]+) ([^ ]+)$/\2 \3 \1/p' |\
  sort -k2,2 |\
  column -t -N 'Package:,Provide Name:,Provide Version:'

Package:  Provide Name:        Provide Version:
tcllib    tcl(doctools::idx)   =1.1
tcllib    tcl(doctools::idx)   =2
tcllib    tcl(doctools::toc)   =1.2
tcllib    tcl(doctools::toc)   =2
tcl       tcl(http)            =1.0
tcl       tcl(http)            =2.9.1
tklib     tcl(ico)             =0.3.2
tklib     tcl(ico)             =1.1
tcllib    tcl(math::bigfloat)  =1.2.2
tcllib    tcl(math::bigfloat)  =2.0.2
tcllib    tcl(md5)             =1.4.4
tcllib    tcl(md5)             =2.0.7
tcllib    tcl(sha1)            =1.1.1
tcllib    tcl(sha1)            =2.0.4
tcllib    tcl(snit)            =1.4.2
tcllib    tcl(snit)            =2.3.2
tcllib    tcl(struct)          =1.4
tcllib    tcl(struct)          =2.1
tcllib    tcl(struct::graph)   =1.2.1
tcllib    tcl(struct::graph)   =2.4.3
tcllib    tcl(struct::matrix)  =1.2.2
tcllib    tcl(struct::matrix)  =2.0.4
tcllib    tcl(struct::tree)    =1.2.2
tcllib    tcl(struct::tree)    =2.1.2
tcllib    tcl(wip)             =1.2
tcllib    tcl(wip)             =2.2


-- 
ldv


             reply	other threads:[~2020-11-11 16:09 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-11-11 16:09 Dmitry V. Levin [this message]
2020-11-11 16:38 ` Vladimir D. Seleznev

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=20201111160931.GB9029@altlinux.org \
    --to=ldv@altlinux.org \
    --cc=devel@lists.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