libassuan: drop -unknown suffix from version number

Include drop-unknown-suffix.inc to remove unknown suffix from version in
pc file.

Befor the fix:
$ cat /usr/lib/pkgconfig/libassuan.pc
[snip]
Name: libassuan
Description: IPC library for the GnuPG components
Requires.private: gpg-error
Version: 3.0.2-unknown
Cflags: -I${includedir}
[snip]

After the fix:
$ cat /usr/lib/pkgconfig/libassuan.pc
[snip]
Name: libassuan
Description: IPC library for the GnuPG components
Requires.private: gpg-error
Version: 3.0.2
Cflags: -I${includedir}
[snip]

(From OE-Core rev: 531a71a265c1db25ebea86f6d8c6b2f436145858)

Signed-off-by: Yi Zhao <yi.zhao@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
Yi Zhao 2025-07-02 15:28:56 +08:00 committed by Richard Purdie
parent 87af74ba63
commit cd6104d347

View File

@ -26,6 +26,8 @@ BINCONFIG = "${bindir}/libassuan-config"
inherit autotools texinfo binconfig-disabled pkgconfig multilib_header inherit autotools texinfo binconfig-disabled pkgconfig multilib_header
require recipes-support/gnupg/drop-unknown-suffix.inc
do_configure:prepend () { do_configure:prepend () {
# Else these could be used in preference to those in aclocal-copy # Else these could be used in preference to those in aclocal-copy
rm -f ${S}/m4/*.m4 rm -f ${S}/m4/*.m4