From 71d240dca0f60d53904116cccf49a15f9ab0df55 Mon Sep 17 00:00:00 2001 From: Zdenek Dohnal Date: Sep 14 2020 07:38:21 +0000 Subject: make the base package depend on sane-airscan instead of libsane-airscan lib --- diff --git a/sane-backends.spec b/sane-backends.spec index 92e7100..e747327 100644 --- a/sane-backends.spec +++ b/sane-backends.spec @@ -14,7 +14,7 @@ Summary: Scanner access software Name: sane-backends Version: 1.0.31 -Release: 1%{?dist} +Release: 2%{?dist} # lib/ is LGPLv2+, backends are GPLv2+ with exceptions # Tools are GPLv2+, docs are public domain # see LICENSE for details @@ -66,6 +66,9 @@ Requires: libpng Requires: systemd >= 196 Requires: systemd-udev >= 196 Requires: sane-backends-libs%{?_isa} = %{?epoch:%{epoch}:}%{version}-%{release} +%if 0%{?fedora} >= 32 || 0%{?rhel} > 8 +Requires: sane-airscan +%endif # workaround for Brother scanners, which drivers are built with old libnsl # it is ignored by DNF, but it seems GUI installation apps should offer it @@ -123,9 +126,6 @@ Summary: SANE backend drivers for scanners BuildRequires: libxml2-devel Requires: sane-backends = %{?epoch:%{epoch}:}%{version}-%{release} Requires: sane-backends-libs%{?_isa} = %{?epoch:%{epoch}:}%{version}-%{release} -%if 0%{?fedora} >= 32 || 0%{?rhel} > 8 -Requires: libsane-airscan -%endif %description drivers-scanners This package contains backend drivers to access scanner hardware through SANE. @@ -428,6 +428,9 @@ exit 0 %{_unitdir}/saned@.service %changelog +* Mon Sep 14 2020 Zdenek Dohnal - 1.0.31-2 +- make the base package depend on sane-airscan instead of libsane-airscan lib + * Mon Aug 24 2020 Zdenek Dohnal - 1.0.31-1 - 1.0.31, backend cannon_lide70 added