summaryrefslogtreecommitdiff
path: root/python/rpm/__init__.py
AgeCommit message (Collapse)AuthorFilesLines
2023-11-16Add librpm-tizen.spec file & Debian packaging.HEADmasterdevelxuhy1-128/+0
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-0/+128
Change-Id: I21bf1a3a7c25cbec43022202cf2e5865b603a309 Signed-off-by: wangbiao <biao716.wang@samsung.com>
2014-06-09Python module: rename .py files to .inMarkus Lehtonen1-84/+0
In order to make them modifiable by autotools.
2010-10-13Add python bindings for librpmsignPanu Matilainen1-0/+6
- Similarly to the build-bindings, permit import failures as librpmsign might not be installed and we dont want to force the dependencies into every single installation
2010-05-04Rename python module version symbol to __version__, add __version_info__Panu Matilainen1-0/+3
- This seems to be a de-facto standard in python land, as rpm.version hasn't been in any released version we can still change this easily. Suggestion from James Antill.
2009-10-29Convert relative imports within rpm package to absolute importsDavid Malcolm1-5/+4
2009-10-15Use fd.tell() instead of going around through os.lseek() with fdnoPanu Matilainen1-3/+3
2009-10-15Avoid unnecessary dup'ing of file descriptors on header list operationsPanu Matilainen1-16/+15
- convert to rpm.fd on python side already add use internal helper which only accepts rpm.fd type to avoid having to dup around on every item
2009-10-05Handle all rpmds variants in its constructorPanu Matilainen1-0/+3
- either it takes a header + tag, or (name, flags, version) tuple + tag to generate a single dep - push rpm.dsSingle() compatibility out to python side - hdr.dsFromHeader() and hdr.dsOfHeader() no longer need to be in rpmds-py.c
2009-10-02Split rpmbuild dependencies to separate _rpmb modulePanu Matilainen1-0/+6
- installers and the like dont need the pile of poo called librpmbuild for anything, avoid dragging it in needlessly - import _rpmb into rpm namespace if available but dont complain if its not there - arrange ts.parseSpec() compatibility on python side by dynamically importing _rpmb if possible
2009-10-02Add a dummy python-level transaction set class, use it alwaysPanu Matilainen1-0/+4
- move the rpm.ts() vs rpm.TransactionSet() compatibility to python - this will enable doing only the lowest level stuff in C and rest in python
2009-09-28Push rpm.signalsCaught() to python levelPanu Matilainen1-0/+8
- only implement the bare minimum in C by adding a thin wrapper for rpmsqIsCaught(), the rest can easily be done in python
2009-09-28Implement rpm.readHeaderFromFD() in python instead of CPanu Matilainen1-3/+16
2009-09-28Implement rpm.readHeaderListFromFD() in python instead of CPanu Matilainen1-0/+18
2009-09-28Implement rpmreadHeaderListFromFile() in python instead of CPanu Matilainen1-0/+7
2009-09-28Arrange rpm.headerLoad() compatibility on python levelPanu Matilainen1-0/+4
2004-11-15Re-export hidden VSF symbols 139221pauln1-0/+6
CVS patchset: 7581 CVS date: 2004/11/15 14:12:19
2004-10-19Initial python wrapped rpm module filespauln1-0/+8
CVS patchset: 7489 CVS date: 2004/10/19 21:33:22