From dacb3dad16409b61bf793cecf3a17dda897ff30f Mon Sep 17 00:00:00 2001 From: Zdenek Dohnal Date: Thu, 21 May 2020 11:44:15 +0200 Subject: [PATCH] use _rundir instead of hardcode /run --- cups.spec | 15 +++++++++------ 1 file changed, 9 insertions(+), 6 deletions(-) diff --git a/cups.spec b/cups.spec index 26226cc..9d2ff28 100644 --- a/cups.spec +++ b/cups.spec @@ -15,7 +15,7 @@ Summary: CUPS printing system Name: cups Epoch: 1 Version: 2.3.3 -Release: 2%{?dist} +Release: 3%{?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 @@ -377,7 +377,7 @@ export CFLAGS="$RPM_OPT_FLAGS -fstack-protector-all -DLDAP_DEPRECATED=1" --with-xinetd=no \ --with-access-log-level=actions \ --enable-page-logging \ - --with-rundir=/run/cups \ + --with-rundir=%{_rundir}/cups \ localedir=%{_datadir}/locale # If we got this far, all prerequisite libraries must be here. @@ -449,8 +449,8 @@ mkdir -p ${RPM_BUILD_ROOT}%{_tmpfilesdir} cat > ${RPM_BUILD_ROOT}%{_tmpfilesdir}/cups.conf < - 1:2.3.3-3 +- use _rundir instead of hardcode /run + * Wed May 20 2020 Zdenek Dohnal - 1:2.3.3-2 - 1838455 - ipp/socket backends connect to turned off device for eternity (contimeout is not applied)