distro BUGFIX remove unnecessary build dependencies
Tests and docs are not built by default in Release build mode so doxygen
and cmocka are not needed.
Signed-off-by: Igor Ryzhov <iryzhov@nfware.com>
diff --git a/distro/pkg/deb/control b/distro/pkg/deb/control
index 2d7a03f..5ea6251 100644
--- a/distro/pkg/deb/control
+++ b/distro/pkg/deb/control
@@ -6,7 +6,6 @@
Standards-Version: 4.5.0
Build-Depends: cmake,
debhelper (>= 10),
- libcmocka-dev <!nocheck>,
libpcre2-dev,
pkg-config
Vcs-Browser: https://github.com/CESNET/libyang/tree/libyang2
diff --git a/distro/pkg/rpm/libyang2.spec b/distro/pkg/rpm/libyang2.spec
index 7fc3cd0..6dd4586 100644
--- a/distro/pkg/rpm/libyang2.spec
+++ b/distro/pkg/rpm/libyang2.spec
@@ -7,9 +7,7 @@
License: BSD-3-Clause
BuildRequires: cmake
-BuildRequires: doxygen
BuildRequires: gcc
-BuildRequires: libcmocka-devel
BuildRequires: make
BuildRequires: pcre2-devel