From 129b6905e70d8c95596bf5a0ea22589f813976e3 Mon Sep 17 00:00:00 2001 From: Zdenek Dohnal Date: Fri, 21 Apr 2023 08:18:01 +0200 Subject: [PATCH] cups.spec: Fix rpm deprecated warning --- cups.spec | 42 +++++++++++++++++++++--------------------- 1 file changed, 21 insertions(+), 21 deletions(-) diff --git a/cups.spec b/cups.spec index 20c4615..3a4f296 100644 --- a/cups.spec +++ b/cups.spec @@ -262,50 +262,50 @@ to CUPS daemon. This solution will substitute printer drivers and raw queues in %prep %setup -q -n cups-%{VERSION} # Use the system pam configuration. -%patch1 -p1 -b .system-auth +%patch 1 -p1 -b .system-auth # Prevent multilib conflict in cups-config script. -%patch2 -p1 -b .multilib +%patch 2 -p1 -b .multilib # Ignore rpm save/new files in the banners directory. -%patch3 -p1 -b .banners +%patch 3 -p1 -b .banners # Don't export SSLLIBS to cups-config. -%patch4 -p1 -b .no-export-ssllibs +%patch 4 -p1 -b .no-export-ssllibs # Allow file-based usb device URIs. -%patch5 -p1 -b .direct-usb +%patch 5 -p1 -b .direct-usb # Increase driverd timeout to 70s to accommodate foomatic (bug #744715). -%patch6 -p1 -b .driverd-timeout +%patch 6 -p1 -b .driverd-timeout # Support for errno==ENOSPACE-based USB paper-out reporting. -%patch7 -p1 -b .usb-paperout +%patch 7 -p1 -b .usb-paperout # Allow the usb backend to understand old-style URI formats. -%patch8 -p1 -b .uri-compat +%patch 8 -p1 -b .uri-compat # Use IP_FREEBIND socket option when binding listening sockets (bug #970809). -%patch9 -p1 -b .freebind +%patch 9 -p1 -b .freebind # Fixes for jobs with multiple files and multiple formats. -%patch10 -p1 -b .ipp-multifile +%patch 10 -p1 -b .ipp-multifile # Increase web interface get-devices timeout to 10s (bug #996664). -%patch11 -p1 -b .web-devices-timeout +%patch 11 -p1 -b .web-devices-timeout # Add failover backend (bug #1689209) -%patch12 -p1 -b .failover +%patch 12 -p1 -b .failover # Added IEEE 1284 Device ID for a Dymo device (bug #747866). -%patch13 -p1 -b .dymo-deviceid +%patch 13 -p1 -b .dymo-deviceid # UPSTREAM PATCHES -%patch1001 -p1 -b .invalid-pointer-uri -%patch1002 -p1 -b .localhost +%patch 1001 -p1 -b .invalid-pointer-uri +%patch 1002 -p1 -b .localhost # https://github.com/OpenPrinting/cups/pull/629 -%patch1003 -p1 -b .ippeveprinter-typo +%patch 1003 -p1 -b .ippeveprinter-typo # https://github.com/OpenPrinting/cups/pull/417 -%patch1004 -p1 -b .no_color_override +%patch 1004 -p1 -b .no_color_override # https://github.com/OpenPrinting/cups/pull/451 -%patch1005 -p1 -b .save-color-settings +%patch 1005 -p1 -b .save-color-settings # https://github.com/OpenPrinting/cups/pull/500 -%patch1006 -p1 -b .check-for-cmyk +%patch 1006 -p1 -b .check-for-cmyk # https://github.com/OpenPrinting/cups/pull/642 -%patch1007 -p1 -b .raise-fortify +%patch 1007 -p1 -b .raise-fortify %if %{lspp} # LSPP support. -%patch100 -p1 -b .lspp +%patch 100 -p1 -b .lspp %endif