diff --git a/configure.ac b/configure.ac index feaf025705..9963c4d104 100644 --- a/configure.ac +++ b/configure.ac @@ -1109,20 +1109,8 @@ if test -n "$INTROSPECTION_MAKEFILE" -a "$enable_gtk_doc" = "yes"; then # gtk-doc depends on perl, but we can check for it anyway AC_PATH_PROG(PERL, perl, no) - # check for needed perl modules (use YAML; YAML::XS is better, but may not be so widespread) - required_perl_modules="YAML" - for module in $required_perl_modules; do - AC_MSG_CHECKING([checking for perl module '$module']) - if ${PERL} -e 'use '$module 2>/dev/null ; then - AC_MSG_RESULT([Ok]) - have_perl_modules=yes - else - AC_MSG_RESULT([Failed]) - AC_MSG_ERROR([You must have Perl modules to build settings plugin docs: $required_perl_modules.]) - fi - done - if test "$have_pyobject" = "yes" -a "$have_perl_modules" = "yes"; then + if test "$have_pyobject" = "yes"; then AC_DEFINE(BUILD_SETTING_DOCS, [1], [Define if you we can build nm-setting-docs.xml, nm-keyfile-docs.xml and nm-ifcfg-rh-docs.xml]) build_setting_docs=yes fi diff --git a/contrib/fedora/REQUIRED_PACKAGES b/contrib/fedora/REQUIRED_PACKAGES index 3d5d32eb7a..14d15d2b8b 100644 --- a/contrib/fedora/REQUIRED_PACKAGES +++ b/contrib/fedora/REQUIRED_PACKAGES @@ -39,8 +39,6 @@ yum install \ readline-devel \ teamd-devel \ rpm-build \ - perl-YAML-LibYAML \ - perl-YAML \ audit-libs-devel \ bluez-libs-devel \ dbus-python \ diff --git a/contrib/fedora/nm-live-vm/build.sh b/contrib/fedora/nm-live-vm/build.sh index e245dab579..d63a0cb392 100755 --- a/contrib/fedora/nm-live-vm/build.sh +++ b/contrib/fedora/nm-live-vm/build.sh @@ -41,7 +41,6 @@ PACKAGES="kernel passwd git autoconf automake libtool intltool gtk-doc libnl3-de bash-completion man-db man-pages vim-minimal firewalld vim - perl-YAML wget gdb valgrind lsof strace nmap-ncat tcpdump net-tools bridge-utils vconfig diff --git a/contrib/fedora/rpm/NetworkManager.spec b/contrib/fedora/rpm/NetworkManager.spec index 15d31baada..f349c10581 100644 --- a/contrib/fedora/rpm/NetworkManager.spec +++ b/contrib/fedora/rpm/NetworkManager.spec @@ -139,7 +139,6 @@ BuildRequires: gettext-devel BuildRequires: pkgconfig BuildRequires: libnl3-devel >= %{libnl3_version} BuildRequires: perl(XML::Parser) -BuildRequires: perl(YAML) BuildRequires: automake autoconf intltool libtool BuildRequires: ppp-devel >= 2.4.5 BuildRequires: nss-devel >= 3.11.7