From 5e3083d51c3de4fdd68cd91a30726d7c28ba77a180cad289c7041afd8b501643 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tom=C3=A1=C5=A1=20Chv=C3=A1tal?= Date: Mon, 21 Oct 2019 07:23:37 +0000 Subject: [PATCH] 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 --- python-python-xlib.changes | 8 ++++++++ python-python-xlib.spec | 6 +++++- 2 files changed, 13 insertions(+), 1 deletion(-) diff --git a/python-python-xlib.changes b/python-python-xlib.changes index 1c00db2..ff54a5a 100644 --- a/python-python-xlib.changes +++ b/python-python-xlib.changes @@ -1,3 +1,11 @@ +------------------------------------------------------------------- +Sun Oct 20 05:31:28 UTC 2019 - John Vandenberg + +- 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 diff --git a/python-python-xlib.spec b/python-python-xlib.spec index c81bb79..7fbf29d 100644 --- a/python-python-xlib.spec +++ b/python-python-xlib.spec @@ -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-*