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

This reverts commit 8df5cd0f6d.
This commit is contained in:
Milan Crha 2019-07-15 18:29:18 +02:00
parent 8df5cd0f6d
commit c9c5188faa

View File

@ -271,11 +271,7 @@ 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 \