* [devel] remove 'Requires' dependency @ 2006-05-13 22:44 Andrey Khavryuchenko 2006-05-14 4:33 ` Alex V. Myltsev 0 siblings, 1 reply; 5+ messages in thread From: Andrey Khavryuchenko @ 2006-05-13 22:44 UTC (permalink / raw) To: devel Hi! Напомните как убрать лишнюю Requires-зависимость в спеке? Контекст: собираю python-modules-Scientific (http://starship.python.net/~hinsen/ScientificPython/) В его составе есть модуль Scientific.Visualization.PyMOL который используется только из программы визуализации PyMol и, естественно, содержит проверку на наличие модуля pymol в списке импортированных. В процессе сборки модуля вся логика скрипта, конечно же, не выполняется. И всплывает лишняя зависимость вида $ rpm -i RPMS/pentium4/python-module-Scientific-2.4.11-alt1.pentium4.rpm --test ошибка: неудовлетворенные зависимости: python2.4(pymol) нужен для python-module-Scientific-2.4.11-alt1 Пока решил простым удалением модуля из пакета, но это не выход, т.к. у _меня_ pymol установлен и, кроме прочих применений, хотелось бы использовать Scientific и из pymol Заранее спасибо. -- Andrey V Khavryuchenko http://www.kds.com.ua/ Silver Bullet Software Solutions http://www.livejournal.com/~akhavr ^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [devel] remove 'Requires' dependency 2006-05-13 22:44 [devel] remove 'Requires' dependency Andrey Khavryuchenko @ 2006-05-14 4:33 ` Alex V. Myltsev 2006-05-14 8:07 ` Andrey Khavryuchenko 0 siblings, 1 reply; 5+ messages in thread From: Alex V. Myltsev @ 2006-05-14 4:33 UTC (permalink / raw) To: ALT Devel discussion list Andrey Khavryuchenko wrote: > Напомните как убрать лишнюю Requires-зависимость в спеке? > python2.4(pymol) нужен для python-module-Scientific-2.4.11-alt1 %add_python_req_skip pymol См. также /usr/share/doc/rpm-build-python-*/policy/5-Python_FAQ.txt. ^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [devel] remove 'Requires' dependency 2006-05-14 4:33 ` Alex V. Myltsev @ 2006-05-14 8:07 ` Andrey Khavryuchenko 2006-05-14 9:07 ` Andrey Rahmatullin 0 siblings, 1 reply; 5+ messages in thread From: Andrey Khavryuchenko @ 2006-05-14 8:07 UTC (permalink / raw) To: devel Alex, "AVM" == Alex V Myltsev wrote: AVM> Andrey Khavryuchenko wrote: >> Напомните как убрать лишнюю Requires-зависимость в спеке? >> python2.4(pymol) нужен для python-module-Scientific-2.4.11-alt1 AVM> %add_python_req_skip pymol Спасибо, оно. AVM> См. также /usr/share/doc/rpm-build-python-*/policy/5-Python_FAQ.txt. Интересно, а это так и положено? ;) akhavr@netmaster ~/RPM $ rpm -ql rpm-build-python /etc/rpm/macros.d/python /usr/lib/pythonunknown/distutils/command/bdist_altrpm.py Вешать баг? -- Andrey V Khavryuchenko http://www.kds.com.ua/ Silver Bullet Software Solutions http://www.livejournal.com/~akhavr ^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [devel] remove 'Requires' dependency 2006-05-14 8:07 ` Andrey Khavryuchenko @ 2006-05-14 9:07 ` Andrey Rahmatullin 2006-05-14 17:04 ` Andrey Khavryuchenko 0 siblings, 1 reply; 5+ messages in thread From: Andrey Rahmatullin @ 2006-05-14 9:07 UTC (permalink / raw) To: devel, devel [-- Attachment #1: Type: text/plain, Size: 354 bytes --] On Sun, May 14, 2006 at 11:07:11AM +0300, Andrey Khavryuchenko wrote: > /usr/lib/pythonunknown/distutils/command/bdist_altrpm.py > Вешать баг? Вы про #8855? -- WBR, wRAR (ALT Linux Team) Powered by the ALT Linux fortune(8): > PPS: обнуление /etc/fstab в Мастере, без всяких сбоев > -- это что? :) Это hotplug. -- mithraen in community@ [-- Attachment #2: Digital signature --] [-- Type: application/pgp-signature, Size: 191 bytes --] ^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [devel] remove 'Requires' dependency 2006-05-14 9:07 ` Andrey Rahmatullin @ 2006-05-14 17:04 ` Andrey Khavryuchenko 0 siblings, 0 replies; 5+ messages in thread From: Andrey Khavryuchenko @ 2006-05-14 17:04 UTC (permalink / raw) To: devel Andrey, "AR" == Andrey Rahmatullin wrote: AR> On Sun, May 14, 2006 at 11:07:11AM +0300, Andrey Khavryuchenko wrote: >> /usr/lib/pythonunknown/distutils/command/bdist_altrpm.py >> Вешать баг? AR> Вы про #8855? Именно. -- Andrey V Khavryuchenko http://www.kds.com.ua/ Silver Bullet Software Solutions http://www.livejournal.com/~akhavr ^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2006-05-14 17:04 UTC | newest] Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed) -- links below jump to the message on this page -- 2006-05-13 22:44 [devel] remove 'Requires' dependency Andrey Khavryuchenko 2006-05-14 4:33 ` Alex V. Myltsev 2006-05-14 8:07 ` Andrey Khavryuchenko 2006-05-14 9:07 ` Andrey Rahmatullin 2006-05-14 17:04 ` Andrey Khavryuchenko
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