ALT Linux Team development discussions
 help / color / mirror / Atom feed
From: "Alexey V. Vissarionov" <gremlin@altlinux.org>
To: ALT Linux Team development discussions <devel@lists.altlinux.org>
Subject: Re: [devel] I: rpm-build supports %autopatch directive
Date: Sun, 6 Oct 2019 17:06:31 +0300
Message-ID: <20191006140631.GB7970@altlinux.org> (raw)
In-Reply-To: <20191006122035.GA32235@altlinux.org>

[-- Attachment #1: Type: text/plain, Size: 756 bytes --]

On 2019-10-06 15:20:35 +0300, Dmitry V. Levin wrote:

 >> А есть ли у нас поддержка генерации строк, как вот эта
 >> (из документации выше):
 >> %{lua:for i=1,45 do print(string.format("Patch%u: bash42-%03u\n", i, i)) end}
 > Поддержки lua в нашем rpm-build нет.

И не надо!

Source: ...
# perl -e 'for (1..45) {printf("Patch%u: bash42-%03u.diff\n",$_,$_);}'
Patch1: bash42-001.diff
Patch2: bash42-002.diff
Patch3: bash42-003.diff
Patch4: bash42-004.diff
# ...
Patch44: bash42-044.diff
Patch45: bash42-045.diff

То есть, в комментарии код однострочника, а следом его вывод.


-- 
Alexey V. Vissarionov
gremlin ПРИ altlinux ТЧК org; +vii-cmiii-ccxxix-lxxix-xlii
GPG: 0D92F19E1C0DC36E27F61A29CD17E2B43D879005 @ hkp://keys.gnupg.net

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 801 bytes --]

  parent reply	other threads:[~2019-10-06 14:06 UTC|newest]

Thread overview: 19+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-10-03 20:23 Vladimir D. Seleznev
2019-10-03 20:26 ` Anton Farygin
2019-10-03 20:29 ` Dmitry V. Levin
2019-10-04 22:20 ` Grigory Ustinov
2019-10-05 18:47   ` Vladimir D. Seleznev
2019-10-05 23:34     ` Grigory Ustinov
2019-10-06  0:03       ` Vladimir D. Seleznev
2019-10-06 11:39         ` Andrey Savchenko
2019-10-06  5:02 ` Anton Farygin
2019-10-06 12:00   ` Dmitry V. Levin
2019-10-06 12:10     ` Andrey Savchenko
2019-10-06 12:20       ` Dmitry V. Levin
2019-10-06 12:30         ` Andrey Savchenko
2019-10-06 14:21           ` Dmitry V. Levin
2019-10-06 14:57             ` Andrey Savchenko
2019-11-24 16:33             ` Mikhail Novosyolov
2019-10-06 14:06         ` Alexey V. Vissarionov [this message]
2019-10-06 20:36   ` Vladimir D. Seleznev
2019-10-07 17:56 ` Andrey Savchenko

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=20191006140631.GB7970@altlinux.org \
    --to=gremlin@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