Accepting request 755773 from home:mcepl:branches:Cloud:OpenStack:Factory

Replace the project SR with the individual requests.

OBS-URL: https://build.opensuse.org/request/show/755773
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-cmd2?expand=0&rev=67
This commit is contained in:
Matej Cepl 2019-12-11 10:02:05 +00:00 committed by Git OBS Bridge
parent 6ad3671ba3
commit df7312e740
4 changed files with 22 additions and 24 deletions

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:145cb677ebd0e3cae546ab81c30f6c25e0b08ba0f1071df854d53707ea792633
size 112543

3
cmd2-0.9.20.tar.gz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:1ba349af127f9052363972adcbcfb921f9ca5e90f2bcbfba11b117500f11a845
size 560696

View File

@ -1,10 +1,3 @@
-------------------------------------------------------------------
Mon Dec 2 12:17:09 UTC 2019 - Dirk Mueller <dmueller@suse.com>
- go back to 0.8.9, cliff (which is the only user) is not compatible
with >= 0.9.0 atm
- Same commit like October 23th
------------------------------------------------------------------- -------------------------------------------------------------------
Fri Nov 22 10:46:57 UTC 2019 - Tomáš Chvátal <tchvatal@suse.com> Fri Nov 22 10:46:57 UTC 2019 - Tomáš Chvátal <tchvatal@suse.com>

View File

@ -17,25 +17,30 @@
%{?!python_module:%define python_module() python-%{**} python3-%{**}} %{?!python_module:%define python_module() python-%{**} python3-%{**}}
%define skip_python2 1
Name: python-cmd2 Name: python-cmd2
# Do not update beyond what is supported by cliff! Version: 0.9.20
Version: 0.8.9
Release: 0 Release: 0
Summary: Extra features for standard library's cmd module Summary: Extra features for standard library's cmd module
License: MIT License: MIT
URL: https://github.com/python-cmd2/cmd2 URL: https://github.com/python-cmd2/cmd2
Source: https://files.pythonhosted.org/packages/source/c/cmd2/cmd2-%{version}.tar.gz 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 setuptools}
BuildRequires: %{python_module wcwidth} BuildRequires: %{pythons}
BuildRequires: python-enum34 BuildRequires: fdupes
BuildRequires: python-rpm-macros BuildRequires: python-rpm-macros
BuildRequires: python-subprocess32 BuildRequires: vim
Requires: python-pyparsing >= 2.0.1 Requires: python
Requires: python-pyperclip Requires: python-attrs >= 16.3.0
Requires: python-six Requires: python-colorama >= 0.3.7
Requires: python-wcwidth Requires: python-pyperclip >= 1.6
Requires: python-wcwidth >= 0.1.7
BuildArch: noarch BuildArch: noarch
%if %{python3_version_nodots} < 35
Requires: python-contextlib2
Requires: python-typing
%endif
# SECTION Test requirements # SECTION Test requirements
BuildRequires: %{python_module attrs >= 16.3.0} BuildRequires: %{python_module attrs >= 16.3.0}
BuildRequires: %{python_module colorama >= 0.3.7} BuildRequires: %{python_module colorama >= 0.3.7}
@ -45,12 +50,10 @@ BuildRequires: %{python_module pytest-mock}
BuildRequires: %{python_module pytest} BuildRequires: %{python_module pytest}
BuildRequires: %{python_module wcwidth >= 0.1.7} BuildRequires: %{python_module wcwidth >= 0.1.7}
# Required by tests. # Required by tests.
BuildRequires: fdupes
BuildRequires: vim BuildRequires: vim
%if 0%{?suse_version} <= 1315 %if 0%{?suse_version} <= 1315
BuildRequires: %{python_module contextlib2} BuildRequires: %{python_module contextlib2}
Requires: python-enum34 BuildRequires: %{python_module typing}
Requires: python-subprocess32
%endif %endif
# /SECTION # /SECTION
%python_subpackages %python_subpackages
@ -76,6 +79,8 @@ Drop-in replacement adds several features for command-prompt tools:
%prep %prep
%setup -q -n cmd2-%{version} %setup -q -n cmd2-%{version}
# Fix non-executable-script
sed -i -e '/^#!\//, 1d' cmd2/cmd2.py
# Fix spurious-executable-perm # Fix spurious-executable-perm
chmod a-x README.md chmod a-x README.md
@ -91,7 +96,7 @@ chmod a-x README.md
%files %{python_files} %files %{python_files}
%license LICENSE %license LICENSE
%doc CHANGELOG.md README.md %doc CHANGELOG.md CODEOWNERS README.md
%{python3_sitelib}/* %{python3_sitelib}/*
%changelog %changelog