From aee9ee3fe10c90daafc13609f7db7578fbe57b37 Mon Sep 17 00:00:00 2001 From: Xavier Bachelot Date: Wed, 19 Dec 2018 17:28:32 +0100 Subject: [PATCH] Lasso is available in Fedora 29+ --- rpm/lemonldap-ng.spec | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/rpm/lemonldap-ng.spec b/rpm/lemonldap-ng.spec index 6bfe623f8e..d268d57f44 100644 --- a/rpm/lemonldap-ng.spec +++ b/rpm/lemonldap-ng.spec @@ -125,6 +125,10 @@ BuildRequires: perl(IO::Select) BuildRequires: perl(IO::Socket::INET) BuildRequires: perl(IO::String) BuildRequires: perl(JSON) +%if 0%{?fedora} >= 29 +BuildRequires: perl(Lasso) +BuildRequires: perl(Glib) +%endif BuildRequires: perl(Log::Log4perl) BuildRequires: perl(LWP::Protocol::https) BuildRequires: perl(LWP::UserAgent) @@ -199,8 +203,10 @@ Requires: lemonldap-ng-test = %{version}-%{release} %if 0%{?fedora} %{?perl_default_filter} +%if 0%{?fedora} < 29 %global __requires_exclude perl\\(lasso %endif +%endif %description LemonLdap::NG is a modular Web-SSO based on Apache::Session modules. It