ALT Linux Team development discussions
 help / color / mirror / Atom feed
From: Andrey Savchenko <bircoph@altlinux.org>
To: ALT Linux Team development discussions <devel@lists.altlinux.org>
Subject: Re: [devel] A: rpm-macros-ninja-build
Date: Mon, 25 May 2020 09:23:24 +0300
Message-ID: <20200525092324.3a46139a85053b7321e2de75@altlinux.org> (raw)
In-Reply-To: <20200525041533.GJ1625@imap.altlinux.org>

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

On Mon, 25 May 2020 07:15:33 +0300 Michael Shigorin wrote:
> On Mon, May 25, 2020 at 12:30:06AM +0300, Andrey Savchenko wrote:
> > > > которое, как и выделение rpm-macros-*, является
> > > > оптимизацией или подстройкой под устройство hasher.
> > > На самом деле это является следствием того, что среда редактирования
> > > спек-файла и среда сборки пакета, как правило, сильно различаются.
> > А зачем при редактировании spec установленный файл с макросом?
> > Макрос можно написать в spec и без установленного пакета с телом
> > макроса. А вот при сборке — да, нужен. 
> 
> Похоже, ты не пользуешься как минимум add_changelog
> из rpm-utils -- я им при каждом обновлении/создании
> пакета пользуюсь, дёргая через \ac в vim (см. тж.
> vim-plugin-spec_alt-ftplugin).

Пользуюсь, правда, не так давно: я не знал про этот плагин,
в документации нигде нет; узнал случайно от ldv, когда он ругался
на ошибки в дате в моём changelog.

> Ну и прочие полезные инструменты вроде rpm -bE
> становятся менее полезными, когда спек нераскрываем. 
> 
> А без макросов, ради которых и бывает BuildRequires(pre)
> (т.е. определяющих, например, саму версию пакета извне)
> не получится даже собрать srpm просто так.

А зачем собирать srpm вне сборочного окружения?
И вообще, есть git :)

Best regards,
Andrew Savchenko

[-- Attachment #2: Type: application/pgp-signature, Size: 833 bytes --]

  reply	other threads:[~2020-05-25  6:23 UTC|newest]

Thread overview: 35+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-05-22 19:11 ` Dmitry V. Levin
2020-05-23  5:57   ` Andrey Cherepanov
2020-05-23 12:24     ` Dmitry V. Levin
2020-05-23 15:24       ` Alexey V. Vissarionov
2020-05-23 16:14       ` Andrey Cherepanov
2020-05-23 17:00         ` Dmitry V. Levin
2020-05-23 19:13           ` Andrey Cherepanov
2020-05-23 19:24             ` Alexey Gladkov
2020-05-24 13:21               ` Vitaly Lipatov
2020-05-24 20:16                 ` Dmitry V. Levin
2020-05-24 21:30                   ` Andrey Savchenko
2020-05-25  4:15                     ` Michael Shigorin
2020-05-25  6:23                       ` Andrey Savchenko [this message]
2020-05-25 12:24               ` Aleksey Cheusov
2020-05-25 12:40                 ` Dmitry V. Levin
2020-05-25 13:18                   ` Aleksey Cheusov
2020-05-25 12:53                 ` Alexey Gladkov
2020-05-25 13:07                   ` Anton Farygin
2020-05-25 13:09                     ` Dmitry V. Levin
2020-05-25 14:02                       ` Anton Farygin
2020-05-25 13:20                   ` Aleksey Cheusov
2020-05-25 14:15                     ` Dmitry V. Levin
2020-05-25 14:22                     ` Alexey Gladkov
2020-05-25 14:25                       ` Anton Farygin
2020-05-25 14:35                         ` Alexey Gladkov
2020-05-25 14:48                           ` Anton Farygin
2020-05-25 15:17                             ` Alexey Gladkov
2020-05-26  6:36                               ` Anton Farygin
2020-05-26  9:10                                 ` Alexey Gladkov
2020-05-26 11:22                                   ` Anton Farygin
2020-05-26 11:57                                     ` Alexey Gladkov
2020-05-26 13:47                                       ` Anton Farygin
2020-05-26 14:56                                         ` Andrey Savchenko
2020-05-26 18:02                                           ` Anton Farygin
2020-05-26 14:37                               ` Sergey V Turchin

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=20200525092324.3a46139a85053b7321e2de75@altlinux.org \
    --to=bircoph@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