Patchwork [11/26] rpm: Create ${PN}-staticdev package

login
register
mail settings
Submitter Saul Wold
Date July 11, 2011, 11:13 p.m.
Message ID <c5a86ee71f9a3fb65e9f411ffa3ef76f16530631.1310425837.git.sgw@linux.intel.com>
Download mbox | patch
Permalink /patch/7367/
State New, archived
Headers show

Comments

Saul Wold - July 11, 2011, 11:13 p.m.
Signed-off-by: Saul Wold <sgw@linux.intel.com>
---
 meta/recipes-devtools/rpm/rpm_5.4.0.bb |   16 +++++++++-------
 1 files changed, 9 insertions(+), 7 deletions(-)
Koen Kooi - July 12, 2011, 7:11 a.m.
Op 12 jul 2011, om 01:13 heeft Saul Wold het volgende geschreven:

> Signed-off-by: Saul Wold <sgw@linux.intel.com>

Missing PR bump


> ---
> meta/recipes-devtools/rpm/rpm_5.4.0.bb |   16 +++++++++-------
> 1 files changed, 9 insertions(+), 7 deletions(-)
> 
> diff --git a/meta/recipes-devtools/rpm/rpm_5.4.0.bb b/meta/recipes-devtools/rpm/rpm_5.4.0.bb
> index d093345..5e6d0a4 100644
> --- a/meta/recipes-devtools/rpm/rpm_5.4.0.bb
> +++ b/meta/recipes-devtools/rpm/rpm_5.4.0.bb
> @@ -166,7 +166,7 @@ EXTRA_OECONF = "--verbose \
> 
> CFLAGS_append = " -DRPM_VENDOR_WINDRIVER -DRPM_VENDOR_POKY"
> 
> -PACKAGES = "${PN}-dbg ${PN} ${PN}-doc ${PN}-libs ${PN}-dev ${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 perl-module-rpm perl-module-rpm-dev ${PN}-locale"
> 
> SOLIBS = "5.4.so"
> 
> @@ -301,26 +301,28 @@ FILES_perl-module-rpm-dev = "${prefix}/share/man/man3/RPM* \
> 		"
> 
> FILE_${PN}-dev = "${includedir}/rpm \
> -		${libdir}/librpm.a \
> 		${libdir}/librpm.la \
> 		${libdir}/librpm.so \
> -		${libdir}/librpmconstant.a \
> 		${libdir}/librpmconstant.la \
> 		${libdir}/librpmconstant.so \
> -		${libdir}/librpmdb.a \
> 		${libdir}/librpmdb.la \
> 		${libdir}/librpmdb.so \
> -		${libdir}/librpmio.a \
> 		${libdir}/librpmio.la \
> 		${libdir}/librpmio.so \
> -		${libdir}/librpmmisc.a \
> 		${libdir}/librpmmisc.la \
> 		${libdir}/librpmmisc.so \
> -		${libdir}/librpmbuild.a \
> 		${libdir}/librpmbuild.la \
> 		${libdir}/librpmbuild.so \
> 		${libdir}/pkgconfig/rpm.pc \
> 		"
> +FILE_${PN}-staticdev = " \
> +		${libdir}/librpm.a \
> +		${libdir}/librpmconstant.a \
> +		${libdir}/librpmdb.a \
> +		${libdir}/librpmio.a \
> +		${libdir}/librpmmisc.a \
> +		${libdir}/librpmbuild.a \
> +                "
> 
> ###%{_rpmhome}/lib/libxar.a
> ###%{_rpmhome}/lib/libxar.la
> -- 
> 1.7.3.4
> 
> 
> _______________________________________________
> Openembedded-core mailing list
> Openembedded-core@lists.openembedded.org
> http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core

Patch

diff --git a/meta/recipes-devtools/rpm/rpm_5.4.0.bb b/meta/recipes-devtools/rpm/rpm_5.4.0.bb
index d093345..5e6d0a4 100644
--- a/meta/recipes-devtools/rpm/rpm_5.4.0.bb
+++ b/meta/recipes-devtools/rpm/rpm_5.4.0.bb
@@ -166,7 +166,7 @@  EXTRA_OECONF = "--verbose \
 
 CFLAGS_append = " -DRPM_VENDOR_WINDRIVER -DRPM_VENDOR_POKY"
 
-PACKAGES = "${PN}-dbg ${PN} ${PN}-doc ${PN}-libs ${PN}-dev ${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 perl-module-rpm perl-module-rpm-dev ${PN}-locale"
 
 SOLIBS = "5.4.so"
 
@@ -301,26 +301,28 @@  FILES_perl-module-rpm-dev = "${prefix}/share/man/man3/RPM* \
 		"
 
 FILE_${PN}-dev = "${includedir}/rpm \
-		${libdir}/librpm.a \
 		${libdir}/librpm.la \
 		${libdir}/librpm.so \
-		${libdir}/librpmconstant.a \
 		${libdir}/librpmconstant.la \
 		${libdir}/librpmconstant.so \
-		${libdir}/librpmdb.a \
 		${libdir}/librpmdb.la \
 		${libdir}/librpmdb.so \
-		${libdir}/librpmio.a \
 		${libdir}/librpmio.la \
 		${libdir}/librpmio.so \
-		${libdir}/librpmmisc.a \
 		${libdir}/librpmmisc.la \
 		${libdir}/librpmmisc.so \
-		${libdir}/librpmbuild.a \
 		${libdir}/librpmbuild.la \
 		${libdir}/librpmbuild.so \
 		${libdir}/pkgconfig/rpm.pc \
 		"
+FILE_${PN}-staticdev = " \
+		${libdir}/librpm.a \
+		${libdir}/librpmconstant.a \
+		${libdir}/librpmdb.a \
+		${libdir}/librpmio.a \
+		${libdir}/librpmmisc.a \
+		${libdir}/librpmbuild.a \
+                "
 
 ###%{_rpmhome}/lib/libxar.a
 ###%{_rpmhome}/lib/libxar.la