From: Alexey Tourbin <at@altlinux.ru>
To: devel@lists.altlinux.org
Subject: Re: [devel] [git update] packages/libxml2 - src.rpm
Date: Thu, 19 Jul 2007 18:02:47 +0400
Message-ID: <20070719140247.GG19842@solemn.turbinal> (raw)
In-Reply-To: <20070719135344.ABA29704433@ssh.git.local.altlinux.org>
[-- Attachment #1: Type: text/plain, Size: 2347 bytes --]
On Thu, Jul 19, 2007 at 05:53:44PM +0400, Alexey M. Tourbin wrote:
> Update of /people/at/packages/libxml2.git
>
> Changes statistics since `svn3644-23-gbd4a226' follows:
> .gear-rules | 3 ++-
> .../5b85e1f6d74279efc976f4055d6ffc968641491b | 13 +++++++++++++
> .gear-tags/list | 1 +
> libxml2.spec | 12 +++++++++---
> 4 files changed, 25 insertions(+), 4 deletions(-)
>
> Changelog since `svn3644-23-gbd4a226' follows:
> commit 650880331f54ffdab56c016683d09edce41a92c5
> Author: Alexey Tourbin <at@altlinux.ru>
> Date: Thu Jul 19 17:41:59 2007 +0400
>
> 1:2.6.29-alt1
>
> - updated to svn revision 3644 (20070718)
> - changed src.rpm packaging to keep separate tarball with svn snapshot
>
> Full diff since `svn3644-23-gbd4a226' follows:
> diff --git a/.gear-rules b/.gear-rules
> index d7d8f8c..6ca459a 100644
> --- a/.gear-rules
> +++ b/.gear-rules
> @@ -1 +1,2 @@
> -tar: . name=libxml2-@version@-@release@
> +tar: svn3644:. name=libxml2-@version@-svn3644
> +diff: svn3644:. .
Получается вот такая вот некрасивая конструкция, если я хочу паковать
отдельно апстримный snapshot. Некрасивая, потому что непараметризуемо
по version. Альтернативно, svn revision можно добавить в version т.е.
сделать версию пакета 2.6.29.3644.
С другой стороны, я подумал, не стоит ли сделать релизный тарболл
отдельно плюс к нему svn патч. Тут идея будет в том, что пользователь
сможет "проверить" тарболл. Например, хочется, чтобы при замене
тарболла на "настоящий" получалась идентичная сборка. Здесь есть вот
какие неприятности. Обычно "настоящий" тарболл содержит много всякого
генерата, в частности, от autotools. Тарболл в любом случае не совсем
идентичный получается.
> --- a/libxml2.spec
> +++ b/libxml2.spec
[...]
> @@ -117,7 +118,8 @@ at parse time or later once the document has been modified.
> This package contains documentation on the XML C library.
>
> %prep
> -%setup -q -n %name-%version-%release
> +%setup -q -n libxml2-%version-svn3644
> +%patch -p1
Здесь тоже некрасиво.
В общем, не знаю, оставлять как было %name-%version-%release.tar или
делать как сделал %name-%version-svn3644 + %name-%version-%release.patch.
[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]
next parent reply other threads:[~2007-07-19 14:02 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-07-19 14:02 ` Alexey Tourbin [this message]
2007-07-19 20:21 ` Alexey Tourbin
2007-07-20 6:12 ` Vladimir V. Kamarzin
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=20070719140247.GG19842@solemn.turbinal \
--to=at@altlinux.ru \
--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