ALT Linux Team development discussions
 help / color / mirror / Atom feed
From: Alexey Rusakov <ktirf@altlinux.org>
To: devel@lists.altlinux.org
Subject: Re: [devel] [JT] Re: Загрузка мак?
Date: Thu, 21 Jun 2007 13:39:54 +0400
Message-ID: <20070621133954.170e5596@mission> (raw)
In-Reply-To: <467A42F6.3010503@solin.spb.ru>

On Thu, 21 Jun 2007 13:20:54 +0400
Aleksey Avdeev wrote:

> > Правда, деление на две фазы по-моему, здесь избыточно...
> 
>   Что имеется в виду, под делением на 2 фазы?
sed и install. Я у себя это сделал полностью в %install через mkdir -p
(кстати, его можно вбросить в этот же макрос) и последующий sed прямо в
/etc/rpm/macros.d/

> > В общем,
> > предлагается к рассмотрению следующий макрос (сразу предупреждаю, с
> > экранированием и прочими защитами может быть кошмар):
> > 
> > # Usage: %spec2macro <macro-defs.spec> <rpm-macros-file>
> > %define spec2macro() sed -e 's/^%%define[[:space:]]\+/%%/' -e
> > 's/^#%%%%/%%/' %1 >%2
> > 
> 
>   +1
> 


-- 
  Alexey "Ktirf" Rusakov
  GNOME Project
  ALT Linux Team


  reply	other threads:[~2007-06-21  9:39 UTC|newest]

Thread overview: 19+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-05-04 15:23 [devel] Загрузка макросов RPM Alexey Rusakov
2007-05-05 16:02 ` Aleksey Avdeev
2007-05-06 20:57   ` Alexey Rusakov
2007-05-07 15:02 ` Alexey I. Froloff
2007-05-07 18:58   ` Alexey Rusakov
2007-05-07 19:40     ` Alexey I. Froloff
2007-06-20 14:18       ` Alexey Rusakov
2007-06-20 19:02         ` [devel] [JT] " Michael Shigorin
2007-06-21  8:33           ` Alexey Rusakov
2007-06-21  8:31             ` [devel] [JT] Re: Загрузка мак? Aleksey Avdeev
2007-06-21  9:08               ` Alexey Rusakov
2007-06-21  9:26                 ` Alexey Rusakov
2007-06-21  9:20                   ` Aleksey Avdeev
2007-06-21  9:39                     ` Alexey Rusakov [this message]
2007-06-21  9:41                       ` Aleksey Avdeev
2007-06-21  9:58                         ` Alexey Rusakov
2007-06-21 10:26                           ` [devel] Макрос для загрузки макросов RPM Alexey Rusakov
2007-07-03 11:55                     ` [devel] Загрузка макросов RPM - в Сизифе Alexey Rusakov
2007-05-14 10:16   ` [devel] Q: Раскрытие RPM макросов по списку (was: Re: Загрузка макросов RPM) Aleksey Avdeev

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=20070621133954.170e5596@mission \
    --to=ktirf@altlinux.org \
    --cc=devel@lists.altlinux.org \
    /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