ALT Linux Team development discussions
 help / color / mirror / Atom feed
* [devel] rpm requires
@ 2001-12-10 14:27 Grigory Milev
  2001-12-10 15:03 ` Dmitry V. Levin
  0 siblings, 1 reply; 2+ messages in thread
From: Grigory Milev @ 2001-12-10 14:27 UTC (permalink / raw)
  To: devel

Замечено несколько неприятных вещей, связанных с поиском provides и requires:
        В requires заносятся все зависимости из скриптов, что приводит, в
некоторых случаях, к нежелательным зависимостям. Например:
        if [ -f /etc/sysconfig/apache ]; then
                ./etc/sysconfig/apache
        fi
Получаем зависимость пакета от /etc/sysconfig/apache.

        Так-же происходит поиск зависимостей в /usr/share/doc/packet-name. В
доках масса примеров скриптов, которые никто не правит на предмет правильности
путей, что приводит к зависимостям типа: /usr/local/samba/bin/smbmount.

        Как вариант решения, можно сделать макрос, в котором будут указываться
пути и/или файлы, от которых пакет не будет зависеть. И может быть имеет смысл
убрать docdir из путей поиска зависимостей.

+-------------------------------------------------------+
Grigory Milev	mailto://week@altlinux.ru
ALT Linux Team	http://www.altlinux.ru
PC Club owner	mailto://pcclub@tut.by
+-------------------------------------------------------+
Life too beautiful and interest... Don't worry, be happy.



^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2001-12-10 15:03 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-12-10 14:27 [devel] rpm requires Grigory Milev
2001-12-10 15:03 ` Dmitry V. Levin

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