mirror of
https://git.yoctoproject.org/poky
synced 2026-03-17 04:39:40 +01:00
rpm: Package python-rpm static archive correctly
WARNING: QA Issue: non -staticdev package contains static .a library: python-rpm path '/work/i586-poky-linux/rpm-5.4.0-r34/packages-split/python-rpm/usr/lib/python2.7/rpm/_rpmmodule.a' (From OE-Core rev: 1374c7a8ea7c583d428a9546999a4ec3bee06128) Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
committed by
Richard Purdie
parent
0d1ea0ddcf
commit
05a360bd7f
@@ -45,7 +45,7 @@ LIC_FILES_CHKSUM = "file://COPYING.LIB;md5=2d5025d4aa3495befef8f17206a5b0a1"
|
||||
DEPENDS = "bzip2 zlib db openssl elfutils expat libpcre attr acl popt ${extrarpmdeps}"
|
||||
extrarpmdeps = "python perl"
|
||||
extrarpmdeps_virtclass-native = "file-native"
|
||||
PR = "r34"
|
||||
PR = "r35"
|
||||
|
||||
# rpm2cpio is a shell script, which is part of the rpm src.rpm. It is needed
|
||||
# in order to extract the distribution SRPM into a format we can extract...
|
||||
@@ -174,7 +174,7 @@ EXTRA_OECONF = "--verbose \
|
||||
|
||||
CFLAGS_append = " -DRPM_VENDOR_WINDRIVER -DRPM_VENDOR_POKY"
|
||||
|
||||
PACKAGES = "${PN}-dbg ${PN} ${PN}-doc ${PN}-libs ${PN}-dev ${PN}-staticdev ${PN}-common ${PN}-build python-rpm-dbg python-rpm perl-module-rpm perl-module-rpm-dev ${PN}-locale"
|
||||
PACKAGES = "${PN}-dbg ${PN} ${PN}-doc ${PN}-libs ${PN}-dev ${PN}-staticdev ${PN}-common ${PN}-build python-rpm-dbg python-rpm-staticdev python-rpm perl-module-rpm perl-module-rpm-dev ${PN}-locale"
|
||||
|
||||
SOLIBS = "5.4.so"
|
||||
|
||||
@@ -302,6 +302,7 @@ RDEPENDS_${PN}-build = "file"
|
||||
#%rpmattr %{_rpmhome}/symclash.*
|
||||
|
||||
FILES_python-rpm-dbg = "${libdir}/python*/rpm/.debug/_*"
|
||||
FILES_python-rpm-staticdev = "${libdir}/python*/rpm/*.a"
|
||||
FILES_python-rpm = "${libdir}/python*/rpm"
|
||||
|
||||
FILES_perl-module-rpm = "${libdir}/perl/*/* \
|
||||
|
||||
Reference in New Issue
Block a user