From 35919e8dc287448b8757a9b3162e7239d72c1086 Mon Sep 17 00:00:00 2001 From: Xavier Bachelot Date: Mon, 3 Dec 2018 11:47:05 +0100 Subject: [PATCH] Sentry::Raven is available for Fedora --- rpm/lemonldap-ng.spec | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/rpm/lemonldap-ng.spec b/rpm/lemonldap-ng.spec index 70f5c8325..67eac0303 100644 --- a/rpm/lemonldap-ng.spec +++ b/rpm/lemonldap-ng.spec @@ -148,8 +148,9 @@ BuildRequires: perl(Regexp::Assemble) BuildRequires: perl(Regexp::Common) BuildRequires: perl(Safe) BuildRequires: perl(Scalar::Util) -# https://bugzilla.redhat.com/show_bug.cgi?id=1644266 -#BuildRequires: perl(Sentry::Raven) +%if 0%{?fedora} +BuildRequires: perl(Sentry::Raven) +%endif BuildRequires: perl(SOAP::Lite) BuildRequires: perl(SOAP::Transport::HTTP) BuildRequires: perl(strict) @@ -191,7 +192,7 @@ Requires: lemonldap-ng-test = %{version}-%{release} %if 0%{?fedora} %{?perl_default_filter} -%global __requires_exclude perl\\(lasso|perl\\(Net::OpenID|perl\\(Web::ID|perl\\(XML::LibXML|perl\\(XML::LibXSLT|perl\\(Sentry::Raven +%global __requires_exclude perl\\(lasso|perl\\(Net::OpenID|perl\\(Web::ID|perl\\(XML::LibXML|perl\\(XML::LibXSLT %endif %description