From 10b7593a6048d0c126ac18ef71cc8c5f3e3e5320 Mon Sep 17 00:00:00 2001 From: Perry Werneck Date: Wed, 25 May 2016 11:31:50 -0300 Subject: [PATCH] Corrigindo identificador de major e minor no spec. --- configure.ac | 1 + pw3270.spec.in | 3 +-- 2 files changed, 2 insertions(+), 2 deletions(-) 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