From: "Dmitry V. Levin" <ldv@fandra.org>
To: devel@linux.iplabs.ru
Subject: [devel] Re: [devel] Re: [devel] несколько вопросов
Date: Thu, 28 Dec 2000 19:35:29 +0300
Message-ID: <20001228193529.A2359@LDV.fandra.org> (raw)
In-Reply-To: <20001227095035.A6907@LDV.fandra.org>; from ldv@fandra.org on Wed, Dec 27, 2000 at 09:50:35AM +0300
[-- Attachment #1: Type: text/plain, Size: 1479 bytes --]
On Wed, Dec 27, 2000 at 09:50:35AM +0300, Dmitry V. Levin wrote:
> > > > 2. В Packaging howto в пункте 3.1 написано что %clean в принципе
> > > можно не
> > > > использовать но кто тогда будет удалять из каталога
> > > > /usr/src/RPM/BUILD/ ?
> > >
> > > Если %clean не использовать, это равносильно тому, что она есть, но
> > > пустая. Так как в конце любой %clean выполняется %clean_buildroot, то
> > > мы
> > > получаем, что %clean_buildroot выполняется, даже если %clean не указана
> > > вовсе, что и требовалось доказать. :)
> > это мне понятно и из хауту, но я имел ввиду очистку builddir или его не
> > надо после сборки чистить?
>
> В зависимости от необходимости, на выбор:
> rpm --rmsource spec-файл
> rpm --rmsource --clean spec-файл
> rpm -C spec-файл
>
> См. тж. /usr/lib/rpm/rpmpopt на тему того, какие еще есть сокращения.
Все правильно, но я от недосыпа ответил на другой вопрос.
Конечно, всякая сборка, результатом которой являются пакеты для установки,
после этого автоматически выполняет секцию %clean.
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 its friends are.
[-- Attachment #2: Type: application/pgp-signature, Size: 232 bytes --]
next prev parent reply other threads:[~2000-12-28 16:35 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2000-12-27 6:04 [devel] ÎÅÓËÏÌØËÏ ×ÏÐÒÏÓÏ× Kostya Timoshenko
2000-12-27 6:29 ` [devel] Re: [devel] несколько вопросов Dmitry V. Levin
2000-12-27 6:37 ` Kostya Timoshenko
2000-12-27 6:50 ` [devel] " Dmitry V. Levin
2000-12-28 16:35 ` Dmitry V. Levin [this message]
2000-12-27 9:38 ` Kostya Timoshenko
2000-12-28 12:44 ` Aleksey Novodvorsky
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=20001228193529.A2359@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