Hello community, here is the log from the commit of package python-recommonmark for openSUSE:Factory checked in at 2019-01-21 11:01:03 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-recommonmark (Old) and /work/SRC/openSUSE:Factory/.python-recommonmark.new.28833 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-recommonmark" Mon Jan 21 11:01:03 2019 rev:5 rq:667124 version:0.5.0 Changes: -------- --- /work/SRC/openSUSE:Factory/python-recommonmark/python-recommonmark.changes 2018-12-12 17:28:19.490889036 +0100 +++ /work/SRC/openSUSE:Factory/.python-recommonmark.new.28833/python-recommonmark.changes 2019-01-21 11:03:17.495047745 +0100 @@ -1,0 +2,7 @@ +Tue Jan 15 21:26:43 UTC 2019 - Sebastian Wagner <sebix+novell....@sebix.at> + +- Update to version 0.5.0: + * No upstream changelog available. +- remove unneeded fix-commonmark-compatibility.patch + +------------------------------------------------------------------- Old: ---- fix-commonmark-compatibility.patch recommonmark-0.4.0.tar.gz New: ---- recommonmark-0.5.0.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-recommonmark.spec ++++++ --- /var/tmp/diff_new_pack.Yilno1/_old 2019-01-21 11:03:21.163043035 +0100 +++ /var/tmp/diff_new_pack.Yilno1/_new 2019-01-21 11:03:21.175043019 +0100 @@ -1,7 +1,7 @@ # # spec file for package python-recommonmark # -# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2019 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 @@ -19,7 +19,7 @@ %{?!python_module:%define python_module() python-%{**} python3-%{**}} %define oldpython python Name: python-recommonmark -Version: 0.4.0 +Version: 0.5.0 Release: 0 Summary: Python docutils-compatibility bridge to CommonMark License: MIT @@ -27,15 +27,17 @@ URL: https://github.com/rtfd/recommonmark Source0: https://files.pythonhosted.org/packages/source/r/recommonmark/recommonmark-%{version}.tar.gz Source1: https://raw.githubusercontent.com/rtfd/recommonmark/master/license.md -# PATCH-FIX-UPSTREAM fix-commonmark-compatibility.patch sebix+novell....@sebix.at -- fix commonmark renamings -Patch0: fix-commonmark-compatibility.patch -BuildRequires: %{python_module CommonMark} -BuildRequires: %{python_module docutils} BuildRequires: %{python_module setuptools} BuildRequires: fdupes BuildRequires: python-rpm-macros -Requires: python-CommonMark -Requires: python-docutils +# SECTION tests +#BuildRequires: %%{python_module CommonMark >= 0.7.3} +#BuildRequires: %%{python_module Sphinx >= 1.3.1} +#BuildRequires: %%{python_module docutils >= 0.11} +# /SECTION tests +Requires: python-CommonMark >= 0.7.3 +Requires: python-Sphinx >= 1.3.1 +Requires: python-docutils >= 0.11 Requires(post): update-alternatives Requires(preun): update-alternatives Provides: python-reCommonMark = %{version} @@ -57,13 +59,13 @@ %prep %setup -q -n recommonmark-%{version} -%patch0 # Remove upstream's egg-info rm -rf %{pypi_name}.egg-info #Add missing license and readme cp -a %{SOURCE1} . # find and remove unneeded shebangs find recommonmark -name "*.py" | xargs sed -i '1 {/^#!/ d}' +sed -i 's/from commonmark import Parser/from CommonMark import Parser/' recommonmark/parser.py %build %python_build @@ -79,6 +81,10 @@ %python_clone -a %{buildroot}%{_bindir}/cm2xetex %python_clone -a %{buildroot}%{_bindir}/cm2xml +# The tests in the tarball are missing all testdata, fixed in the next version: https://github.com/rtfd/recommonmark/commit/8e02e8309a011a7592d6b88c9a9560667964ffab +#%%check +#%%python_exec setup.py test + %post %{python_install_alternative cm2man cm2latex cm2xetex cm2pseudoxml cm2html cm2xml} @@ -95,5 +101,6 @@ %python_alternative %{_bindir}/cm2xml %{python_sitelib}/recommonmark/ %{python_sitelib}/recommonmark-%{version}-py*.egg-info +%doc README.md %changelog ++++++ recommonmark-0.4.0.tar.gz -> recommonmark-0.5.0.tar.gz ++++++ ++++ 2938 lines of diff (skipped)