[poky] wrong rpm name qt package

Richard Purdie richard.purdie at linuxfoundation.org
Thu May 26 02:43:01 PDT 2011


On Thu, 2011-05-26 at 09:31 +0200, Gerard van den Bosch wrote:
> I have developed a shared library using Qt, it compiles without any
> problems but it goes wrong with rpm packaging.
> When it packages it should create a rpm package with the name
> "libxmlpcpqt" but it creates a package with "libxmlpcpqt1".
> My question is where does the '1' come from?
> 
> The install part from the recipe is as follows:
> do_install() {
>      install -d ${D}${libdir}
>      install -m 0755 ${S}/${PN}.so ${D}${libdir}
> }
> 
> In
> the /tmp/work/armv7a-poky-linux-gnueabi/libxmlpcpqt-0.1-r1/image/usr/lib the libxmlpcpqt.so file correctly exists.

This happens as debian style package naming is enabled (debian.bbclass
is inherited).

Cheers,

Richard




More information about the poky mailing list