diff --git a/configure.ac b/configure.ac index e6dadad..4271cb3 100644 --- a/configure.ac +++ b/configure.ac @@ -870,6 +870,7 @@ if test "$app_cv_registry" == "yes"; then fi AC_SUBST(MAJOR_VERSION,"$(echo $PACKAGE_VERSION | cut -d. -f1)") +AC_SUBST(MINOR_VERSION,"$(echo $PACKAGE_VERSION | cut -d. -f2)") AC_SUBST(HOST_CC) AC_SUBST(EXEEXT) AC_SUBST(DLLPREFIX) diff --git a/pw3270.spec.in b/pw3270.spec.in index 9502788..2b3644d 100644 --- a/pw3270.spec.in +++ b/pw3270.spec.in @@ -16,8 +16,7 @@ # Please submit bugfixes or comments via http://bugs.opensuse.org/ # -%define LIBVERSION %(echo @PACKAGE_VERSION@ | sed -e "s@.@_@g") -#5_1 +%define LIBVERSION @MAJOR_VERSION@_@MINOR_VERSION@ # # References: -- libgit2 0.21.2