[pacman-dev] [PATCH] meson: fix incorrect libalpm version

Eli Schwartz eschwartz at archlinux.org
Thu Sep 19 03:46:58 UTC 2019


LIB_VERSION is supposed to be something like 11.0.1, not simply
reiterate the project version. As a result, we ended up with this:

$ pacman -V
[...]
Pacman v5.1.0 - libalpm v5.1.0
[...]

Signed-off-by: Eli Schwartz <eschwartz at archlinux.org>
---
 meson.build | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/meson.build b/meson.build
index 650e599f..f5601ff8 100644
--- a/meson.build
+++ b/meson.build
@@ -69,7 +69,7 @@ conf.set_quoted('PACKAGE_VERSION', PACKAGE_VERSION)
 conf.set_quoted('LOCALEDIR', LOCALEDIR)
 conf.set_quoted('SCRIPTLET_SHELL', get_option('scriptlet-shell'))
 conf.set_quoted('LDCONFIG', LDCONFIG)
-conf.set_quoted('LIB_VERSION', meson.project_version())
+conf.set_quoted('LIB_VERSION', libalpm_version)
 conf.set_quoted('SYSHOOKDIR', join_paths(DATAROOTDIR, 'libalpm/hooks/'))
 conf.set_quoted('CONFFILE', join_paths(SYSCONFDIR, 'pacman.conf'))
 conf.set_quoted('DBPATH', join_paths(LOCALSTATEDIR, 'lib/pacman/'))
-- 
2.23.0


More information about the pacman-dev mailing list