/[smeserver]/rpms/yum-metadata-parser/sme8/yum-metadata-parser-1.1.0-dbversion.patch
ViewVC logotype

Annotation of /rpms/yum-metadata-parser/sme8/yum-metadata-parser-1.1.0-dbversion.patch

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph


Revision 1.1 - (hide annotations) (download)
Tue Jun 12 21:26:37 2007 UTC (17 years, 5 months ago) by slords
Branch: MAIN
CVS Tags: yum-metadata-parser-1_1_0-2_el5_sme
Import on branch sme8 of package yum-metadata-parser-1.1.0-2.el5.sme.src.rpm

1 slords 1.1 --- yum-metadata-parser-1.1.0/sqlitecachec.py.dbversion 2007-05-15 13:05:46.000000000 -0400
2     +++ yum-metadata-parser-1.1.0/sqlitecachec.py 2007-05-15 13:05:02.000000000 -0400
3     @@ -18,6 +18,8 @@
4     import sqlite
5     import _sqlitecache
6    
7     +DBVERSION = _sqlitecache.DBVERSION
8     +
9     class RepodataParserSqlite:
10     def __init__(self, storedir, repoid, callback=None):
11     self.callback = callback
12     --- yum-metadata-parser-1.1.0/sqlitecache.c.dbversion 2007-05-15 13:05:40.000000000 -0400
13     +++ yum-metadata-parser-1.1.0/sqlitecache.c 2007-05-15 13:04:43.000000000 -0400
14     @@ -609,5 +609,10 @@
15     PyMODINIT_FUNC
16     init_sqlitecache (void)
17     {
18     - Py_InitModule ("_sqlitecache", SqliteMethods);
19     + PyObject * m, * d;
20     +
21     + m = Py_InitModule ("_sqlitecache", SqliteMethods);
22     +
23     + d = PyModule_GetDict(m);
24     + PyDict_SetItemString(d, "DBVERSION", PyInt_FromLong(YUM_SQLITE_CACHE_DBVERSION));
25     }

admin@koozali.org
ViewVC Help
Powered by ViewVC 1.2.1 RSS 2.0 feed