Add ifdefs
This commit is contained in:
parent
5e39069580
commit
08ba69e055
10
cups.spec
10
cups.spec
@ -178,6 +178,11 @@ Requires: acl
|
|||||||
# Make sure we have some filters for converting to raster format.
|
# Make sure we have some filters for converting to raster format.
|
||||||
Requires: cups-filters
|
Requires: cups-filters
|
||||||
|
|
||||||
|
# replaced by systemd-resolved in F34
|
||||||
|
# remove after F33 EOL
|
||||||
|
%if 0%{?fedora} <= 33 || 0%{?rhel} <= 8
|
||||||
|
Recommends: nss-mdns
|
||||||
|
%endif
|
||||||
# avahi is needed for mDNS discovery
|
# avahi is needed for mDNS discovery
|
||||||
Recommends: avahi
|
Recommends: avahi
|
||||||
|
|
||||||
@ -222,8 +227,11 @@ Summary: CUPS printing system - tools for printer application
|
|||||||
Requires: %{name}-libs%{?_isa} = %{epoch}:%{version}-%{release}
|
Requires: %{name}-libs%{?_isa} = %{epoch}:%{version}-%{release}
|
||||||
# ippeveprinter needs avahi for registering and sharing printer
|
# ippeveprinter needs avahi for registering and sharing printer
|
||||||
Requires: avahi
|
Requires: avahi
|
||||||
# needed for mdns hostname translation
|
# needed for mdns hostname translation - replaced by systemd-resolved in F34
|
||||||
|
# remove after F33 EOL
|
||||||
|
%if 0%{?fedora} <= 33 || 0%{?rhel} <= 8
|
||||||
Requires: nss-mdns
|
Requires: nss-mdns
|
||||||
|
%endif
|
||||||
|
|
||||||
%description
|
%description
|
||||||
CUPS printing system provides a portable printing layer for
|
CUPS printing system provides a portable printing layer for
|
||||||
|
Loading…
Reference in New Issue
Block a user