From: "Антон Мидюков" <midyukov-anton@ya.ru> To: ALT Devel discussion list <devel@lists.altlinux.org> Subject: [devel] Вопрос по rpm-build-gir Date: Wed, 15 Mar 2017 16:13:39 +0700 Message-ID: <e079bb8a-300a-1393-eb76-4e6f026e1c13@ya.ru> (raw) Здравствуйте! rpm-build-gir при сборке находит для пакетов зависимости типа typelib(чего-то_там), например, typelib(Gtk) без указания версии. В результате может возникнуть весьма неприятная ситуация. Пакет на самом деле зависит от typelib(Gtk) = 3.0, т.е. от пакета libgtk+3-gir, а в системе установлен libgtk+2-gir, предоставляющий provides typelib(Gtk) = 2.0. При сборке зависимость была найдена как typelib(Gtk). В результате, если в системе уже установлен libgtk+2-gir, то при установке пакета, libgtk+3-gir установлен не будет, что приведёт к тому, что пакет будет нерабочим. Вопрос, что с этим делать? Таких пакетов в репозитории достаточно много, например system-config-printer. Нельзя ли научить rpm-build-gir при сборке пакета определять зависимости с указанием версии, типа typelib(Gtk) = 3.0 ? Или майнтейнеру нужно явную зависимость ставить в спеке? -- С уважением Антон Мидюков <antohami@altlinux.org>
next reply other threads:[~2017-03-15 9:13 UTC|newest] Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top 2017-03-15 9:13 Антон Мидюков [this message] 2017-03-16 4:49 ` Hihin Ruslan 2017-03-16 5:08 ` Антон Мидюков 2017-03-16 11:20 ` Yuri Sedunov
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=e079bb8a-300a-1393-eb76-4e6f026e1c13@ya.ru \ --to=midyukov-anton@ya.ru \ --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