Fixes building chromium-browser-stable which failed with:
ld.lld: error: unable to find library -lhffilter
| ... | ... | --- a/cups.spec |
| ... | ... | +++ b/cups.spec |
| ... | ... | @@ -21,7 +21,7 @@ |
| 21 | 21 |
Summary: Common Unix Printing System - Server package
|
| 22 | 22 |
Name: cups
|
| 23 | 23 |
Version: 2.2.12
|
| 24 |
Release: 3
|
|
| 24 |
Release: 4
|
|
| 25 | 25 |
License: GPLv2+ and LGPLv2+
|
| 26 | 26 |
Group: System/Printing
|
| 27 | 27 |
Url: http://www.cups.org
|
| ... | ... | @@ -443,6 +443,18 @@ Group: Development/C |
| … | … | |
| 443 | 443 |
Requires: %{libcups} = %{EVRD}
|
| 444 | 444 |
Requires: %{libcupsimage} = %{EVRD}
|
| 445 | 445 |
Provides: cups-devel = %{EVRD}
|
| 446 |
# There is no pkgconfig file (https://github.com/apple/cups/issues/3128),
|
|
| 447 |
# so RPM can't make deps for devel subpackage automatically,
|
|
| 448 |
# let's resolve LIBS= from resulting /usr/bin/cups-config
|
|
| 449 |
# Otherwise e.g. Chromium tries to link with -lhffilter, but it is not installed.
|
|
| 450 |
# LIBS="-lgssapi_krb5 -lkrb5 -lk5crypto -lcom_err -lz -lpthread -lm -lcrypt -lz -lhffilter"
|
|
| 451 |
Requires: pkgconfig(krb5)
|
|
| 452 |
Requires: pkgconfig(com_err)
|
|
| 453 |
Requires: pkgconfig(zlib)
|
|
| 454 |
Requires: glibc-devel
|
|
| 455 |
%if %{with selinux}
|
|
| 456 |
Requires: hffilter-devel
|
|
| 457 |
%endif
|
|
| 446 | 458 |
|
| 447 | 459 |
%description -n %{devname}
|
| 448 | 460 |
Common Unix Printing System - development files.
|
New comment