devel@ where you _can_ ask
 help / color / mirror / Atom feed
* [newbies] Применение большого количества патчей в spec-файле
@ 2017-11-23 11:25 Andrey Savchenko
  2017-11-23 12:11 ` Vladimir D. Seleznev
  0 siblings, 1 reply; 3+ messages in thread
From: Andrey Savchenko @ 2017-11-23 11:25 UTC (permalink / raw)
  To: devel-newbies

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

Добрый день,

возникла необходимость применить большое число патчей (около
полусотни) в spec файле. Можно ли это сделать компактнее, чем
перечислением всех патчей в %PatchNN и наложения через %patchNN?
т.е. вместо сотни строк хотелось бы получить две, а-ля:
%Patchdir patches
%apply_patches

Возможно, есть нужные макросы? Я не нашёл.

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

Best regards,
Andrew Savchenko

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

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2017-11-23 14:23 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-11-23 11:25 [newbies] Применение большого количества патчей в spec-файле Andrey Savchenko
2017-11-23 12:11 ` Vladimir D. Seleznev
2017-11-23 14:23   ` Andrey Savchenko

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