summaryrefslogtreecommitdiff
path: root/python/rpmii-py.c
AgeCommit message (Collapse)AuthorFilesLines
2023-11-16Add librpm-tizen.spec file & Debian packaging.HEADmasterdevelxuhy1-3/+3
The following issues are fixed: 1. Prevent execution of arbitrary scripts 2. Enable dash(-) in spec file. 3. Ignore bad expressions in %if conditionals. 4. Ignore unknown tags. 5. Ignore error macro. Change-Id: Id5b7b47c1a78de364ef0d513023fbe9ccc773a87 Signed-off-by: xuhy <huayong.xu@samsung.com>
2023-11-16Upgrade version to 4.14tizen/4.14.1.1.tizen20230628wangbiao1-7/+21
Change-Id: I21bf1a3a7c25cbec43022202cf2e5865b603a309 Signed-off-by: wangbiao <biao716.wang@samsung.com>
2023-03-10Fix build error with Ubuntu22.04tizen/4.11.0.1.tizen20231101biao716.wang1-1/+0
Python bindings: The initialization function must be named PyInit_name(), where name is the name of the module, and should be the only non-static item defined in the module file https://github.com/rpm-software-management/rpm/commit/0073376965ee8d8df63c21b0da634fc315c97d0b related bug: https://bugzilla.redhat.com/show_bug.cgi?id=1064758 Add more patch: https://github.com/rpm-software-management/rpm/commit/f3801bccb9eb068a747ca63a4b01518a260d9919 https://github.com/rpm-software-management/rpm/commit/ddc7ff28e14064f57c6917e133a95e73f749cf41 https://github.com/rpm-software-management/rpm/commit/2c6e0366ffc6bdbafbdf82df7fcedd975a361465 https://github.com/rpm-software-management/rpm/commit/71527b6fbd2b3898beabd602c462a01b691d67d8 Change-Id: I67a51ee893d06173b3d33d444dfa56a5796523fb Signed-off-by: biao716.wang <biao716.wang@samsung.com>
2014-06-09Make python module name configurableMarkus Lehtonen1-1/+1
2012-03-08Optimize python db index instances list generation and fix related leakPanu Matilainen1-2/+2
- The number of entries is well know, allocate the entire list at once and set instead of appending one by one. Also cures a leak from created tuples not being decref'ed before - list set steals the reference whereas append requires an additional decref to transfer the ownership to the list.
2011-03-09Python 3 fixupsPanu Matilainen1-1/+1
- PyString is gone, use PyBytes instead - Add compatibility defines to paper over PyInt/PyLong_JustHowLongFunctionNamesYouCanComeUpWith()
2011-03-09Python bindings dont need our debug.h for anythingPanu Matilainen1-2/+0
2011-01-21Fix python documentation wrt dbIndex()Panu Matilainen1-3/+3
2010-11-11Rename rpm.ii.offsets() to .instances() to match name of mi.instance()Florian Festi1-3/+2
2010-11-03Merge rpmdbIndexIteratorKey and rpmdbIndexIteratorKeySize into ↵Florian Festi1-3/+4
rpmdbIndexIteratorNext
2010-11-03Rename rpmdbKeyIterator to rpmdbIndexIteratorFlorian Festi1-0/+158