summaryrefslogtreecommitdiff
path: root/python/spec-py.h
AgeCommit message (Collapse)AuthorFilesLines
2023-11-16Upgrade version to 4.14tizen/4.14.1.1.tizen20230628wangbiao1-1/+1
Change-Id: I21bf1a3a7c25cbec43022202cf2e5865b603a309 Signed-off-by: wangbiao <biao716.wang@samsung.com>
2011-07-06Revert the ds, ts, fi and spec python object creation commitsPanu Matilainen1-0/+3
- Hasty push-finger syndrom, while its not exactly plain wrong to do things this way, it doesn't really make sense for these types either. Python's own file object permits reinitialization though, so leaving rpm.fd() the way it is now. - This reverts the following commits: d056df28c38e602d82b4f9b527c686037074e660 3f77c3146da46a49f44b17fa66139fbe2dd9e45c 7214b2e0a271b7a7b3df312c58593878cbf56504 dc50fb2863c81159fb4cc8b25ce3862720c0cce5
2011-07-01Fix/sanitize rpm.spec python object creationPanu Matilainen1-3/+0
- Specs are not really immutable, move the initialization work into tp_init and use PyType_GenericNew for tp_new since we're not doing anything special there. - Eliminate the stupid spec_Wrap() thing and hide specPkg_Wrap() out of side (TODO later...)
2010-10-01Use namespaced names for spec pkg and source opaque typedefsPanu Matilainen1-1/+1
- Leaving the painful and somewhat pointless exercise of changing all the Package and Source references for another rainy day
2009-11-19Add spec package type with access to headers to python rpmb modulePanu Matilainen1-0/+4
- permits python to access parsed headers from spec files - ticket #14, RhBug:462726
2009-11-18Lose the silly specFromSpec()Panu Matilainen1-2/+0
- its our own private data structure we're accessing here, no need for extra wrappers and nothing outside spec-py.c needs this
2009-10-09Kill off _rpmb.error exception typePanu Matilainen1-2/+0
- import of _rpmb messes up rpm.error to point to _rpmb.error which we do not want - use ValueError for unparsable spec for now, need to figure something saner there still
2009-10-02Split rpmbuild dependencies to separate _rpmb modulePanu Matilainen1-0/+2
- 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-09-24Make object allocation type agnosticPanu Matilainen1-1/+1
- pass (sub)type down to wrappers - call subtype tp_alloc() instead of PyObject_New() - preliminaries for allowing subtyping
2009-09-23Add type checking macros for all rpm python type objectsPanu Matilainen1-0/+2
2009-09-22Lose the empty doxygen markersPanu Matilainen1-8/+0
- nothing wrong with comments but empty comment placeholders are not exactly useful
2009-09-22Make all python object creation wrappers return PyObject pointersPanu Matilainen1-1/+1
- this way the only place where casts are needed are in the wrapper itself
2009-09-22Make the python object structures opaquePanu Matilainen1-5/+1
2007-12-08Switch to <rpm/foo.h> style for public headersPanu Matilainen1-1/+1
- adjust include paths accordingly
2007-11-23Use #include <x.h> syntax to include public headers.Ralf Corsépius1-1/+1
2007-10-28Include "rpmbuild.h" instead of <rpmbuild.h>.Ralf Corsépius1-1/+1
2007-09-21Rename Spec -> rpmSpec for namespacingPanu Matilainen1-3/+3
2007-09-11Remove split tags.Ralf Corsépius1-7/+2
2004-03-11Begin lint fixes for spec-pypauln1-2/+11
CVS patchset: 7165 CVS date: 2004/03/11 07:03:40
2004-03-10Initial rpm.spec implementationpauln1-0/+22
CVS patchset: 7160 CVS date: 2004/03/10 22:44:29