14
0

Accepting request 741417 from devel:languages:python

OBS-URL: https://build.opensuse.org/request/show/741417
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-python-xlib?expand=0&rev=4
This commit is contained in:
2019-11-04 16:07:47 +00:00
committed by Git OBS Bridge
2 changed files with 13 additions and 1 deletions

View File

@@ -1,3 +1,11 @@
-------------------------------------------------------------------
Sun Oct 20 05:31:28 UTC 2019 - John Vandenberg <jayvdb@gmail.com>
- Add runtime dependency on xorg-x11-server
- Add examples to the docs
- dos2unix the docs
- Remove unused ChangeLog in runtime package source
-------------------------------------------------------------------
Thu May 9 09:56:46 UTC 2019 - pgajdos@suse.com

View File

@@ -31,10 +31,12 @@ BuildRequires: %{python_module nose}
BuildRequires: %{python_module setuptools_scm}
BuildRequires: %{python_module setuptools}
BuildRequires: %{python_module six >= 1.10.0}
BuildRequires: dos2unix
BuildRequires: fdupes
BuildRequires: python-rpm-macros
BuildRequires: xvfb-run
Requires: python-six >= 1.10.0
Requires: xorg-x11-server
BuildArch: noarch
%ifpython2
Provides: %{oldpython}-xlib = %{version}
@@ -52,6 +54,8 @@ library for Python programs.
%prep
%setup -q -n python-xlib-%{version}
rm Xlib/ChangeLog
dos2unix CHANGELOG.md README.rst TODO examples/*.py
%build
%python_build
@@ -65,7 +69,7 @@ library for Python programs.
%files %{python_files}
%license LICENSE
%doc CHANGELOG.md README.rst TODO
%doc CHANGELOG.md README.rst TODO examples/
%{python_sitelib}/Xlib/
%{python_sitelib}/python_xlib-*