From: Victor V Ismakaev <ivv@altlinux.ru> To: devel@altlinux.ru Subject: Re: [devel] Conflicts, Provides, Obsolete question Date: Tue, 16 Mar 2004 11:51:37 +0500 Message-ID: <200403161151.37755.ivv@altlinux.ru> (raw) In-Reply-To: <20040316122018.30e31b93.murygin@altlinux.ru> Вторник 16 Март 2004 15:20, Alex Murygin написал: > On Tue, 16 Mar 2004 03:32:27 +0500 > > "Victor V Ismakaev" wrote: > > Вторник 16 Март 2004 01:57, Alex Murygin написал: > > > День добрый > > > > > > Подскажите пожалуйста в каких случаях надо применять Conflicts, > > > Provides, Obsolete? > > > > > > Например есть пакет xxx. В новой версии появилась разбивка на > > > xxx-full > > > xxx-1prop > > > xxx-2prop > > > Какие из этих тегов надо указывать? > > > Причем должен быть установлен только один из этих пакетов. > > > > > > Насколько я понял надо > > > Provides: xxx > > > Conflicts: xxx > > > > > > Спасибо. > > > > Может так: > > Provides: xxx > > Obsoletes: xxx <= xxx-version > > > > %package xxx-1prop > > Conflicts: xxx-2prop > > > > %package xxx-2prop > > Conflicts: xxx-1prop > > > > А для -full требуется уточнение : это оттдельный пакет ,который не > > может сосуществовать с -1prop -2prop или виртуальный,который > > вытягивает их двоих. > > Нет -full это отдельный пакет. > > Насколько я понял нужно вот так. > %package xxx-full > Provides: xxx > Obsoletes: xxx <= xxx-version > Conflicts: xxx-1prop, xxx-2prop > > %package xxx-1prop > Provides: xxx > Obsoletes: xxx <= xxx-version > Conflicts: xxx-full, xxx-2prop > > %package xxx-2prop > Provides: xxx > Obsoletes: xxx <= xxx-version > Conflicts: xxx-full, xxx-1prop Вроде так. > > И еще в тему. > Есть стардикт и куча пакетов со словарями. Формат словарей меняется > не так часто как версии стардикта. Можно ли в таком случае поступить > таким образом. > > %package stardict-dict1 > Requires: stardict-dict = N > > %package stardict-dict2 > Requires: stardict-dict = N Тогда уж лучше просто Requires: stardict-dict без версии, или >= N. Иначе придется пересобирать stardict-dictX каждый раз при смене версии-релиза stardict. > %package stardict > Provides: stardict-dict = N > > Спасибо. -- С уважением Виктор В Исмакаев ivv@altlinux.ru
next prev parent reply other threads:[~2004-03-16 6:51 UTC|newest] Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top 2004-03-15 20:57 Alex Murygin 2004-03-15 22:32 ` Victor V Ismakaev 2004-03-16 10:20 ` Alex Murygin 2004-03-16 6:51 ` Victor V Ismakaev [this message] 2004-03-16 12:56 ` Alex Murygin
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=200403161151.37755.ivv@altlinux.ru \ --to=ivv@altlinux.ru \ --cc=devel@altlinux.ru \ /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