ALT Linux Team development discussions
 help / color / mirror / Atom feed
From: Michael Shigorin <mike@osdn.org.ua>
To: ALT Devel discussion list <devel@altlinux.ru>
Subject: [devel] Re: Q: и что теперь делать с pre в %release?
Date: Fri, 21 Jan 2005 17:14:59 +0200
Message-ID: <20050121151459.GT27042@osdn.org.ua> (raw)
In-Reply-To: <20050121142317.GB29276@basalt.office.altlinux.org>

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

On Fri, Jan 21, 2005 at 05:23:17PM +0300, Dmitry V. Levin wrote:
> > Народ, а мы, похоже, наступили на грабли в Sisyphus packaging
> > policy -- и как они решаются без Epoch:, опять хочу знать. :)
> > --- MPlayer.spec
> > %define release         alt16.M24.1
> > %define pre_release     pre5
> > ---
> Проблема не в policy, а в её применении, ибо
> $ rpmevrcmp alt16.pre5 alt16.pre5.M24.1

cmp чего, извиняюсь? :)

> -1
> В данном случае была неправильно трактована "точка отрыва".

Да это-то понятно.  Вот только мнение, что неправильно
(искуственно) она _определена_ -- почему-то крепнет с
разглядыванием количества прыжков в спеков, вызванных
тасованием кусков версионных строк туда-сюда.

OK, прямздесь делаю так:

--- MPlayer.spec        2005-01-21 17:01:34 +0200
+++ ../MPlayer.spec     2005-01-21 17:05:25 +0200
@@ -14,9 +14,6 @@
 #%%define cvsbuild 20031202
 #%%define ffmpeg_version 20031202

-# Used only for updates
-%define release_tag    M24.1
-
 %ifdef pre_release
 %global real_version   %real_version%pre_release
 %global release                %release.%pre_release
@@ -29,10 +26,6 @@
 %global        fversion        %cvsbuild
 %endif

-%ifdef release_tag
-%global release                %release.%release_tag
-%endif
-
 # Conditional build (--enable/--disable option)
 #
 # ... mencoder         - unconditionally enable mencoder
@@ -1217,12 +1210,6 @@

Получается MPlayer-1.0-alt16.pre5.M24.1. :)

PS: 2 morozov@: крепко, крепко. :)

-- 
 ---- WBR, Michael Shigorin <mike@altlinux.ru>
  ------ Linux.Kiev http://www.linux.kiev.ua/

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

  reply	other threads:[~2005-01-21 15:14 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-01-21 14:07                   ` [devel] " Michael Shigorin
2005-01-21 14:23                     ` Dmitry V. Levin
2005-01-21 15:14                       ` Michael Shigorin [this message]
2005-01-21 16:44                         ` [devel] [JT] " Alexey Morozov

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=20050121151459.GT27042@osdn.org.ua \
    --to=mike@osdn.org.ua \
    --cc=devel@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 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