From 285ea93a6566c7f5a37eb956cea7566d2f58ce1e Mon Sep 17 00:00:00 2001 From: Maxime Besson Date: Wed, 4 Sep 2019 15:40:10 +0200 Subject: [PATCH] Remove dependency to XML::Simple (#1491) --- INSTALL | 12 ++++++------ debian/control | 7 ++----- doc/sources/admin/contribute.rst | 2 +- doc/sources/admin/prereq.rst | 5 ++--- lemonldap-ng-portal/META.json | 3 +-- lemonldap-ng-portal/META.yml | 1 - lemonldap-ng-portal/Makefile.PL | 1 - .../t/31-Auth-and-issuer-CAS-Logout-20.t | 3 --- .../t/31-Auth-and-issuer-CAS-Logout-30.t | 3 --- .../t/31-Auth-and-issuer-CAS-XSS-on-logout.t | 3 --- .../t/31-Auth-and-issuer-CAS-declared-app-userattr.t | 3 --- .../t/31-Auth-and-issuer-CAS-declared-app.t | 3 --- .../t/31-Auth-and-issuer-CAS-declared-apps.t | 3 --- .../t/31-Auth-and-issuer-CAS-default.t | 3 --- .../t/31-Auth-and-issuer-CAS-gateway.t | 3 --- .../t/31-Auth-and-issuer-CAS-proxied.t | 3 --- .../31-Auth-and-issuer-CAS-with-choice-and-cancel.t | 3 --- .../t/31-Auth-and-issuer-CAS-with-choice.t | 3 --- lemonldap-ng-portal/t/32-CAS-10.t | 3 --- lemonldap-ng-portal/t/32-CAS-Macros.t | 3 --- .../t/37-CAS-App-to-SAML-IdP-POST-with-WAYF.t | 4 ++-- lemonldap-ng-portal/t/37-CAS-App-to-SAML-IdP-POST.t | 4 ++-- .../t/37-SAML-SP-POST-to-CAS-server-with-Choice.t | 4 ++-- .../t/37-SAML-SP-POST-to-CAS-server.t | 4 ++-- rpm/lemonldap-ng.spec | 1 - 25 files changed, 20 insertions(+), 67 deletions(-) diff --git a/INSTALL b/INSTALL index 5556dfd53..d03298b2a 100644 --- a/INSTALL +++ b/INSTALL @@ -31,12 +31,12 @@ package for Debian works fine). Perl modules: Apache::Session, Net::LDAP, MIME::Base64, CGI, LWP::UserAgent, Cache::Cache, - DBI, XML::Simple, SOAP::Lite, HTML::Template, XML::LibXML, XML::LibXSLT + DBI, SOAP::Lite, HTML::Template, XML::LibXML, XML::LibXSLT With Debian: apt-get install libapache-session-perl libnet-ldap-perl libcache-cache-perl \ libdbi-perl perl-modules libwww-perl libcache-cache-perl \ - libxml-simple-perl libhtml-template-perl libsoap-lite-perl \ + libhtml-template-perl libsoap-lite-perl \ libxml-libxml-perl libxml-libxslt-perl 1.2 - BUILDING @@ -129,17 +129,17 @@ to access to configuration. Manager: -------- -Apache::Session, MIME::Base64, CGI, LWP::UserAgent, DBI, XML::Simple, +Apache::Session, MIME::Base64, CGI, LWP::UserAgent, DBI, SOAP::Lite, XML::LibXML, XML::LibXSLT, Lemonldap::NG::Common With Debian: - apt-get install perl-modules libxml-simple-perl libdbi-perl libwww-perl + apt-get install perl-modules libdbi-perl libwww-perl # If you want to use SOAP apt-get install libsoap-lite-perl Portal: ------- -Apache::Session, Net::LDAP, MIME::Base64, CGI, Cache::Cache, DBI, XML::Simple, +Apache::Session, Net::LDAP, MIME::Base64, CGI, Cache::Cache, DBI, SOAP::Lite, HTML::Template, XML::LibXML, Lemonldap::NG::Common With Debian: @@ -148,7 +148,7 @@ With Debian: Handler: -------- Apache::Session, MIME::Base64, CGI, LWP::UserAgent, Cache::Cache, DBI, -XML::Simple, SOAP::Lite, Lemonldap::NG::Common +SOAP::Lite, Lemonldap::NG::Common With Debian: apt-get install libapache-session-perl libwww-perl libcache-cache-perl diff --git a/debian/control b/debian/control index 7cd4da7f0..140b5da48 100644 --- a/debian/control +++ b/debian/control @@ -52,7 +52,6 @@ Build-Depends-Indep: libapache-session-perl , libwww-perl , libxml-libxml-perl , libxml-libxslt-perl , - libxml-simple-perl , python3-sphinx, python3-sphinx-rtd-theme, perl @@ -223,8 +222,7 @@ Recommends: libapache-session-browseable-perl, Suggests: libconvert-base32-perl, libnet-ldap-perl, libsoap-lite-perl, - libxml-libxml-perl, - libxml-simple-perl + libxml-libxml-perl Conflicts: liblemonldap-ng-cli-perl Description: Lemonldap::NG common files Lemonldap::NG is a complete Web-SSO system that can run with reverse-proxies @@ -251,8 +249,7 @@ Depends: ${misc:Depends}, lemonldap-ng-fastcgi-server (= ${binary:Version}) | lemonldap-ng-uwsgi-app (= ${binary:Version}) | apache2 | httpd-cgi Recommends: lemonldap-ng-doc (= ${binary:Version}), libxml-libxml-perl, - libxml-libxslt-perl, - libxml-simple-perl + libxml-libxslt-perl Suggests: libclone-perl, libregexp-assemble-perl Pre-Depends: debconf diff --git a/doc/sources/admin/contribute.rst b/doc/sources/admin/contribute.rst index 3cfd49684..6ce5ec562 100644 --- a/doc/sources/admin/contribute.rst +++ b/doc/sources/admin/contribute.rst @@ -128,7 +128,7 @@ Install dependencies :: - aptitude install libapache-session-perl libcache-cache-perl libclone-perl libconfig-inifiles-perl libconvert-pem-perl libcrypt-openssl-bignum-perl libcrypt-openssl-rsa-perl libcrypt-openssl-x509-perl libcrypt-rijndael-perl libdbi-perl libdigest-hmac-perl libemail-sender-perl libgd-securityimage-perl libhtml-template-perl libio-string-perl libjson-perl libmime-tools-perl libmouse-perl libnet-ldap-perl libplack-perl libregexp-assemble-perl libregexp-common-perl libsoap-lite-perl libstring-random-perl libtext-unidecode-perl libunicode-string-perl liburi-perl libwww-perl libxml-simple-perl libxml-libxslt-perl libcrypt-urandom-perl libconvert-base32-perl cpanminus + aptitude install libapache-session-perl libcache-cache-perl libclone-perl libconfig-inifiles-perl libconvert-pem-perl libcrypt-openssl-bignum-perl libcrypt-openssl-rsa-perl libcrypt-openssl-x509-perl libcrypt-rijndael-perl libdbi-perl libdigest-hmac-perl libemail-sender-perl libgd-securityimage-perl libhtml-template-perl libio-string-perl libjson-perl libmime-tools-perl libmouse-perl libnet-ldap-perl libplack-perl libregexp-assemble-perl libregexp-common-perl libsoap-lite-perl libstring-random-perl libtext-unidecode-perl libunicode-string-perl liburi-perl libwww-perl libxml-libxslt-perl libcrypt-urandom-perl libconvert-base32-perl cpanminus aptitude install apache2 libapache2-mod-fcgid libapache2-mod-perl2 # install Apache aptitude install nginx nginx-extras # install Nginx cpanm perltidy@20181120 diff --git a/doc/sources/admin/prereq.rst b/doc/sources/admin/prereq.rst index 51b9f784e..efeaea869 100644 --- a/doc/sources/admin/prereq.rst +++ b/doc/sources/admin/prereq.rst @@ -88,7 +88,6 @@ SAML2 - `Lasso `__ - GLib -- XML::Simple Second factor ~~~~~~~~~~~~~ @@ -169,7 +168,7 @@ Perl dependencies: :: - apt install libapache-session-perl libcache-cache-perl libclone-perl libconfig-inifiles-perl libconvert-pem-perl libcrypt-openssl-bignum-perl libcrypt-openssl-rsa-perl libcrypt-openssl-x509-perl libcrypt-rijndael-perl libdbi-perl libdigest-hmac-perl libemail-sender-perl libgd-securityimage-perl libhtml-template-perl libio-string-perl libjson-perl libmime-tools-perl libmouse-perl libnet-ldap-perl libplack-perl libregexp-assemble-perl libregexp-common-perl libsoap-lite-perl libstring-random-perl libunicode-string-perl liburi-perl libwww-perl libxml-simple-perl libxml-libxslt-perl libcrypt-urandom-perl libtext-unidecode-perl libcookie-baker-xs-perl + apt install libapache-session-perl libcache-cache-perl libclone-perl libconfig-inifiles-perl libconvert-pem-perl libcrypt-openssl-bignum-perl libcrypt-openssl-rsa-perl libcrypt-openssl-x509-perl libcrypt-rijndael-perl libdbi-perl libdigest-hmac-perl libemail-sender-perl libgd-securityimage-perl libhtml-template-perl libio-string-perl libjson-perl libmime-tools-perl libmouse-perl libnet-ldap-perl libplack-perl libregexp-assemble-perl libregexp-common-perl libsoap-lite-perl libstring-random-perl libunicode-string-perl liburi-perl libwww-perl libxml-libxslt-perl libcrypt-urandom-perl libtext-unidecode-perl libcookie-baker-xs-perl For Apache: @@ -199,7 +198,7 @@ Perl dependencies: :: - yum install perl-Apache-Session perl-Cache-Cache perl-Clone perl-Config-IniFiles perl-Convert-PEM perl-Crypt-OpenSSL-RSA perl-Crypt-OpenSSL-X509 perl-Crypt-Rijndael perl-Digest-HMAC perl-Digest-SHA perl-GD-SecurityImage perl-HTML-Template perl-IO-String perl-JSON perl-LDAP perl-Mouse perl-Plack perl-Regexp-Assemble perl-Regexp-Common perl-SOAP-Lite perl-String-Random perl-Unicode-String perl-version perl-XML-Simple perl-Crypt-URandom perl-Email-Sender + yum install perl-Apache-Session perl-Cache-Cache perl-Clone perl-Config-IniFiles perl-Convert-PEM perl-Crypt-OpenSSL-RSA perl-Crypt-OpenSSL-X509 perl-Crypt-Rijndael perl-Digest-HMAC perl-Digest-SHA perl-GD-SecurityImage perl-HTML-Template perl-IO-String perl-JSON perl-LDAP perl-Mouse perl-Plack perl-Regexp-Assemble perl-Regexp-Common perl-SOAP-Lite perl-String-Random perl-Unicode-String perl-version perl-Crypt-URandom perl-Email-Sender For Apache: diff --git a/lemonldap-ng-portal/META.json b/lemonldap-ng-portal/META.json index c1a6388ed..2baa166ea 100644 --- a/lemonldap-ng-portal/META.json +++ b/lemonldap-ng-portal/META.json @@ -32,8 +32,7 @@ "MIME::Entity" : "0", "SOAP::Lite" : "0", "Text::Unidecode" : "0", - "XML::LibXML" : "0", - "XML::Simple" : "0" + "XML::LibXML" : "0" } }, "configure" : { diff --git a/lemonldap-ng-portal/META.yml b/lemonldap-ng-portal/META.yml index 2b7598d53..136fcae71 100644 --- a/lemonldap-ng-portal/META.yml +++ b/lemonldap-ng-portal/META.yml @@ -14,7 +14,6 @@ build_requires: SOAP::Lite: '0' Text::Unidecode: '0' XML::LibXML: '0' - XML::Simple: '0' configure_requires: ExtUtils::MakeMaker: '0' dynamic_config: 1 diff --git a/lemonldap-ng-portal/Makefile.PL b/lemonldap-ng-portal/Makefile.PL index e1ab938a2..663f4d9c1 100644 --- a/lemonldap-ng-portal/Makefile.PL +++ b/lemonldap-ng-portal/Makefile.PL @@ -63,7 +63,6 @@ WriteMakefile( 'SOAP::Lite' => 0, 'Text::Unidecode' => 0, 'XML::LibXML' => 0, - 'XML::Simple' => 0, }, PREREQ_PM => { 'Clone' => 0, diff --git a/lemonldap-ng-portal/t/31-Auth-and-issuer-CAS-Logout-20.t b/lemonldap-ng-portal/t/31-Auth-and-issuer-CAS-Logout-20.t index c61fbfbe8..0e660c28a 100644 --- a/lemonldap-ng-portal/t/31-Auth-and-issuer-CAS-Logout-20.t +++ b/lemonldap-ng-portal/t/31-Auth-and-issuer-CAS-Logout-20.t @@ -13,9 +13,6 @@ BEGIN { my $debug = 'error'; my ( $issuer, $sp, $res ); -eval { require XML::Simple }; -plan skip_all => "Missing dependencies: $@" if ($@); - # Redefine LWP methods for tests LWP::Protocol::PSGI->register( sub { diff --git a/lemonldap-ng-portal/t/31-Auth-and-issuer-CAS-Logout-30.t b/lemonldap-ng-portal/t/31-Auth-and-issuer-CAS-Logout-30.t index e11c5dc86..2ec148238 100644 --- a/lemonldap-ng-portal/t/31-Auth-and-issuer-CAS-Logout-30.t +++ b/lemonldap-ng-portal/t/31-Auth-and-issuer-CAS-Logout-30.t @@ -13,9 +13,6 @@ BEGIN { my $debug = 'error'; my ( $issuer, $sp, $res ); -eval { require XML::Simple }; -plan skip_all => "Missing dependencies: $@" if ($@); - # Redefine LWP methods for tests LWP::Protocol::PSGI->register( sub { diff --git a/lemonldap-ng-portal/t/31-Auth-and-issuer-CAS-XSS-on-logout.t b/lemonldap-ng-portal/t/31-Auth-and-issuer-CAS-XSS-on-logout.t index 559af24ef..67b337d84 100644 --- a/lemonldap-ng-portal/t/31-Auth-and-issuer-CAS-XSS-on-logout.t +++ b/lemonldap-ng-portal/t/31-Auth-and-issuer-CAS-XSS-on-logout.t @@ -13,9 +13,6 @@ BEGIN { my $debug = 'error'; my ( $issuer, $sp, $res ); -eval { require XML::Simple }; -plan skip_all => "Missing dependencies: $@" if ($@); - # Redefine LWP methods for tests LWP::Protocol::PSGI->register( sub { diff --git a/lemonldap-ng-portal/t/31-Auth-and-issuer-CAS-declared-app-userattr.t b/lemonldap-ng-portal/t/31-Auth-and-issuer-CAS-declared-app-userattr.t index f05ee6d18..4d2a595e2 100644 --- a/lemonldap-ng-portal/t/31-Auth-and-issuer-CAS-declared-app-userattr.t +++ b/lemonldap-ng-portal/t/31-Auth-and-issuer-CAS-declared-app-userattr.t @@ -13,9 +13,6 @@ BEGIN { my $debug = 'error'; my ( $issuer, $sp, $res ); -eval { require XML::Simple }; -plan skip_all => "Missing dependencies: $@" if ($@); - # Redefine LWP methods for tests LWP::Protocol::PSGI->register( sub { diff --git a/lemonldap-ng-portal/t/31-Auth-and-issuer-CAS-declared-app.t b/lemonldap-ng-portal/t/31-Auth-and-issuer-CAS-declared-app.t index ad7c35a2b..e0cc0b973 100644 --- a/lemonldap-ng-portal/t/31-Auth-and-issuer-CAS-declared-app.t +++ b/lemonldap-ng-portal/t/31-Auth-and-issuer-CAS-declared-app.t @@ -13,9 +13,6 @@ BEGIN { my $debug = 'error'; my ( $issuer, $sp, $res ); -eval { require XML::Simple }; -plan skip_all => "Missing dependencies: $@" if ($@); - # Redefine LWP methods for tests LWP::Protocol::PSGI->register( sub { diff --git a/lemonldap-ng-portal/t/31-Auth-and-issuer-CAS-declared-apps.t b/lemonldap-ng-portal/t/31-Auth-and-issuer-CAS-declared-apps.t index 4039e3eb1..789ca197b 100644 --- a/lemonldap-ng-portal/t/31-Auth-and-issuer-CAS-declared-apps.t +++ b/lemonldap-ng-portal/t/31-Auth-and-issuer-CAS-declared-apps.t @@ -13,9 +13,6 @@ BEGIN { my $debug = 'error'; my ( $issuer, $sp, $res ); -eval { require XML::Simple }; -plan skip_all => "Missing dependencies: $@" if ($@); - # Redefine LWP methods for tests LWP::Protocol::PSGI->register( sub { diff --git a/lemonldap-ng-portal/t/31-Auth-and-issuer-CAS-default.t b/lemonldap-ng-portal/t/31-Auth-and-issuer-CAS-default.t index 0eedbfd11..8386dcb3a 100644 --- a/lemonldap-ng-portal/t/31-Auth-and-issuer-CAS-default.t +++ b/lemonldap-ng-portal/t/31-Auth-and-issuer-CAS-default.t @@ -13,9 +13,6 @@ BEGIN { my $debug = 'error'; my ( $issuer, $sp, $res ); -eval { require XML::Simple }; -plan skip_all => "Missing dependencies: $@" if ($@); - # Redefine LWP methods for tests LWP::Protocol::PSGI->register( sub { diff --git a/lemonldap-ng-portal/t/31-Auth-and-issuer-CAS-gateway.t b/lemonldap-ng-portal/t/31-Auth-and-issuer-CAS-gateway.t index f1cb186b4..f9162ebf7 100644 --- a/lemonldap-ng-portal/t/31-Auth-and-issuer-CAS-gateway.t +++ b/lemonldap-ng-portal/t/31-Auth-and-issuer-CAS-gateway.t @@ -13,9 +13,6 @@ BEGIN { my $debug = 'error'; my ( $issuer, $sp, $res ); -eval { require XML::Simple }; -plan skip_all => "Missing dependencies: $@" if ($@); - # Redefine LWP methods for tests LWP::Protocol::PSGI->register( sub { diff --git a/lemonldap-ng-portal/t/31-Auth-and-issuer-CAS-proxied.t b/lemonldap-ng-portal/t/31-Auth-and-issuer-CAS-proxied.t index cc9515f08..1c2619586 100644 --- a/lemonldap-ng-portal/t/31-Auth-and-issuer-CAS-proxied.t +++ b/lemonldap-ng-portal/t/31-Auth-and-issuer-CAS-proxied.t @@ -13,9 +13,6 @@ BEGIN { my $debug = 'error'; my ( $issuer, $sp, $res ); -eval { require XML::Simple }; -plan skip_all => "Missing dependencies: $@" if ($@); - # Redefine LWP methods for tests LWP::Protocol::PSGI->register( sub { diff --git a/lemonldap-ng-portal/t/31-Auth-and-issuer-CAS-with-choice-and-cancel.t b/lemonldap-ng-portal/t/31-Auth-and-issuer-CAS-with-choice-and-cancel.t index 3694a8bcc..428a03687 100644 --- a/lemonldap-ng-portal/t/31-Auth-and-issuer-CAS-with-choice-and-cancel.t +++ b/lemonldap-ng-portal/t/31-Auth-and-issuer-CAS-with-choice-and-cancel.t @@ -15,9 +15,6 @@ my $maintests = 12; my $debug = 'error'; my ( $issuer, $sp, $res ); -eval { require XML::Simple }; -plan skip_all => "Missing dependencies: $@" if ($@); - # Redefine LWP methods for tests LWP::Protocol::PSGI->register( sub { diff --git a/lemonldap-ng-portal/t/31-Auth-and-issuer-CAS-with-choice.t b/lemonldap-ng-portal/t/31-Auth-and-issuer-CAS-with-choice.t index 8d7194ce3..320bb9cd4 100644 --- a/lemonldap-ng-portal/t/31-Auth-and-issuer-CAS-with-choice.t +++ b/lemonldap-ng-portal/t/31-Auth-and-issuer-CAS-with-choice.t @@ -15,9 +15,6 @@ my $maintests = 21; my $debug = 'error'; my ( $issuer, $sp, $res ); -eval { require XML::Simple }; -plan skip_all => "Missing dependencies: $@" if ($@); - # Redefine LWP methods for tests LWP::Protocol::PSGI->register( sub { diff --git a/lemonldap-ng-portal/t/32-CAS-10.t b/lemonldap-ng-portal/t/32-CAS-10.t index 0a30e3aea..d5abd142a 100644 --- a/lemonldap-ng-portal/t/32-CAS-10.t +++ b/lemonldap-ng-portal/t/32-CAS-10.t @@ -13,9 +13,6 @@ BEGIN { my $debug = 'error'; my ( $issuer, $res ); -eval { require XML::Simple }; -plan skip_all => "Missing dependencies: $@" if ($@); - ok( $issuer = issuer(), 'Issuer portal' ); count(1); switch ('issuer'); diff --git a/lemonldap-ng-portal/t/32-CAS-Macros.t b/lemonldap-ng-portal/t/32-CAS-Macros.t index a6f09b440..082e8c8d2 100644 --- a/lemonldap-ng-portal/t/32-CAS-Macros.t +++ b/lemonldap-ng-portal/t/32-CAS-Macros.t @@ -13,9 +13,6 @@ BEGIN { my $debug = 'error'; my ( $issuer, $res ); -eval { require XML::Simple }; -plan skip_all => "Missing dependencies: $@" if ($@); - ok( $issuer = issuer(), 'Issuer portal' ); count(1); diff --git a/lemonldap-ng-portal/t/37-CAS-App-to-SAML-IdP-POST-with-WAYF.t b/lemonldap-ng-portal/t/37-CAS-App-to-SAML-IdP-POST-with-WAYF.t index 10d62bd70..36d05fa36 100644 --- a/lemonldap-ng-portal/t/37-CAS-App-to-SAML-IdP-POST-with-WAYF.t +++ b/lemonldap-ng-portal/t/37-CAS-App-to-SAML-IdP-POST-with-WAYF.t @@ -57,9 +57,9 @@ LWP::Protocol::PSGI->register( ); SKIP: { - eval "use Lasso;use XML::Simple"; + eval "use Lasso"; if ($@) { - skip 'Lasso or XML::Simple not found', $maintests; + skip 'Lasso', $maintests; } # Initialization diff --git a/lemonldap-ng-portal/t/37-CAS-App-to-SAML-IdP-POST.t b/lemonldap-ng-portal/t/37-CAS-App-to-SAML-IdP-POST.t index 5ad0db206..da464ba47 100644 --- a/lemonldap-ng-portal/t/37-CAS-App-to-SAML-IdP-POST.t +++ b/lemonldap-ng-portal/t/37-CAS-App-to-SAML-IdP-POST.t @@ -57,9 +57,9 @@ LWP::Protocol::PSGI->register( ); SKIP: { - eval "use Lasso;use XML::Simple"; + eval "use Lasso"; if ($@) { - skip 'Lasso or XML::Simple not found', $maintests; + skip 'Lasso not found', $maintests; } # Initialization diff --git a/lemonldap-ng-portal/t/37-SAML-SP-POST-to-CAS-server-with-Choice.t b/lemonldap-ng-portal/t/37-SAML-SP-POST-to-CAS-server-with-Choice.t index 2b1e9bd05..821c54b40 100644 --- a/lemonldap-ng-portal/t/37-SAML-SP-POST-to-CAS-server-with-Choice.t +++ b/lemonldap-ng-portal/t/37-SAML-SP-POST-to-CAS-server-with-Choice.t @@ -57,9 +57,9 @@ LWP::Protocol::PSGI->register( ); SKIP: { - eval "use Lasso;use XML::Simple"; + eval "use Lasso"; if ($@) { - skip 'Lasso or XML::Simple not found', $maintests; + skip 'Lasso not found', $maintests; } # Initialization diff --git a/lemonldap-ng-portal/t/37-SAML-SP-POST-to-CAS-server.t b/lemonldap-ng-portal/t/37-SAML-SP-POST-to-CAS-server.t index 561be471d..210b0ecb2 100644 --- a/lemonldap-ng-portal/t/37-SAML-SP-POST-to-CAS-server.t +++ b/lemonldap-ng-portal/t/37-SAML-SP-POST-to-CAS-server.t @@ -57,9 +57,9 @@ LWP::Protocol::PSGI->register( ); SKIP: { - eval "use Lasso;use XML::Simple"; + eval "use Lasso"; if ($@) { - skip 'Lasso or XML::Simple not found', $maintests; + skip 'Lasso not found', $maintests; } # Initialization diff --git a/rpm/lemonldap-ng.spec b/rpm/lemonldap-ng.spec index 6a1d20d11..1a29663a0 100644 --- a/rpm/lemonldap-ng.spec +++ b/rpm/lemonldap-ng.spec @@ -169,7 +169,6 @@ BuildRequires: perl(Web::ID) %endif BuildRequires: perl(XML::LibXML) BuildRequires: perl(XML::LibXSLT) -BuildRequires: perl(XML::Simple) BuildRequires: perl(YAML) %if 0%{?fedora} BuildRequires: systemd-rpm-macros