/[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.2 - (hide annotations) (download)
Mon Oct 15 01:14:23 2007 UTC (17 years ago) by slords
Branch: MAIN
CVS Tags: HEAD
Changes since 1.1: +0 -0 lines
FILE REMOVED
Remove unneeded packages

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