From: Andrei Bulava <abulava@altlinux.ru>
To: ALT Devel discussion list <devel@altlinux.ru>
Subject: Re: [devel] Как избавиться от лишней зависимости в пакете
Date: Fri, 25 Feb 2005 19:15:27 +0200
Message-ID: <421F5D2F.6050200@altlinux.ru> (raw)
In-Reply-To: <20050224141550.GA21099@mail.gu.net>
Victor Forsyuk wrote:
> On Thu, Feb 24, 2005 at 04:59:35PM +0300, vserge wrote:
>
>>>>во всех файла этого проекта присутствует строчка
>>>> egrep -ri "/bin/env" ../BUILD/SOAP-Lite-0.60/
>>>
>>>%prep
>>>%setup ...
>>>...
>>>fgrep -lZr '#!/bin/env perl' . | xargs -r0 %__subst 's,#!/bin/env
>>>perl,#!/usr/bin/perl' --
>>
>>Я это предполагал, но думал, что есть способ какой-то друго
>
>
> Есть и другой способ. Ну вот для примера, то что оказалось под рукой -
> пакет spamassassin под ASP (помнится, встречал такое и в mdk'шных):
>
> В spec-файле указываем:
>
> Source99: filter-requires-spamassassin.sh
>
> %define __find_requires %{SOURCE99}
>
> Упомянутый скрипт тривиально прост:
>
> #!/bin/sh
> /usr/lib/rpm/find-requires $* | grep -v 'perl(Net::SMTP::Server' | grep -v 'perl(MIME::Body'
Да-да-да (такое в mrtg разлива mdk тоже присутствует)! В devel@ уже
давно обсуждалась идея более стандартизованной (и описанной в
документации разработчика) фильтрации зависимостей, причём именно для perl:
http://lists.altlinux.ru/pipermail/devel/2004-May/011043.html (правда,
исходное сообщение at@ побилось в pipermail, но его можно понять по
ответам).
Быть или не быть, в конце концов? Моя практика уже многократно доказала
необходимость фильтрации найденных зависимостей perl :-\
--
// AB1002-UANIC
next prev parent reply other threads:[~2005-02-25 17:15 UTC|newest]
Thread overview: 20+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-02-24 13:50 vserge
2005-02-24 13:56 ` Alexey I. Froloff
2005-02-24 13:59 ` vserge
2005-02-24 14:15 ` Victor Forsyuk
2005-02-25 17:15 ` Andrei Bulava [this message]
2005-02-28 13:08 ` Victor Forsyuk
2005-03-04 22:15 ` [devel] " Alexey Tourbin
2005-03-04 22:59 ` [devel] Re: ëÁË ÉÚÂÁ×ÉÔØÓÑ ÏÔ ÌÉÛÎÅÊ ÚÁ×ÉÓÉÍÏÓÔÉ × ÐÁËÅÔÅ Volkov Serge
2005-03-05 13:35 ` [devel] Re: Как избавиться от лишней зависимости в пакете Victor Forsyuk
2005-03-05 13:38 ` Andrey Orlov
2005-02-24 14:44 ` [devel] " vserge
2005-02-24 15:05 ` Alexey Gladkov
2005-03-04 22:11 ` [devel] " Alexey Tourbin
2005-03-04 22:58 ` [devel] Re: ëÁË ÉÚÂÁ×ÉÔØÓÑ ÏÔ ÌÉÛÎÅÊ ÚÁ×ÉÓÉÍÏÓÔÉ × ÐÁËÅÔÅ Volkov Serge
2005-03-04 23:59 ` [devel] Re: лБЛ ЙЪВБЧЙФШУС ПФ МЙЫОЕК ЪБЧЙУЙНПУФЙ Ч РБЛЕФЕ Alexey Tourbin
2005-03-05 0:02 ` [devel] Re: Как избавиться от лишней зависимости в пакете Dmitry V. Levin
2005-03-05 10:17 ` vserge
2005-07-15 4:03 ` [devel] UPE Alexey Tourbin
2005-02-24 15:05 ` [devel] Как избавиться от лишней зависимости в пакете Denis Klykvin
2005-02-24 15:31 ` vserge
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=421F5D2F.6050200@altlinux.ru \
--to=abulava@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