]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core-contrib.git/commitdiff
libassuan: drop -unknown suffix from version number
authorYi Zhao <yi.zhao@eng.windriver.com>
Wed, 2 Jul 2025 07:28:56 +0000 (15:28 +0800)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Thu, 3 Jul 2025 09:38:22 +0000 (10:38 +0100)
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]

Signed-off-by: Yi Zhao <yi.zhao@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/recipes-support/libassuan/libassuan_3.0.2.bb

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