From 69caed9f032ad0b8571c808a0064f8f72e3d9539 Mon Sep 17 00:00:00 2001 From: Zdenek Dohnal Date: Fri, 29 Nov 2019 09:45:54 +0100 Subject: [PATCH] 1777921 - cups unit file makes systemd to complain --- cups.spec | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/cups.spec b/cups.spec index 96d67b5..a0d573d 100644 --- a/cups.spec +++ b/cups.spec @@ -15,7 +15,7 @@ Summary: CUPS printing system Name: cups Epoch: 1 Version: 2.3.0 -Release: 1%{?dist} +Release: 2%{?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 @@ -360,6 +360,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 \ localedir=%{_datadir}/locale # If we got this far, all prerequisite libraries must be here. @@ -568,8 +569,8 @@ rm -f %{cups_serverbin}/backend/smb %files -f %{name}.lang %doc README.md CREDITS.md CHANGES.md %dir %attr(0755,root,lp) %{_sysconfdir}/cups -%dir %attr(0755,root,lp) %{_localstatedir}/run/cups -%dir %attr(0511,lp,sys) %{_localstatedir}/run/cups/certs +%dir %attr(0755,root,lp) /run/cups +%dir %attr(0511,lp,sys) /run/cups/certs %{_tmpfilesdir}/cups.conf %{_tmpfilesdir}/cups-lp.conf %verify(not md5 size mtime) %config(noreplace) %attr(0640,root,lp) %{_sysconfdir}/cups/cupsd.conf @@ -723,6 +724,9 @@ rm -f %{cups_serverbin}/backend/smb %{_mandir}/man7/ippevepcl.7.gz %changelog +* Fri Nov 29 2019 Zdenek Dohnal - 1:2.3.0-2 +- 1777921 - cups unit file makes systemd to complain + * Mon Nov 18 2019 Zdenek Dohnal - 1:2.3.0-1 - 2.3.0 - new printerapp subpackage