From: "Anton V. Denisov" <fire@kgpu.kamchatka.ru>
To: <devel@altlinux.org>
Subject: [devel] Q: %clean usage
Date: Sat, 15 Feb 2003 10:46:52 +1200
Message-ID: <00a701c2d47a$f80215a0$400aa8c0@434ntws> (raw)
Приветствую всех.
Процитирую немного /usr/share/doc/rpm-4.0.4/README.ALT-ru_RU.KOI8-R:
"Перед выполнением секции %install и по окончании выполнения секции
%clean RPM автоматически очищает BuildRoot с помощью макроса
%clean_buildroot.
...
Секция %clean вообще может (и должна) быть опущена, если в ней не
содержится ничего, кроме этого ``rm''."
Получается, что если секция %clean будет опущена, то не будет выполнятся
первая часть из процитированного. Например, в в rpm-4.0.4-alt11 у меня
указанной автоматической очистки BuildRoot не происходит, если секция
%clean не присутствует. Не очищаются ни %buildroot, ни
%_builddir/%name-%version
Если вставить в спек пустую секцию %clean, то указанная очистка будет
происходить?
С уважением, Антон В. Денисов.
next reply other threads:[~2003-02-14 22:46 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-02-14 22:46 Anton V. Denisov [this message]
2003-02-15 21:49 ` 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='00a701c2d47a$f80215a0$400aa8c0@434ntws' \
--to=fire@kgpu.kamchatka.ru \
--cc=devel@altlinux.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