]> git.pld-linux.org Git - packages/evolution-data-server.git/commitdiff
- switch to cmake_on_off macro
authorAdam Gołębiowski <adamg@pld-linux.org>
Mon, 15 Apr 2019 09:26:49 +0000 (11:26 +0200)
committerAdam Gołębiowski <adamg@pld-linux.org>
Mon, 15 Apr 2019 09:26:49 +0000 (11:26 +0200)
evolution-data-server.spec

index 656ddd2f011bbfad6228bdc591a0115ffc3671e3..02dd2941523077cfdd95282652581544d867adf5 100644 (file)
@@ -53,7 +53,7 @@ BuildRequires:        nss-devel >= 3
 %{?with_ldap:BuildRequires:    openldap-devel >= 2.4.6}
 BuildRequires: pkgconfig
 %{?with_goa:BuildRequires:     rest-devel >= 0.7}
-BuildRequires: rpmbuild(macros) >= 1.304
+BuildRequires: rpmbuild(macros) >= 1.742
 BuildRequires: sqlite3-devel >= 3.7.17
 BuildRequires: tar >= 1:1.22
 %{?with_vala:BuildRequires:    vala >= 2:0.22.0}
@@ -222,11 +222,11 @@ API serwera danych Evolution dla języka Vala.
 %cmake \
        -DLIBEXEC_INSTALL_DIR=%{_libexecdir} \
        %{?with_kerberos5:-DWITH_KRB5=%{_prefix} -DWITH_KRB5_LIBS=%{_libdir}} \
-       %{!?with_kerberos5:-DWITH_KRB5=OFF} \
-       %{!?with_ldap:-DWITH_OPENLDAP=OFF} \
-       %{?with_apidocs:-DENABLE_GTK_DOC=ON} \
-       %{?with_vala:-DENABLE_VALA_BINDINGS=ON} \
-       %{?with_goa:-DENABLE_GOA=ON} \
+       %{cmake_on_off kerberos5 WITH_KRB5} \
+       %{cmake_on_off ldap WITH_OPENLDAP} \
+       %{cmake_on_off apidocs ENABLE_GTK_DOC} \
+       %{cmake_on_off vala ENABLE_VALA_BINDINGS} \
+       %{cmake_on_off goa ENABLE_GOA} \
        -DENABLE_SCHEMAS_COMPILE=OFF \
        -DENABLE_INTROSPECTION=ON
 
This page took 0.114601 seconds and 4 git commands to generate.