From 8df5cd0f6da16b1ba03988d87bcc629d6c76791d Mon Sep 17 00:00:00 2001 From: Milan Crha Date: Mon, 15 Jul 2019 11:00:51 +0200 Subject: [PATCH] Note in the VERSION_SUBSTRING it's a Flatpak build when it's a Flatpak build --- evolution.spec | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/evolution.spec b/evolution.spec index b9d8624..db2e483 100644 --- a/evolution.spec +++ b/evolution.spec @@ -271,7 +271,11 @@ CFLAGS="$RPM_OPT_FLAGS -fPIC -DLDAP_DEPRECATED -Wno-sign-compare -Wno-deprecated %cmake -G "Unix Makefiles" \ -DENABLE_MAINTAINER_MODE=OFF \ +%if 0%{?flatpak} + -DVERSION_SUBSTRING=" (%{version}-%{release} Flatpak)" \ +%else -DVERSION_SUBSTRING=" (%{version}-%{release})" \ +%endif %ldap_flags %ssl_flags %gtkdoc_flags %tests_flags \ -DENABLE_PLUGINS=all \ -DENABLE_YTNEF=OFF \