devel@ where you _can_ ask
 help / color / mirror / Atom feed
From: "Vladimir D. Seleznev" <vseleznv@altlinux.org>
To: "devel@ where you _can_ ask" <devel-newbies@lists.altlinux.org>
Subject: Re: [newbies] Применение большого количества патчей в spec-файле
Date: Thu, 23 Nov 2017 15:11:37 +0300
Message-ID: <20171123121137.GB12724@portlab> (raw)
In-Reply-To: <20171123142502.c0cdf833514dc564353ee6cd@altlinux.org>

On Thu, Nov 23, 2017 at 02:25:02PM +0300, Andrey Savchenko wrote:
> Добрый день,
> 
> возникла необходимость применить большое число патчей (около
> полусотни) в spec файле. Можно ли это сделать компактнее, чем
> перечислением всех патчей в %PatchNN и наложения через %patchNN?
> т.е. вместо сотни строк хотелось бы получить две, а-ля:
> %Patchdir patches
> %apply_patches

Нет. На данный момент наш rpm-build так не умеет.

> Возможно, есть нужные макросы? Я не нашёл.
> 
> P.S. Потяно, что задачу можно решить иначе, например, применить все
> патчи в git и держать две ветки (vanilla и patched), но из-за
> особенностей взаимодействия с МЦСТ гораздо удобнее держать все
> патчи в виде отдельных файлов. Поэтому попрошу не флеймить на эту
> тему и сконцентрироваться на ответе на поставленный вопрос.

-- 
   С уважением,
   Владимир Селезнев


  reply	other threads:[~2017-11-23 12:11 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-11-23 11:25 Andrey Savchenko
2017-11-23 12:11 ` Vladimir D. Seleznev [this message]
2017-11-23 14:23   ` 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=20171123121137.GB12724@portlab \
    --to=vseleznv@altlinux.org \
    --cc=devel-newbies@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

devel@ where you _can_ ask

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/devel-newbies/0 devel-newbies/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-newbies devel-newbies/ http://lore.altlinux.org/devel-newbies \
		devel-newbies@lists.altlinux.org devel-newbies@lists.altlinux.ru devel-newbies@lists.altlinux.com
	public-inbox-index devel-newbies

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://lore.altlinux.org/org.altlinux.lists.devel-newbies


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git