Commit fdc2fb32b45cde0c28e1b86920215db5d0c55d19
1 parent
515617f6
Exists in
master
and in
3 other branches
Updating package release based in rpm release.
Showing
2 changed files
with
3 additions
and
3 deletions
Show diff stats
configure.ac
@@ -187,9 +187,9 @@ app_rls_minor=$(echo $app_cv_release.0.0 | cut -d. -f2) | @@ -187,9 +187,9 @@ app_rls_minor=$(echo $app_cv_release.0.0 | cut -d. -f2) | ||
187 | 187 | ||
188 | AC_DEFINE_UNQUOTED(PACKAGE_MAJOR_RELEASE, $app_rls_major) | 188 | AC_DEFINE_UNQUOTED(PACKAGE_MAJOR_RELEASE, $app_rls_major) |
189 | AC_DEFINE_UNQUOTED(PACKAGE_MINOR_RELEASE, $app_rls_minor) | 189 | AC_DEFINE_UNQUOTED(PACKAGE_MINOR_RELEASE, $app_rls_minor) |
190 | -AC_DEFINE_UNQUOTED(PACKAGE_RELEASE, $app_cv_release) | 190 | +AC_DEFINE_UNQUOTED(PACKAGE_RELEASE, "$app_cv_release") |
191 | 191 | ||
192 | -AC_SUBST(PACKAGE_RELEASE,$app_cv_release) | 192 | +AC_SUBST(PACKAGE_RELEASE,"$app_cv_release") |
193 | AC_SUBST(PACKAGE_MAJOR_RELEASE,$app_rls_major) | 193 | AC_SUBST(PACKAGE_MAJOR_RELEASE,$app_rls_major) |
194 | AC_SUBST(PACKAGE_MINOR_RELEASE,$app_rls_minor) | 194 | AC_SUBST(PACKAGE_MINOR_RELEASE,$app_rls_minor) |
195 | 195 |
src/core/util.c
@@ -367,7 +367,7 @@ LIB3270_EXPORT const char * lib3270_get_revision(void) | @@ -367,7 +367,7 @@ LIB3270_EXPORT const char * lib3270_get_revision(void) | ||
367 | 367 | ||
368 | LIB3270_EXPORT char * lib3270_get_version_info(void) | 368 | LIB3270_EXPORT char * lib3270_get_version_info(void) |
369 | { | 369 | { |
370 | - return lib3270_strdup_printf("%s version %s-%d build %s",PACKAGE_NAME,PACKAGE_VERSION,PACKAGE_RELEASE,RPQ_TIMESTAMP_VALUE); | 370 | + return lib3270_strdup_printf("%s version %s-%s build %s",PACKAGE_NAME,PACKAGE_VERSION,PACKAGE_RELEASE,RPQ_TIMESTAMP_VALUE); |
371 | } | 371 | } |
372 | 372 | ||
373 | void lib3270_popup_an_errno(H3270 *hSession, int errn, const char *fmt, ...) | 373 | void lib3270_popup_an_errno(H3270 *hSession, int errn, const char *fmt, ...) |