summaryrefslogtreecommitdiff
path: root/contrib
diff options
context:
space:
mode:
authorFrancesco Giudici <fgiudici@redhat.com>2017-12-04 12:25:38 +0100
committerFrancesco Giudici <fgiudici@redhat.com>2017-12-08 00:46:27 +0100
commit9d5cd7eae8edc8c558d26f04ffd163effafe57f9 (patch)
treebaf5a87f745cb5b416277de49f7d733bf5595c1a /contrib
parentb5f0d61d03620860d07580e199b0693c7646b53d (diff)
downloadNetworkManager-9d5cd7eae8edc8c558d26f04ffd163effafe57f9.tar.gz
Makefile: rework team compilation flagsfg/team_abstraction_tests_and_fixes_rh1398925
Rename the team functionality enablement from 'teamdctl' to 'team'. Force jansson lib requirement for team functionality: NetworkManager requires the teamd daemon to manage team. As teamd depends upon jansson lib, adding jansson requirement for teaming support in NetworkManager seems reasonable. Remove the jansson_validation flag, as the only generic json function in nmcli (not related to team) was the one to check if a string was in json format. Anyway, that function is used for team checks only. So, move also json validation functions under the WITH_TEAM flag.
Diffstat (limited to 'contrib')
-rw-r--r--contrib/fedora/rpm/NetworkManager.spec7
1 files changed, 3 insertions, 4 deletions
diff --git a/contrib/fedora/rpm/NetworkManager.spec b/contrib/fedora/rpm/NetworkManager.spec
index e0a0849933..b49b1cf07f 100644
--- a/contrib/fedora/rpm/NetworkManager.spec
+++ b/contrib/fedora/rpm/NetworkManager.spec
@@ -434,9 +434,9 @@ intltoolize --automake --copy --force
--disable-gtk-doc \
%endif
%if %{with team}
- --enable-teamdctl=yes \
+ --enable-team=yes \
%else
- --enable-teamdctl=no \
+ --enable-team=no \
%endif
%if %{with ovs}
--enable-ovs=yes \
@@ -472,8 +472,7 @@ intltoolize --automake --copy --force
--with-dist-version=%{version}-%{release} \
--with-config-plugins-default='ifcfg-rh,ibft' \
--with-config-dns-rc-manager-default=symlink \
- --with-config-logging-backend-default=journal \
- --enable-json-validation
+ --with-config-logging-backend-default=journal
make %{?_smp_mflags}