diff options
author | biao716.wang <biao716.wang@samsung.com> | 2023-03-03 16:51:24 +0900 |
---|---|---|
committer | biao716.wang <biao716.wang@samsung.com> | 2023-03-10 14:38:18 +0900 |
commit | e806b67f7bf4458450f5d951262ec0aedf7a4a19 (patch) | |
tree | 84575a6945b414287b654aede757583d59d9856e /python/rpmmi-py.c | |
parent | a0dea826f88a4c5c9ceb722592cceedeb75a32fe (diff) | |
download | librpm-tizen-e806b67f7bf4458450f5d951262ec0aedf7a4a19.tar.gz librpm-tizen-e806b67f7bf4458450f5d951262ec0aedf7a4a19.tar.bz2 librpm-tizen-e806b67f7bf4458450f5d951262ec0aedf7a4a19.zip |
Fix build error with Ubuntu22.04tizen/4.11.0.1.tizen20231101
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>
Diffstat (limited to 'python/rpmmi-py.c')
-rw-r--r-- | python/rpmmi-py.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/python/rpmmi-py.c b/python/rpmmi-py.c index 6c34c9876..70bb1665b 100644 --- a/python/rpmmi-py.c +++ b/python/rpmmi-py.c @@ -149,7 +149,6 @@ static PyNumberMethods rpmmi_as_number = { 0, /* nb_add */ 0, /* nb_subtract */ 0, /* nb_multiply */ - 0, /* nb_divide */ 0, /* nb_remainder */ 0, /* nb_divmod */ 0, /* nb_power */ |