Commit 55d06d6589e506b454ccfab460ae873b5240c132
1 parent
6e3984ad
Exists in
master
and in
4 other branches
PACKAGE_RELEASE macros is now a string to allow use of rpm's release.
Showing
2 changed files
with
2 additions
and
2 deletions
Show diff stats
configure.ac
... | ... | @@ -167,7 +167,7 @@ AC_ARG_WITH([release], [AS_HELP_STRING([--with-release], [Set release])], [ app_ |
167 | 167 | app_rls_major=$(echo $app_cv_release.0.0 | cut -d. -f1) |
168 | 168 | app_rls_minor=$(echo $app_cv_release.0.0 | cut -d. -f2) |
169 | 169 | |
170 | -AC_DEFINE_UNQUOTED(PACKAGE_RELEASE, $app_cv_release) | |
170 | +AC_DEFINE_UNQUOTED(PACKAGE_RELEASE, "$app_cv_release") | |
171 | 171 | AC_DEFINE_UNQUOTED(PACKAGE_MAJOR_RELEASE, $app_rls_major) |
172 | 172 | AC_DEFINE_UNQUOTED(PACKAGE_MINOR_RELEASE, $app_rls_minor) |
173 | 173 | ... | ... |
src/objects/application/actions/about.c
... | ... | @@ -93,7 +93,7 @@ |
93 | 93 | // Set version |
94 | 94 | { |
95 | 95 | #ifdef PACKAGE_RELEASE |
96 | - g_autofree gchar * version = g_strdup_printf(_("Version %s-%s"),PACKAGE_VERSION,G_STRINGIFY(PACKAGE_RELEASE)); | |
96 | + g_autofree gchar * version = g_strdup_printf(_("Version %s-%s"),PACKAGE_VERSION,PACKAGE_RELEASE); | |
97 | 97 | #else |
98 | 98 | g_autofree gchar * version = g_strdup_printf(_("Version %s-%s"),PACKAGE_VERSION,G_STRINGIFY(BUILD_DATE)); |
99 | 99 | #endif // PACKAGE_REVISION | ... | ... |