- fixes build against python3 (package rename of
python-xcb-proto-devel to python3-xcb-proto-devel) OBS-URL: https://build.opensuse.org/package/show/X11:XOrg/libxcb?expand=0&rev=44
This commit is contained in:
parent
d74d691b4e
commit
df8c0ba7cf
@ -1,3 +1,9 @@
|
||||
-------------------------------------------------------------------
|
||||
Mon Dec 11 12:13:21 UTC 2017 - sndirsch@suse.com
|
||||
|
||||
- fixes build against python3 (package rename of
|
||||
python-xcb-proto-devel to python3-xcb-proto-devel)
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu May 19 09:40:43 UTC 2016 - sndirsch@suse.com
|
||||
|
||||
|
14
libxcb.spec
14
libxcb.spec
@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package libxcb
|
||||
#
|
||||
# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany.
|
||||
# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
@ -16,6 +16,12 @@
|
||||
#
|
||||
|
||||
|
||||
%if %suse_version >= 1500
|
||||
%define have_python2 0
|
||||
%else
|
||||
%define have_python2 1
|
||||
%endif
|
||||
|
||||
Name: libxcb
|
||||
%define lname libxcb1
|
||||
Version: 1.12
|
||||
@ -50,7 +56,11 @@ BuildRequires: xsltproc
|
||||
%else
|
||||
BuildRequires: libxslt
|
||||
%endif
|
||||
%if %{have_python2}
|
||||
BuildRequires: python-xcb-proto-devel >= 7.6_1.12
|
||||
%else
|
||||
BuildRequires: python3-xcb-proto-devel >= 7.6_1.12
|
||||
%endif
|
||||
|
||||
%description
|
||||
The X protocol C-language Binding (XCB) is a replacement for Xlib
|
||||
@ -59,8 +69,8 @@ protocol, improved threading support, and extensibility.
|
||||
|
||||
%package -n libxcb1
|
||||
Summary: X11 core protocol C library
|
||||
Group: System/Libraries
|
||||
# O/P added for 12.2
|
||||
Group: System/Libraries
|
||||
Provides: xorg-x11-libxcb = 7.6_%version-%release
|
||||
Obsoletes: xorg-x11-libxcb < 7.6_%version-%release
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user