From: Vitaly Ostanin <vyt@vzljot.ru>
To: devel@altlinux.ru
Subject: [devel] Re: new alt-entities
Date: Fri, 29 Nov 2002 17:00:05 +0300
Message-ID: <20021129170005.5fbb5d40.vyt@vzljot.ru> (raw)
In-Reply-To: <20021129123442.GB27321@vcserver.mivlgu.internal>
[-- Attachment #1: Type: text/plain, Size: 1140 bytes --]
On Fri, 29 Nov 2002 15:34:42 +0300
Sergey Vlasov <vsu@altlinux.ru> wrote:
<skipped/>
> > > А можно сделать так, чтобы ничего специально делать не
> > > пришлось?
> >
> > Не знаю :) Я не умею указать в спеке, что при обновлении не
> > нужно выполнять postun из предыдущей сборки пакета. При
> > обновлении следующих сборок ничего специально не надо будет
> > делать.
>
> Можно добавить %triggerpostun, который будет подчищать обломки
> за старыми версиями. Например, мне так пришлось делать в
> пакетах ispell-ru-lebedev, ispell-ru-rk. (Т.е. сначало
> выполняется %post от нового пакета, потом%postun от старого,
> который все портит, а потом %triggerpostun от нового, который
> должен восстановить испорченное.)
Сделал %triggerpostun, залил
alt-entities-0.2-alt2.src.rpm
Прошу прощения, эту версию я залил дважды (в первом варианте
был cut-n-paste в changelog).
Собственно, я читал про этот макрос в
/usr/share/doc/rpm-4.0.4/manual/triggers
, но не сразу понял, как его использовать. Плохо я воспринимаю
доки в такой разметке... :(
--
Regards, Vyt
mailto: vyt@vzljot.ru
JID: vyt@vzljot.ru
[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]
next prev parent reply other threads:[~2002-11-29 14:00 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-11-28 18:00 [devel] " Vitaly Ostanin
2002-11-28 18:16 ` Dmitry V. Levin
2002-11-29 10:59 ` [devel] " Vitaly Ostanin
2002-11-29 12:34 ` Sergey Vlasov
2002-11-29 14:00 ` Vitaly Ostanin [this message]
2002-11-28 22:24 ` Mikhail Zabaluev
2002-11-29 10:55 ` Vitaly Ostanin
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=20021129170005.5fbb5d40.vyt@vzljot.ru \
--to=vyt@vzljot.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