Hello community,

here is the log from the commit of package python-cmd2 for openSUSE:Factory 
checked in at 2019-11-29 15:55:49
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-cmd2 (Old)
 and      /work/SRC/openSUSE:Factory/.python-cmd2.new.26869 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-cmd2"

Fri Nov 29 15:55:49 2019 rev:29 rq:750700 version:0.9.20

Changes:
--------
--- /work/SRC/openSUSE:Factory/python-cmd2/python-cmd2.changes  2019-11-22 
10:24:39.913286977 +0100
+++ /work/SRC/openSUSE:Factory/.python-cmd2.new.26869/python-cmd2.changes       
2019-11-29 15:55:53.381007046 +0100
@@ -1,0 +2,5 @@
+Fri Nov 22 10:46:57 UTC 2019 - Tomáš Chvátal <tchva...@suse.com>
+
+- Fix up dependencies and everything after last update to 0.9.20
+
+-------------------------------------------------------------------

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ python-cmd2.spec ++++++
--- /var/tmp/diff_new_pack.djfBiy/_old  2019-11-29 15:55:53.941006725 +0100
+++ /var/tmp/diff_new_pack.djfBiy/_new  2019-11-29 15:55:53.945006723 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package python-cmd2
 #
-# Copyright (c) 2019 SUSE LLC.
+# Copyright (c) 2019 SUSE LLC
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -19,26 +19,28 @@
 %{?!python_module:%define python_module() python-%{**} python3-%{**}}
 %define skip_python2 1
 Name:           python-cmd2
-# Do not update beyond what is supported by cliff!
 Version:        0.9.20
 Release:        0
 Summary:        Extra features for standard library's cmd module
 License:        MIT
 URL:            https://github.com/python-cmd2/cmd2
 Source:         
https://files.pythonhosted.org/packages/source/c/cmd2/cmd2-%{version}.tar.gz
-BuildRequires:  %{python_module pytest-xdist}
 BuildRequires:  %{python_module setuptools_scm}
 BuildRequires:  %{python_module setuptools}
-BuildRequires:  %{python_module wcwidth}
-BuildRequires:  python-enum34
+BuildRequires:  %{pythons}
+BuildRequires:  fdupes
 BuildRequires:  python-rpm-macros
-BuildRequires:  python-subprocess32
-BuildRequires:  python3
-Requires:       python-pyparsing >= 2.0.1
-Requires:       python-pyperclip
-Requires:       python-six
-Requires:       python-wcwidth
+BuildRequires:  vim
+Requires:       python
+Requires:       python-attrs >= 16.3.0
+Requires:       python-colorama >= 0.3.7
+Requires:       python-pyperclip >= 1.6
+Requires:       python-wcwidth >= 0.1.7
 BuildArch:      noarch
+%if %{python3_version_nodots} < 35
+Requires:       python-contextlib2
+Requires:       python-typing
+%endif
 # SECTION Test requirements
 BuildRequires:  %{python_module attrs >= 16.3.0}
 BuildRequires:  %{python_module colorama >= 0.3.7}
@@ -48,12 +50,10 @@
 BuildRequires:  %{python_module pytest}
 BuildRequires:  %{python_module wcwidth >= 0.1.7}
 # Required by tests.
-BuildRequires:  fdupes
 BuildRequires:  vim
 %if 0%{?suse_version} <= 1315
 BuildRequires:  %{python_module contextlib2}
-Requires:       python-enum34
-Requires:       python-subprocess32
+BuildRequires:  %{python_module typing}
 %endif
 # /SECTION
 %python_subpackages
@@ -79,12 +79,11 @@
 
 %prep
 %setup -q -n cmd2-%{version}
+# Fix non-executable-script
+sed -i -e '/^#!\//, 1d' cmd2/cmd2.py
 # Fix spurious-executable-perm
 chmod a-x README.md
 
-# Remove spurious shebang
-sed -i -e '/^#!\/usr\/bin\/env python/d' cmd2/cmd2.py
-
 %build
 %python_build
 
@@ -97,7 +96,7 @@
 
 %files %{python_files}
 %license LICENSE
-%doc CHANGELOG.md README.md
+%doc CHANGELOG.md CODEOWNERS README.md
 %{python3_sitelib}/*
 
 %changelog


Reply via email to