[devel] [SCM] packages/newt: heads/sisyphus

Slava Dubrovskiy slava at tangramltd.com
Mon Sep 28 18:35:27 UTC 2009


28.09.2009 21:16, Dmitry V. Levin пишет:
> On Mon, Sep 28, 2009 at 08:42:23PM +0400, Slava Dubrovskiy wrote:
>   
>> Update of /people/dubrsl/packages/newt.git
>>
>> Changes statistics since `0.52.11-alt1' follows:
>>  newt.spec |    8 ++++++--
>>  1 files changed, 6 insertions(+), 2 deletions(-)
>>
>> Changelog since `0.52.11-alt1' follows:
>> commit 2d25f752818704aa1fcb5a96180ffad26df7b85d
>> Author: Slava Dubrovskiy <dubrsl at altlinux>
>> Date:   Mon Sep 28 19:35:15 2009 +0300
>>
>>     0.52.11-alt2
>>     
>>     - Add BuildPreReq: python-devel = %__python_version (fix repocop test)
>>
>> Full diff since `0.52.11-alt1' follows:
>> diff --git a/newt.spec b/newt.spec
>> index bf4245a..9b0e083 100644
>> --- a/newt.spec
>> +++ b/newt.spec
>> @@ -4,7 +4,7 @@
>>  
>>  Name: %_name%abiversion
>>  Version: %main_version
>> -Release: alt1
>> +Release: alt2
>>  
>>  %def_enable tk
>>   
>> @@ -20,8 +20,9 @@ Patch: %name-%version-%release.patch
>>  Requires: slang, lib%name = %version-%release
>>  Provides: snack = %version-%release
>>  
>> +BuildPreReq: python-devel = %__python_version
>>  # Automatically added by buildreq on Tue Oct 22 2002
>> -BuildRequires: libpopt-devel python-devel libslang2-devel
>> +BuildRequires: libpopt-devel libslang2-devel
>>  %if_enabled tk
>>  BuildRequires: tkinter
>>  %endif
>>     
> Это что ещё за нововведение?
>   
Ну тест репокопа ругается
http://sisyphus.ru/ru/srpm/Sisyphus/newt52/repocop : -
altlinux-python-obsolete-requires-python-version      Requires: python =
%__python_version is deprecated according to Python Policy
(http://www.altlinux.org/Python_Policy).

И тут написано:

3.  Указание зависимостей
        3.1.    Пакет ДОЛЖЕН содержать явно указанную зависимость на
версию питона,
            использованного при его сборке. Такая зависимость вводится
указанием
            следующих операторов::

                Requires: python = %__python_version

                BuildPreReq: python-devel = %__python_version


А что-то не так понял?

-- 
WBR,
Dubrovskiy Vyacheslav

-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 3262 bytes
Desc: S/MIME Cryptographic Signature
URL: <http://lists.altlinux.org/pipermail/devel/attachments/20090928/a463d22f/attachment.bin>


More information about the Devel mailing list