Hello community, here is the log from the commit of package python2-cmd2 for openSUSE:Factory checked in at 2019-04-21 08:59:24 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python2-cmd2 (Old) and /work/SRC/openSUSE:Factory/.python2-cmd2.new.5536 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python2-cmd2" Sun Apr 21 08:59:24 2019 rev:2 rq:694015 version:0.8.9 Changes: -------- --- /work/SRC/openSUSE:Factory/python2-cmd2/python2-cmd2.changes 2018-09-26 16:12:11.847408875 +0200 +++ /work/SRC/openSUSE:Factory/.python2-cmd2.new.5536/python2-cmd2.changes 2019-04-21 08:59:28.282272543 +0200 @@ -1,0 +2,7 @@ +Sat Apr 13 15:48:27 UTC 2019 - Dirk Mueller <[email protected]> + +- remove singlespec madness for python 2.x only package: 10 + lines shorter spec file and even builds for distros older + than Tumbleweed. + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python2-cmd2.spec ++++++ --- /var/tmp/diff_new_pack.XCwRia/_old 2019-04-21 08:59:31.386276230 +0200 +++ /var/tmp/diff_new_pack.XCwRia/_new 2019-04-21 08:59:31.390276235 +0200 @@ -1,7 +1,7 @@ # # spec file for package python2-cmd2 # -# 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 @@ -12,44 +12,38 @@ # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. -# Please submit bugfixes or comments via http://bugs.opensuse.org/ +# Please submit bugfixes or comments via https://bugs.opensuse.org/ # -%{?!python_module:%define python_module() python-%{**} python3-%{**}} -%define skip_python3 1 Name: python2-cmd2 Version: 0.8.9 Release: 0 Summary: Extra features for standard library's cmd module License: MIT Group: Development/Languages/Python -Url: http://packages.python.org/cmd2/ +URL: http://packages.python.org/cmd2/ Source: https://files.pythonhosted.org/packages/source/c/cmd2/cmd2-%{version}.tar.gz -BuildRequires: %{python_module contextlib2} -BuildRequires: %{python_module mock} -BuildRequires: %{python_module pyperclip} -BuildRequires: %{python_module pytest-xdist} -BuildRequires: %{python_module setuptools} -BuildRequires: %{python_module wcwidth} +BuildRequires: python-contextlib2 BuildRequires: python-enum34 +BuildRequires: python-mock +BuildRequires: python-pyperclip +BuildRequires: python-pytest-xdist BuildRequires: python-rpm-macros +BuildRequires: python-setuptools BuildRequires: python-subprocess32 -BuildRequires: fdupes -BuildRequires: python-rpm-macros -Requires: python-pyparsing >= 2.0.1 -Requires: python-pyperclip -Requires: python-six -Requires: python-wcwidth -%ifpython2 -Requires: python-contextlib2 -Requires: python-enum34 -Requires: python-subprocess32 -%endif +BuildRequires: python-wcwidth +Requires: python2-contextlib2 +Requires: python2-enum34 +Requires: python2-pyparsing >= 2.0.1 +Requires: python2-pyperclip +Requires: python2-six +Requires: python2-subprocess32 +Requires: python2-wcwidth +Provides: python-cmd2 = %{version}-%{release} +Obsoletes: python-cmd2 < %{version}-%{release} BuildArch: noarch -%python_subpackages - %description Enhancements for standard library's cmd module. @@ -73,18 +67,17 @@ %setup -q -n cmd2-%{version} %build -%python_build +%py2_build %install -%python_install -%python_expand %fdupes %{buildroot}%{$python_sitelib} +%py2_install %check -%python_exec setup.py test +python2 setup.py test -%files %{python_files} +%files %license LICENSE %doc CHANGELOG.md CODEOWNERS README.md -%{python_sitelib}/* +%{python2_sitelib}/* %changelog
