ALT Linux Team development discussions
 help / color / mirror / Atom feed
From: Aleksey Cheusov <a.cheusov@yandex.ru>
To: ALT Linux Team development discussions <devel@lists.altlinux.org>
Subject: Re: [devel] rpm preprocessort
Date: Sun, 10 Dec 2023 18:53:35 +0000
Message-ID: <2BCA9CCF-B275-4294-8B7C-C0A64DF8ABD5@yandex.ru> (raw)
In-Reply-To: <66282e9a-d32b-4a46-9ccc-afa35cd3ea14@gmail.com>

On December 9, 2023 12:24:46 AM UTC, Leonid Krivoshein <klark.devel@gmail.com> wrote:
>Доброго времени!
>
>
>On 12/8/23 21:19, Aleksey Cheusov wrote:

>> То есть, нужен тестовый препроцессор общего назначения a la m4/cpp
>> c опциями -D macro=value, -Umacro, -f file.
>
>Не совсем понятно, какая задача решается.

Задача очень простая: нужен рекурсивный текстовый препроцессор со всеми этими %define, %if etc. без свякой связи с rpm вообще.

>Что мешает заменить каталог с
системными макросами rpm?

Мешает необходимость стать root-ом. Все, что нужно -- это опции -D, -U, -f и никаких системных конфигов вообще.
Просто автономный тестовый препроцессор. rpmspec -P делает какую-то дрянь. Не то.




  reply	other threads:[~2023-12-10 18:53 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-12-08 18:19 Aleksey Cheusov
2023-12-09  0:24 ` Leonid Krivoshein
2023-12-10 18:53   ` Aleksey Cheusov [this message]
2023-12-09 15:32 ` Arseny Maslennikov
2023-12-09 16:07   ` Andrey Savchenko
2023-12-10 18:58   ` Aleksey Cheusov

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=2BCA9CCF-B275-4294-8B7C-C0A64DF8ABD5@yandex.ru \
    --to=a.cheusov@yandex.ru \
    --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