forked from pool/python-python-xlib
Accepting request 652144 from home:XRevan86
- Update to version 0.23. OBS-URL: https://build.opensuse.org/request/show/652144 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-python-xlib?expand=0&rev=3
This commit is contained in:
committed by
Git OBS Bridge
parent
5df35f000a
commit
8c63a81e0d
@@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package python-python-xlib
|
||||
#
|
||||
# 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
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
@@ -12,34 +12,33 @@
|
||||
# license that conforms to the Open Source Definition (Version 1.9)
|
||||
# published by the Open Source Initiative.
|
||||
|
||||
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
||||
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
||||
#
|
||||
|
||||
|
||||
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
||||
%bcond_with test
|
||||
%define X_display ":98"
|
||||
%define X_display ":98"
|
||||
%define oldpython python
|
||||
%bcond_with test
|
||||
Name: python-python-xlib
|
||||
Version: 0.19
|
||||
Version: 0.23
|
||||
Release: 0
|
||||
Summary: Python X11 interface
|
||||
License: LGPL-2.1+
|
||||
License: LGPL-2.1-or-later
|
||||
Group: Development/Libraries/Python
|
||||
Url: https://github.com/python-xlib/python-xlib
|
||||
URL: https://github.com/python-xlib/python-xlib
|
||||
Source: https://files.pythonhosted.org/packages/source/p/python-xlib/python-xlib-%{version}.tar.bz2
|
||||
# PATCH-FIX-UPSTREAM python-xlib-0.14-increase-receiving-buffer.patch deb#357507
|
||||
Patch0: python-xlib-0.14-increase-receiving-buffer.patch
|
||||
BuildRequires: %{python_module devel}
|
||||
BuildRequires: %{python_module setuptools}
|
||||
BuildRequires: %{python_module setuptools_scm}
|
||||
BuildRequires: %{python_module setuptools}
|
||||
BuildRequires: %{python_module six >= 1.10.0}
|
||||
BuildRequires: fdupes
|
||||
BuildRequires: python-rpm-macros
|
||||
Requires: python-six >= 1.10.0
|
||||
BuildArch: noarch
|
||||
%if %{with test}
|
||||
BuildRequires: xorg-x11-server
|
||||
%endif
|
||||
Requires: python-six >= 1.10.0
|
||||
%ifpython2
|
||||
Provides: %{oldpython}-xlib = %{version}
|
||||
Obsoletes: %{oldpython}-xlib < %{version}
|
||||
@@ -48,8 +47,6 @@ Obsoletes: %{oldpython}-xlib < %{version}
|
||||
Provides: python3-xlib = %{version}
|
||||
Obsoletes: python3-xlib < %{version}
|
||||
%endif
|
||||
BuildArch: noarch
|
||||
|
||||
%python_subpackages
|
||||
|
||||
%description
|
||||
@@ -58,7 +55,6 @@ library for Python programs.
|
||||
|
||||
%prep
|
||||
%setup -q -n python-xlib-%{version}
|
||||
%patch0 -p1
|
||||
|
||||
%build
|
||||
export CFLAGS="%{optflags}"
|
||||
@@ -78,9 +74,9 @@ sleep 10
|
||||
%endif
|
||||
|
||||
%files %{python_files}
|
||||
%defattr(-,root,root)
|
||||
%doc LICENSE README.rst NEWS TODO
|
||||
%license LICENSE
|
||||
%doc CHANGELOG.md README.rst TODO
|
||||
%{python_sitelib}/Xlib/
|
||||
%{python_sitelib}/python_xlib-*py*.egg-info
|
||||
%{python_sitelib}/python_xlib-*
|
||||
|
||||
%changelog
|
||||
|
Reference in New Issue
Block a user