From 714f449ece5eac0a992e2fea6388e8d87ce03be5 Mon Sep 17 00:00:00 2001 From: Zdenek Dohnal Date: Mon, 6 Apr 2020 13:29:37 +0200 Subject: [PATCH] make avahi and nss-mdns recommended in main package - so users with older printers can install cups without it --- cups.spec | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/cups.spec b/cups.spec index 7823ba7..5500a28 100644 --- a/cups.spec +++ b/cups.spec @@ -15,7 +15,7 @@ Summary: CUPS printing system Name: cups Epoch: 1 Version: 2.3.1 -Release: 6%{?dist} +Release: 7%{?dist} License: ASL 2.0 with exceptions for GPL2/LGPL2 Url: http://www.cups.org/ Source0: https://github.com/apple/cups/releases/download/v%{VERSION}/cups-%{VERSION}-source.tar.gz @@ -152,7 +152,10 @@ Requires: acl Requires: cups-filters # 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 Summary: CUPS printing system - client programs @@ -713,6 +716,10 @@ rm -f %{cups_serverbin}/backend/smb %{_mandir}/man7/ippevepcl.7.gz %changelog +* Mon Apr 06 2020 Zdenek Dohnal - 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 - 1:2.3.1-6 - add requires on nss-mdns, because getaddrinfo needs it for resolving .local addresses