cups.spec: Fix rpm deprecated warning

This commit is contained in:
Zdenek Dohnal 2023-04-21 08:18:01 +02:00
parent 4e69c81101
commit 129b6905e7

View File

@ -262,50 +262,50 @@ to CUPS daemon. This solution will substitute printer drivers and raw queues in
%prep %prep
%setup -q -n cups-%{VERSION} %setup -q -n cups-%{VERSION}
# Use the system pam configuration. # Use the system pam configuration.
%patch1 -p1 -b .system-auth %patch 1 -p1 -b .system-auth
# Prevent multilib conflict in cups-config script. # 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. # 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. # 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. # 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). # 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. # 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. # 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). # 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. # 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). # 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) # 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). # Added IEEE 1284 Device ID for a Dymo device (bug #747866).
%patch13 -p1 -b .dymo-deviceid %patch 13 -p1 -b .dymo-deviceid
# UPSTREAM PATCHES # UPSTREAM PATCHES
%patch1001 -p1 -b .invalid-pointer-uri %patch 1001 -p1 -b .invalid-pointer-uri
%patch1002 -p1 -b .localhost %patch 1002 -p1 -b .localhost
# https://github.com/OpenPrinting/cups/pull/629 # 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 # 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 # 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 # 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 # https://github.com/OpenPrinting/cups/pull/642
%patch1007 -p1 -b .raise-fortify %patch 1007 -p1 -b .raise-fortify
%if %{lspp} %if %{lspp}
# LSPP support. # LSPP support.
%patch100 -p1 -b .lspp %patch 100 -p1 -b .lspp
%endif %endif