From: "Dmitry V. Levin" <ldv@fandra.org> To: devel@linux.iplabs.ru Subject: Re: [devel] autodeps Date: Sat, 25 Nov 2000 19:00:18 +0300 Message-ID: <20001125190018.A1202@LDV.fandra.org> (raw) In-Reply-To: <20001125000746.A21245@localhost.localdomain>; from mookid@sigent.ru on Sat, Nov 25, 2000 at 12:07:46AM +0300 [-- Attachment #1: Type: text/plain, Size: 1985 bytes --] Greetings! On Sat, Nov 25, 2000 at 12:07:46AM +0300, Mikhail Zabaluev wrote: > Обнаружил, в чем проблема с 'AutoReqProv: perl' в rpm. Скрипт > find-provides слишком полагается на суждение программы file о том, что > есть perl script. Та, на самом деле, почти никогда не скажет такого о > модуле, который не начинается со строки типа '#!/usr/bin/perl'. > file-3.33-1mdk вообще считает многие модули какими-то файлами для > palmtop'а Newton, даже не текстовыми! Пришлось отучать. А не станет ли теперь perl-файлов больше, чем есть на самом деле? Слабо file-3.33 зафиксить? :) > Прилагаю патч для find-{provides,requires} и снова perl.prov - там нужно > было добавить содержимое RPM_BUILD_ROOT ко всем путям поиска. > > Следует заметить, что скриптам perl.prov и perl.req лучше давать весь > список файлов зараз - так _намного_ быстрее. А как быть с именами файлов, содержащими символы из IFS? > Еще есть предложения: > - добавить еще один псевдоним для значения по умолчанию Auto{Req,Prov} - > 'default', чтобы можно было писать 'AutoReqProv: default, perl' > или 'AutoReqProv: default, noshell'; Написано ведь в /usr/share/doc/rpm-3.0.6/README.ipl, строка 52: + yes, true - enable lookup using default methods (see rcfiles for details). Пример использования (ncurses.spec): AutoReq: yes, noshell Добавить еще один синоним? :) > - реализовать подстановку переменной окружения RPM_PERL_LIB_PATH для > perl.prov из макроса. А так эта переменная до скрипта не доходит? Regards, Dmitry +-------------------------------------------------------------------------+ Dmitry V. Levin mailto://ldv@fandra.org Software Engineer PGP pubkey http://www.fandra.org/users/ldv/pgpkeys.html IPLabs Linux Team http://linux.iplabs.ru Fandra Project http://www.fandra.org +-------------------------------------------------------------------------+ UNIX is user friendly. It's just very selective about who it's friends are. [-- Attachment #2: Type: application/pgp-signature, Size: 232 bytes --]
next prev parent reply other threads:[~2000-11-25 16:00 UTC|newest] Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top 2000-11-24 21:07 Mikhail Zabaluev 2000-11-25 16:00 ` Dmitry V. Levin [this message] 2000-11-25 18:18 ` Mikhail Zabaluev 2000-11-26 23:59 ` Dmitry V. Levin 2000-11-27 11:12 ` Mikhail Zabaluev
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=20001125190018.A1202@LDV.fandra.org \ --to=ldv@fandra.org \ --cc=devel@linux.iplabs.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