Commit 55d06d6589e506b454ccfab460ae873b5240c132

Authored by Perry Werneck
1 parent 6e3984ad

PACKAGE_RELEASE macros is now a string to allow use of rpm's release.

@@ -167,7 +167,7 @@ AC_ARG_WITH([release], [AS_HELP_STRING([--with-release], [Set release])], [ app_ @@ -167,7 +167,7 @@ AC_ARG_WITH([release], [AS_HELP_STRING([--with-release], [Set release])], [ app_
167 app_rls_major=$(echo $app_cv_release.0.0 | cut -d. -f1) 167 app_rls_major=$(echo $app_cv_release.0.0 | cut -d. -f1)
168 app_rls_minor=$(echo $app_cv_release.0.0 | cut -d. -f2) 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 AC_DEFINE_UNQUOTED(PACKAGE_MAJOR_RELEASE, $app_rls_major) 171 AC_DEFINE_UNQUOTED(PACKAGE_MAJOR_RELEASE, $app_rls_major)
172 AC_DEFINE_UNQUOTED(PACKAGE_MINOR_RELEASE, $app_rls_minor) 172 AC_DEFINE_UNQUOTED(PACKAGE_MINOR_RELEASE, $app_rls_minor)
173 173
src/objects/application/actions/about.c
@@ -93,7 +93,7 @@ @@ -93,7 +93,7 @@
93 // Set version 93 // Set version
94 { 94 {
95 #ifdef PACKAGE_RELEASE 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 #else 97 #else
98 g_autofree gchar * version = g_strdup_printf(_("Version %s-%s"),PACKAGE_VERSION,G_STRINGIFY(BUILD_DATE)); 98 g_autofree gchar * version = g_strdup_printf(_("Version %s-%s"),PACKAGE_VERSION,G_STRINGIFY(BUILD_DATE));
99 #endif // PACKAGE_REVISION 99 #endif // PACKAGE_REVISION