make avahi and nss-mdns recommended in main package - so users with older printers

can install cups without it
This commit is contained in:
Zdenek Dohnal 2020-04-06 13:29:37 +02:00
parent e3fadd0cf5
commit 714f449ece

View File

@ -15,7 +15,7 @@ Summary: CUPS printing system
Name: cups Name: cups
Epoch: 1 Epoch: 1
Version: 2.3.1 Version: 2.3.1
Release: 6%{?dist} Release: 7%{?dist}
License: ASL 2.0 with exceptions for GPL2/LGPL2 License: ASL 2.0 with exceptions for GPL2/LGPL2
Url: http://www.cups.org/ Url: http://www.cups.org/
Source0: https://github.com/apple/cups/releases/download/v%{VERSION}/cups-%{VERSION}-source.tar.gz Source0: https://github.com/apple/cups/releases/download/v%{VERSION}/cups-%{VERSION}-source.tar.gz
@ -152,7 +152,10 @@ Requires: acl
Requires: cups-filters Requires: cups-filters
# getaddrinfo from glibc needs nss-mdns for resolving mdns .local addresses # getaddrinfo from glibc needs nss-mdns for resolving mdns .local addresses
Requires: nss-mdns # it is needed only for new devices (2012+), so make it only recommended for
# users with older devices
Recommends: nss-mdns
Recommends: avahi
%package client %package client
Summary: CUPS printing system - client programs Summary: CUPS printing system - client programs
@ -713,6 +716,10 @@ rm -f %{cups_serverbin}/backend/smb
%{_mandir}/man7/ippevepcl.7.gz %{_mandir}/man7/ippevepcl.7.gz
%changelog %changelog
* Mon Apr 06 2020 Zdenek Dohnal <zdohnal@redhat.com> - 1:2.3.1-7
- make avahi and nss-mdns recommended in main package - so users with older printers
can install cups without it
* Fri Mar 20 2020 Zdenek Dohnal <zdohnal@redhat.com> - 1:2.3.1-6 * Fri Mar 20 2020 Zdenek Dohnal <zdohnal@redhat.com> - 1:2.3.1-6
- add requires on nss-mdns, because getaddrinfo needs it for resolving .local addresses - add requires on nss-mdns, because getaddrinfo needs it for resolving .local addresses