diff --git a/cups-autostart-when-enabled.patch b/cups-autostart-when-enabled.patch deleted file mode 100644 index a0786fe..0000000 --- a/cups-autostart-when-enabled.patch +++ /dev/null @@ -1,10 +0,0 @@ -diff --git a/scheduler/cups.service.in b/scheduler/cups.service.in -index bf308a5..add238b 100644 ---- a/scheduler/cups.service.in -+++ b/scheduler/cups.service.in -@@ -10,4 +10,4 @@ Restart=on-failure - - [Install] - Also=cups.socket cups.path --WantedBy=printer.target -+WantedBy=multi-user.target printer.target diff --git a/cups.spec b/cups.spec index 2635924..69bb962 100644 --- a/cups.spec +++ b/cups.spec @@ -118,9 +118,6 @@ Patch27: cups-systemd-socket.patch Patch28: cups-ypbind.patch # https://github.com/OpenPrinting/cups/pull/31 Patch29: 0001-Add-Requires-cups.socket-to-cups.service-to-make-sur.patch -# 1822154 - cups.service doesn't execute automatically on request -# https://github.com/apple/cups/issues/5708 -Patch30: cups-autostart-when-enabled.patch ##### Patches removed because IMHO they aren't no longer needed ##### but still I'll leave them in git in case their removal @@ -329,8 +326,6 @@ to CUPS daemon. This solution will substitute printer drivers and raw queues in %patch28 -p1 -b .ypbind # https://github.com/OpenPrinting/cups/pull/31 %patch29 -p1 -b .require-socket -# 1822154 - cups.service doesn't execute automatically on request -%patch30 -p1 -b .autostart-when-enabled # Log to the system journal by default (bug #1078781, bug #1519331). @@ -433,8 +428,8 @@ rm -rf %{buildroot}%{_datadir}/cups/banners rm -f %{buildroot}%{_datadir}/cups/data/testprint # install /usr/lib/tmpfiles.d/cups.conf (bug #656566, bug #893834) -mkdir -p ${RPM_BUILD_ROOT}%{_tmpfilesdir} -cat > ${RPM_BUILD_ROOT}%{_tmpfilesdir}/cups.conf < %{buildroot}%{_tmpfilesdir}/cups.conf < ${RPM_BUILD_ROOT}%{_tmpfilesdir}/cups-lp.conf < %{buildroot}%{_tmpfilesdir}/cups-lp.conf < %{buildroot}%{_unitdir}/cups.service.d/server.conf < - 1:2.3.3-20 +- remove downstream autostart patch - use systemd drop-in + * Tue Nov 24 2020 Zdenek Dohnal - 1:2.3.3-20 - fix memory leak during device discovery - remove logrotate patches and support - journal is now default