Hello community, here is the log from the commit of package python-sphinxcontrib-programoutput for openSUSE:Factory checked in at 2017-10-11 22:56:34 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-sphinxcontrib-programoutput (Old) and /work/SRC/openSUSE:Factory/.python-sphinxcontrib-programoutput.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-sphinxcontrib-programoutput" Wed Oct 11 22:56:34 2017 rev:3 rq:527186 version:0.10 Changes: -------- --- /work/SRC/openSUSE:Factory/python-sphinxcontrib-programoutput/python-sphinxcontrib-programoutput.changes 2017-05-17 10:50:45.633159897 +0200 +++ /work/SRC/openSUSE:Factory/.python-sphinxcontrib-programoutput.new/python-sphinxcontrib-programoutput.changes 2017-10-11 22:56:35.925408602 +0200 @@ -1,0 +2,12 @@ +Mon Sep 18 22:29:06 UTC 2017 - toddrme2...@gmail.com + +- Use new python-sphinxcontrib package to provide namespace + directory. + +------------------------------------------------------------------- +Mon Sep 18 20:36:57 UTC 2017 - toddrme2...@gmail.com + +- Specify files to guarantee namespace package doesn't conflict + with python(2|3)-Sphinx + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-sphinxcontrib-programoutput.spec ++++++ --- /var/tmp/diff_new_pack.0atibM/_old 2017-10-11 22:56:36.853367907 +0200 +++ /var/tmp/diff_new_pack.0atibM/_new 2017-10-11 22:56:36.857367732 +0200 @@ -17,6 +17,7 @@ %{?!python_module:%define python_module() python-%{**} python3-%{**}} +%bcond_with test Name: python-sphinxcontrib-programoutput Version: 0.10 Release: 0 @@ -25,12 +26,17 @@ Group: Development/Languages/Python Url: http://sphinxcontrib-programoutput.readthedocs.org/ Source: https://files.pythonhosted.org/packages/source/s/sphinxcontrib-programoutput/sphinxcontrib-programoutput-%{version}.tar.gz -BuildRequires: %{python_module Sphinx} BuildRequires: %{python_module devel} -BuildRequires: %{python_module pytest} +BuildRequires: %{python_module setuptools} +BuildRequires: %{python_module sphinxcontrib} +BuildRequires: fdupes BuildRequires: python-rpm-macros +%if %{with test} +BuildRequires: %{python_module Sphinx} +BuildRequires: %{python_module pytest} +%endif Requires: python-Sphinx -BuildRoot: %{_tmppath}/%{name}-%{version}-build +Requires: python-sphinxcontrib BuildArch: noarch %python_subpackages @@ -47,14 +53,21 @@ %install %python_install +%python_expand %fdupes %{buildroot}%{$python_sitelib} -#NOTE(saschpe): Running tests works but there's an UTF-8 issue I don't yet care about: -#%%check -#PYTHONPATH=%%{buildroot}%%{python_sitelib} py.test +%if %{with test} +%check +export LANG=en_US.UTF-8 +%{python_expand export PYTHONPATH=%{buildroot}%{$python_sitelib} +py.test-%{$python_bin_suffix} +} +%endif %files %{python_files} %defattr(-,root,root,-) %doc CHANGES.rst LICENSE README.rst -%{python_sitelib}/* +%{python_sitelib}/sphinxcontrib/programoutput/ +%{python_sitelib}/sphinxcontrib_programoutput-%{version}-py*-nspkg.pth +%{python_sitelib}/sphinxcontrib_programoutput-%{version}-py*.egg-info %changelog