14
0

Accepting request 741262 from home:jayvdb:branches:devel:languages:python

- Add runtime dependency on xorg-x11-server
- Add examples to the docs
- dos2unix the docs
- Remove unused ChangeLog in runtime package source

OBS-URL: https://build.opensuse.org/request/show/741262
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-python-xlib?expand=0&rev=8
This commit is contained in:
Tomáš Chvátal
2019-10-21 07:23:37 +00:00
committed by Git OBS Bridge
parent dcfd86405e
commit 5e3083d51c
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-*