RPM Community Forums

Mailing List Message of <rpm-devel>

Re: [CVS] RPM: rpm-5_0: rpm/ CHANGES rpm/python/ rpmmodule.c

From: Jeff Johnson <n3npq@mac.com>
Date: Fri 08 Feb 2008 - 21:02:51 CET
Message-Id: <3DABF787-2FA0-48B7-AC37-C6404E01E3DD@mac.com>
The maintainable fix for this is to run rpmconstant
to generate constants in a rpm.py wrapper.

Mainatining stoooopid names compiled into _rpm
is bad craziness. Noone will ever be satisifed because
no distro is actually updating rpm-python often enough
for the changes to be seen.

73 de Jeff

On Feb 8, 2008, at 2:40 PM, Per Øyvind Karlsen wrote:

>   RPM Package Manager, CVS Repository
>   http://rpm5.org/cvs/
>    
> ______________________________________________________________________ 
> ______
>
>   Server: rpm5.org                         Name:   Per Øyvind Karlsen
>   Root:   /v/rpm/cvs                       Email:  pkarlsen@rpm5.org
>   Module: rpm                              Date:   08-Feb-2008  
> 20:40:01
>   Branch: rpm-5_0                          Handle: 2008020819400001
>
>   Modified files:           (Branch: rpm-5_0)
>     rpm                     CHANGES
>     rpm/python              rpmmodule.c
>
>   Log:
>     python: add back RPMSENSE_FIND_REQUIRES, needed by rpmlint
>
>   Summary:
>     Revision    Changes     Path
>     1.2054.2.44 +1  -0      rpm/CHANGES
>     1.162.2.2   +3  -0      rpm/python/rpmmodule.c
>    
> ______________________________________________________________________ 
> ______
>
>   patch -p0 <<'@@ .'
>   Index: rpm/CHANGES
>    
> ====================================================================== 
> ======
>   $ cvs diff -u -r1.2054.2.43 -r1.2054.2.44 CHANGES
>   --- rpm/CHANGES	8 Feb 2008 13:12:43 -0000	1.2054.2.43
>   +++ rpm/CHANGES	8 Feb 2008 19:40:00 -0000	1.2054.2.44
>   @@ -1,4 +1,5 @@
>    5.0.2 -> 5.0.3:
>   +    - proyvind: python: add back RPMSENSE_FIND_REQUIRES, needed  
> by rpmlint
>        - proyvind: trim multiple slashes from buildroot for check- 
> files script (from Nanar/Olivier Thauvin)
>        - proyvind: make rpmdb cpp compliant (from spturtle/ 
> Christiaan Welvaart)
>        - jbj: fix: (again) rpmtsCheck() needs to return 1 when  
> problems exist.
>   @@ .
>   patch -p0 <<'@@ .'
>   Index: rpm/python/rpmmodule.c
>    
> ====================================================================== 
> ======
>   $ cvs diff -u -r1.162.2.1 -r1.162.2.2 rpmmodule.c
>   --- rpm/python/rpmmodule.c	5 Feb 2008 17:45:25 -0000	1.162.2.1
>   +++ rpm/python/rpmmodule.c	8 Feb 2008 19:40:01 -0000	1.162.2.2
>   @@ -8,6 +8,8 @@
>    #include <rpmsq.h>
>    #define	_RPMTAG_INTERNAL
>    #include <rpmtag.h>
>   +#define _RPMEVR_INTERNAL
>   +#include <rpmevr.h>
>    #include <rpmdb.h>
>    #include <rpmcli.h>	/* XXX for rpmCheckSig */
>
>   @@ -401,6 +403,7 @@
>        REGISTER_ENUM(RPMSENSE_GREATER);
>        REGISTER_ENUM(RPMSENSE_EQUAL);
>        REGISTER_ENUM(RPMSENSE_NOTEQUAL);
>   +    REGISTER_ENUM(RPMSENSE_FIND_REQUIRES);
>
>        REGISTER_ENUM(RPMDEPS_FLAG_NOUPGRADE);
>        REGISTER_ENUM(RPMDEPS_FLAG_NOREQUIRES);
>   @@ .
> ______________________________________________________________________
> RPM Package Manager                                    http://rpm5.org
> CVS Sources Repository                                rpm-cvs@rpm5.org
Received on Fri Feb 8 21:03:08 2008
Driven by Jeff Johnson and the RPM project team.
Hosted by OpenPKG and Ralf S. Engelschall.
Powered by FreeBSD and OpenPKG.