Accepting request 578041 from GNOME:Factory

- Add explicit pkgconfig(zlib) and (conditionalized on
  build_xcb_backend) pkgconfig(xcb-render) BuildRequires: closer
  alignment with what configure checks for.

OBS-URL: https://build.opensuse.org/request/show/578041
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/cairo?expand=0&rev=82
This commit is contained in:
Dominique Leuenberger 2018-02-21 13:08:16 +00:00 committed by Git OBS Bridge
commit 8027b53a4e
2 changed files with 11 additions and 2 deletions

View File

@ -1,3 +1,10 @@
-------------------------------------------------------------------
Fri Feb 16 14:30:02 UTC 2018 - crrodriguez@opensuse.org
- Add explicit pkgconfig(zlib) and (conditionalized on
build_xcb_backend) pkgconfig(xcb-render) BuildRequires: closer
alignment with what configure checks for.
------------------------------------------------------------------- -------------------------------------------------------------------
Mon Dec 18 16:38:19 UTC 2017 - zaitor@opensuse.org Mon Dec 18 16:38:19 UTC 2017 - zaitor@opensuse.org

View File

@ -1,7 +1,7 @@
# #
# spec file for package cairo # spec file for package cairo
# #
# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany. # Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
# #
# All modifications and additions to the file contributed by third parties # All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed # remain the property of their copyright owners, unless otherwise agreed
@ -41,6 +41,7 @@ BuildRequires: pkgconfig(pixman-1) >= 0.30.0
BuildRequires: pkgconfig(x11) BuildRequires: pkgconfig(x11)
BuildRequires: pkgconfig(xext) BuildRequires: pkgconfig(xext)
BuildRequires: pkgconfig(xrender) BuildRequires: pkgconfig(xrender)
BuildRequires: pkgconfig(zlib)
# These libraries are needed only for tests. # These libraries are needed only for tests.
# Do not enable tests in build systems, it causes build loop! # Do not enable tests in build systems, it causes build loop!
#BuildRequires: librsvg-devel poppler-devel #BuildRequires: librsvg-devel poppler-devel
@ -49,7 +50,8 @@ BuildRequires: pkgconfig(egl)
BuildRequires: pkgconfig(gl) BuildRequires: pkgconfig(gl)
%endif %endif
%if %{build_xcb_backend} %if %{build_xcb_backend}
BuildRequires: pkgconfig(xcb) BuildRequires: pkgconfig(xcb) >= 1.6
BuildRequires: pkgconfig(xcb-render) >= 1.6
BuildRequires: pkgconfig(xcb-shm) BuildRequires: pkgconfig(xcb-shm)
%endif %endif