ALT Linux Team development discussions
 help / color / mirror / Atom feed
From: Grigory Milev <week@altlinux.ru>
To: devel@altlinux.ru
Subject: [devel] rpm requires
Date: 10 Dec 2001 16:27:13 +0200
Message-ID: <877krvp2v2.fsf@pc349.belcaf.minsk.by> (raw)

Замечено несколько неприятных вещей, связанных с поиском 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.



             reply	other threads:[~2001-12-10 14:27 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-12-10 14:27 Grigory Milev [this message]
2001-12-10 15:03 ` Dmitry V. Levin

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=877krvp2v2.fsf@pc349.belcaf.minsk.by \
    --to=week@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