Remove unnecessary extra condition (as SLE 12 SP3 and Leap 42.3 have the

same package availability status)

OBS-URL: https://build.opensuse.org/package/show/Documentation:Tools/daps?expand=0&rev=207
This commit is contained in:
Stefan Knorr 2018-10-23 16:35:09 +00:00 committed by Git OBS Bridge
parent 93f1081831
commit b2b4aa2eea

View File

@ -42,7 +42,7 @@ Release: 0
%define daps_catalog for-catalog-%{name}.xml
Summary: DocBook Authoring and Publishing Suite
License: GPL-2.0 or GPL-3.0
License: GPL-2.0-only OR GPL-3.0-only
Group: Productivity/Publishing/XML
Url: https://github.com/openSUSE/daps
Source0: %{name}-%{version}.tar.bz2
@ -80,7 +80,7 @@ BuildRequires: xmlstarlet
# If we have asciidoctor we build the asciidoc manual
# for which we need docbook_5 and jing
#
%if 0%{?sle_version} == 120300 && 0%{?is_opensuse}
%if 0%{?sle_version} == 120300
Recommends: rubygem(%{rb_default_ruby_abi}:asciidoctor)
%else
Requires: rubygem(%{rb_default_ruby_abi}:asciidoctor)