From: "Dmitry V. Levin" <ldv@altlinux.org> To: ALT Devel discussion list <devel@lists.altlinux.org> Subject: [devel] Q: duplicate gir/typelib self-provides Date: Wed, 11 Nov 2020 19:00:30 +0300 Message-ID: <20201111160030.GA9029@altlinux.org> (raw) Hi, У нас в репозитории обнаружилось несколько пакетов, которые содержат сразу 2 разные версии одного и того же gir(...)/typelib(...) в Provides. Предполагаю, что во всех случаях это ошибки, поскольку сравнения версий в rpm работают не так, как ожидают люди, когда у пакета больше одной версии. Кто-нибудь знает, зачем это было сделано? $ pkglist-query '[%{PROVIDENAME} %{NAME} %|PROVIDEFLAGS?{%{PROVIDEFLAGS:depflags}%{PROVIDEVERSION}}:{}|\n]' \ Sisyphus/{x86_64,noarch}/base.bloat/pkglist.classic |\ sed -rn -e 's/ \+$//' -e 's/^((gir|typelib)\(([^ ]+)) ([^ ]+) ([^ ]+)$/\5 \4 \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: libcogl-gir-devel gir(Cogl) =1.0 libcogl-gir-devel gir(Cogl) =2.0 libcogl-gir-devel gir(CoglPango) =1.0 libcogl-gir-devel gir(CoglPango) =2.0 libcogl-gir typelib(Cogl) =1.0 libcogl-gir typelib(Cogl) =2.0 libcogl-gir typelib(CoglPango) =1.0 libcogl-gir typelib(CoglPango) =2.0 libfolks-gir typelib(Folks) =0.14 libfolks-gir typelib(Folks) =0.6 -- ldv
next reply other threads:[~2020-11-11 16:00 UTC|newest] Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top 2020-11-11 16:00 Dmitry V. Levin [this message] 2020-11-11 16:45 ` Yuri Sedunov 2020-11-11 16:57 ` Alexey Gladkov 2020-11-11 17:20 ` Yuri Sedunov 2020-11-12 7:57 ` Sergey V Turchin 2020-11-23 17:01 ` [devel] Q: duplicate versioned typelib provides Dmitry V. Levin 2020-11-23 18:22 ` Vladimir Didenko
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=20201111160030.GA9029@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