Fix build error with Ubuntu22.04 51/289251/3 tizen/4.11.0.1.tizen20231101
authorbiao716.wang <biao716.wang@samsung.com>
Fri, 3 Mar 2023 07:51:24 +0000 (16:51 +0900)
committerbiao716.wang <biao716.wang@samsung.com>
Fri, 10 Mar 2023 05:38:18 +0000 (14:38 +0900)
commite806b67f7bf4458450f5d951262ec0aedf7a4a19
tree84575a6945b414287b654aede757583d59d9856e
parenta0dea826f88a4c5c9ceb722592cceedeb75a32fe
Fix build error with Ubuntu22.04
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>
15 files changed:
build/files.c
configure.ac
debian/control
debian/librpm-tizen.install
debian/rules
misc/Makefile.am
misc/fts.c
misc/rpmfts.h [moved from misc/fts.h with 94% similarity]
python/Makefile.am
python/rpmbmodule.c
python/rpmfd-py.c
python/rpmii-py.c
python/rpmmi-py.c
python/rpmsmodule.c
python/rpmsystem-py.h