Note in the VERSION_SUBSTRING it's a Flatpak build when it's a Flatpak build

This commit is contained in:
Milan Crha 2019-07-15 11:00:51 +02:00
parent 6c7b609936
commit 8df5cd0f6d

View File

@ -271,7 +271,11 @@ CFLAGS="$RPM_OPT_FLAGS -fPIC -DLDAP_DEPRECATED -Wno-sign-compare -Wno-deprecated
%cmake -G "Unix Makefiles" \ %cmake -G "Unix Makefiles" \
-DENABLE_MAINTAINER_MODE=OFF \ -DENABLE_MAINTAINER_MODE=OFF \
%if 0%{?flatpak}
-DVERSION_SUBSTRING=" (%{version}-%{release} Flatpak)" \
%else
-DVERSION_SUBSTRING=" (%{version}-%{release})" \ -DVERSION_SUBSTRING=" (%{version}-%{release})" \
%endif
%ldap_flags %ssl_flags %gtkdoc_flags %tests_flags \ %ldap_flags %ssl_flags %gtkdoc_flags %tests_flags \
-DENABLE_PLUGINS=all \ -DENABLE_PLUGINS=all \
-DENABLE_YTNEF=OFF \ -DENABLE_YTNEF=OFF \