Accepting request 817086 from home:mwilck:branches:Printing

- hplip-3.20.6.tar.gz has been updated on HP download server,
  causing the OBS download_files bot to fail. Fix it.
- postscriptdriver provides are now enabled indirectly via cups-devel
  (boo#1172407)

OBS-URL: https://build.opensuse.org/request/show/817086
OBS-URL: https://build.opensuse.org/package/show/Printing/hplip?expand=0&rev=198
This commit is contained in:
2020-06-25 16:08:07 +00:00
committed by Git OBS Bridge
parent 13ef1aa746
commit 7fdf4ef838
4 changed files with 16 additions and 13 deletions

View File

@@ -23,9 +23,6 @@
%define pyver %{py3_ver}
%define pyexe %{_bindir}/python3
%global use_qt5 1
# Set _with_new_pycups in prjconf if cups-rpm-helper is available
# (for auto-generated printer driver Provides:)
%bcond_with new_pycups
Name: hplip
Version: 3.20.6
Release: 0
@@ -157,11 +154,9 @@ Obsoletes: hplip17
Provides: hplip3 = 3.9.5
Obsoletes: hplip3 < 3.9.5
Recommends: python3-reportlab
%if 0%{?with_new_pycups}
# All printer driver packages should have "BuildRequires: cups-rpm-helper"
# for automatic generation of Provides: tags.
BuildRequires: cups-rpm-helper
%endif
# cups-rpm-helper is now pulled in indirectly via cups-devel.
# This causes the "postscriptdriver" provides to be generated.
# To avoid that, put "Ignore: cups-devel: cups-rpm-helper in the prjconf.
%description
The Hewlett-Packard Linux Imaging and Printing project (HPLIP) provides