ALT Linux kernel packages development
 help / color / mirror / Atom feed
* [d-kernel] [BUG] %format_patch_list does not work
@ 2003-08-07 12:35 Sergey Vlasov
  2003-08-07 11:54 ` Ed V. Bartosh
  0 siblings, 1 reply; 6+ messages in thread
From: Sergey Vlasov @ 2003-08-07 12:35 UTC (permalink / raw)
  To: devel-kernel

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

Hello!

В kernel-build-tools-0.4-alt1 макрос %format_patch_list не работает
(rpm съедает '\' при обработке файла макросов).

Исправление:

--- kernel-macros.old	2003-07-31 20:37:25 +0400
+++ kernel-macros	2003-08-07 16:26:03 +0400
@@ -14,7 +14,7 @@
 %add_patch_list()	%global _patch_list %_patch_list %*
 %get_patch_list()	%_patch_list
 
-%format_patch_list      %(rpmquery --queryformat '\t%{NAME}-%{VERSION}-%{RELEASE}\n' %get_patch_list)
+%format_patch_list      %(rpmquery --queryformat '\\n\\t%%{NAME}-%%{VERSION}-%%{RELEASE}' %get_patch_list)
 
 %_src_list		%nil
 %source()		Source%1: %2 %global _src_list %_src_list %2


(попутно изменено форматирование - \n ставится в начале, а не в конце,
и продублированы % - эта ошибка не проявлялась, т.к. макросы с именами
NAME и т.п. не определены при разборе spec)

-- 
Sergey Vlasov

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

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

end of thread, other threads:[~2003-08-07 15:52 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-08-07 12:35 [d-kernel] [BUG] %format_patch_list does not work Sergey Vlasov
2003-08-07 11:54 ` Ed V. Bartosh
2003-08-07 14:08   ` [d-kernel] " Sergey Vlasov
2003-08-07 14:39     ` Ed V. Bartosh
2003-08-07 15:52       ` Sergey Vlasov
2003-08-07 15:19         ` Ed V. Bartosh

ALT Linux kernel packages development

This inbox may be cloned and mirrored by anyone:

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

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


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