ALT Linux Team development discussions
 help / color / mirror / Atom feed
From: Igor Vlasenko <vlasenko@imath.kiev.ua>
To: ALT Linux Team development discussions <devel@lists.altlinux.org>
Subject: Re: [devel] JFYI: kernel modules build on git.eter
Date: Sat, 23 Jul 2011 17:22:04 +0300
Message-ID: <20110723142204.GB6599@dad.imath.kiev.ua> (raw)
In-Reply-To: <20110722191716.GE24412@altlinux.org>

On Fri, Jul 22, 2011 at 11:17:16PM +0400, Dmitry V. Levin wrote:
> > можно заменить add_changelog на равносильный вызов
> > у которого реализация add_changelog чисто перловая.
> 
> Насколько надежно в таком случае srpmnmu может вычислить
> '%|serial?{%{serial}:}|%{version}-%{release}'
> используемый для формирования %changelog'а?

Достаточно надежно. Epoch там по тегам Serial/Epoch вычисляется.
Проблемы могут быть, если в тегах достаточно навороченные конструкции
макросов. Условные конструкции будут раскрываться, но вот выражения вида 
Version: %{get_version bla-bla}
оно не раскроет.

И еще добавил ключ --safe-mode (это 0.64) так как в 0.63
по умолчанию таки использоался rpm -bE, что было то же самое
с точки зрения безопасности, что и add_changelog.

теперь вызов выглядит как
srpmnmu -i --safe-mode --next-release-policy=none --changelog '- some text' /path/to.spec

конечно, srpmnmu предназначен не для замены add_changelog,
и там слишком много лишнего.
Если будет интерес, я мог бы добавить отдельную утилиту, 
что-то вроде add_changelog_safe.

-- 

Dr. Igor Vlasenko
--------------------
Topology Department
Institute of Math
Kiev, Ukraine


-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.



      parent reply	other threads:[~2011-07-23 14:22 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-07-18 20:41 ` Dmitry V. Levin
2011-07-21 20:58   ` Денис Смирнов
2011-07-21 21:07     ` Dmitry V. Levin
2011-07-22 17:47       ` Igor Vlasenko
2011-07-22 18:45         ` Rinat Bikov
2011-07-23 14:12           ` Igor Vlasenko
2011-07-22 19:17         ` Dmitry V. Levin
2011-07-22 19:56             ` Dmitry V. Levin
2011-07-22 23:24                 ` Dmitry V. Levin
2011-07-23  8:26                     ` Dmitry V. Levin
2011-07-23  8:30                       ` Michael Shigorin
2011-07-24 21:15                         ` Dmitry V. Levin
2011-07-24  9:50                           ` [devel] [JT] чудеса в %release бэкпортов Michael Shigorin
2011-07-24 21:18                           ` [devel] JFYI: kernel modules build on git.eter Dmitry V. Levin
2011-08-06 12:17                             ` Michael Shigorin
2011-07-23  8:26               ` Michael Shigorin
2011-07-23 14:22           ` Igor Vlasenko [this message]

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=20110723142204.GB6599@dad.imath.kiev.ua \
    --to=vlasenko@imath.kiev.ua \
    --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