ALT Linux kernel packages development
 help / color / mirror / Atom feed
From: Sergey Vlasov <vsu@altlinux.ru>
To: devel-kernel <devel-kernel@altlinux.ru>
Subject: [d-kernel] [BUG] %format_patch_list does not work
Date: Thu, 7 Aug 2003 16:35:09 +0400
Message-ID: <20030807163509.03c753a3.vsu@altlinux.ru> (raw)

[-- 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 --]

             reply	other threads:[~2003-08-07 12:35 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-08-07 12:35 Sergey Vlasov [this message]
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

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=20030807163509.03c753a3.vsu@altlinux.ru \
    --to=vsu@altlinux.ru \
    --cc=devel-kernel@altlinux.ru \
    /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 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