ALT Linux Team development discussions
 help / color / mirror / Atom feed
From: at@turbinal.org
To: devel@altlinux.ru
Subject: [devel] restraining dependency on perl
Date: Fri, 11 Oct 2002 05:40:30 +0400
Message-ID: <20021011014030.GA16541@homestead.turbinal.org> (raw)

Предлагаю ограничить зависимость ключевых компонентов дистрибутива от
перла, по возможности сводя их к perl-base.

Примеры неправильных зависимостей:

1)
$ /usr/lib/rpm/perl.req~ /usr/lib/rpm/perl.prov
perl >= 1:5.6.0
perl(Safe.pm)
perl(strict.pm)
perl(vars.pm)
$

2) MySQL-server хочет перла, потому что
$ rpm -q --requires perl-DBD-mysql | grep ">="
perl >= 0:5.00400
$

Прежде всего нужно исправить скрипт, который генерирует неверные
зависимости.

--- /usr/lib/rpm/perl.req~	2002-10-11 05:18:25 +0400
+++ /usr/lib/rpm/perl.req	2002-10-11 05:18:49 +0400
@@ -141,7 +141,7 @@
 
       # statement requires a particular version of Perl
 
-      print "perl >= " . package_version($2, '%.5f') . "\n";
+      print "perl-base >= " . package_version($2, '%.5f') . "\n";
       next;
     }
     elsif (m/^\s*require[\s(]+([_A-Za-z][\w:']*)/) {



             reply	other threads:[~2002-10-11  1:40 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-10-11  1:40 at [this message]
2002-10-11 10:32 ` Dmitry V. Levin
2002-10-12  4:47   ` at
2002-10-12  7:34     ` Dmitry V. Levin
2002-10-19  1:09       ` at
2002-10-19 11:05         ` Dmitry V. Levin
2002-10-12  9:54     ` Alexey Morozov
2002-10-13 20:11       ` at

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=20021011014030.GA16541@homestead.turbinal.org \
    --to=at@turbinal.org \
    --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