diff --git a/cmd2-0.8.8.tar.gz b/cmd2-0.8.8.tar.gz new file mode 100644 index 0000000000000000000000000000000000000000..6ce35a3f0985ead140dd2e9da403613220c0678e Binary files /dev/null and b/cmd2-0.8.8.tar.gz differ diff --git a/cmd2-1.4.0.tar.gz b/cmd2-1.4.0.tar.gz deleted file mode 100644 index 1231b337938a9361813b9ac1f627af81a93c34bd..0000000000000000000000000000000000000000 Binary files a/cmd2-1.4.0.tar.gz and /dev/null differ diff --git a/python-cmd2.spec b/python-cmd2.spec index 9e67e7119c3c2b11739314bbed01197ef8a447f9..5c1d90e07222e40803970da27f7a84040cc6f2f4 100644 --- a/python-cmd2.spec +++ b/python-cmd2.spec @@ -1,68 +1,41 @@ %global _empty_manifest_terminate_build 0 Name: python-cmd2 -Version: 1.4.0 -Release: 2 -Summary: cmd2 - quickly build feature-rich and user-friendly interactive command line applications in Python +Version: 0.8.8 +Release: 1 +Summary: cmd2 - a tool for building interactive command line applications in Python License: MIT URL: https://github.com/python-cmd2/cmd2 -Source0: https://files.pythonhosted.org/packages/c1/76/98f8767ddc8febfbd6367b2fcd391cd92087496d00e58ad99008e126035e/cmd2-1.4.0.tar.gz +Source0: https://files.pythonhosted.org/packages/e8/ee/e9d450ae62cc0bb535c1f9e3f67530abfdb7892a68761d11819b0da65467/cmd2-0.8.8.tar.gz BuildArch: noarch - -Requires: python3-attrs -Requires: python3-colorama -Requires: python3-pyperclip -Requires: python3-wcwidth -Requires: python3-importlib-metadata -Requires: python3-pyreadline -Requires: python3-pytest -Requires: python3-codecov -Requires: python3-pytest-cov -Requires: python3-pytest-mock -Requires: python3-flake8 -Requires: python3-sphinx -Requires: python3-sphinx-rtd-theme -Requires: python3-sphinx-autobuild -Requires: python3-doc8 -Requires: python3-invoke -Requires: python3-twine -Requires: python3-mock -Requires: python3-nox -Requires: python3-nox -Requires: python3-codecov -Requires: python3-coverage -Requires: python3-pytest -Requires: python3-pytest-cov -Requires: python3-pytest-mock -Requires: python3-mock -Requires: python3-gnureadline - %description -cmd2 is a tool for building interactive command line applications in Python. +A tool for building interactive command line applications in Python. + -%package -n python3-cmd2 -Summary: cmd2 - quickly build feature-rich and user-friendly interactive command line applications in Python +%package -n python2-cmd2 +Summary: cmd2 - a tool for building interactive command line applications in Python Provides: python-cmd2 -BuildRequires: python3-devel -BuildRequires: python3-setuptools -BuildRequires: python3-pip -BuildRequires: python3-pbr -%description -n python3-cmd2 -cmd2 is a tool for building interactive command line applications in Python. +BuildRequires: python2-devel +BuildRequires: python2-setuptools +BuildRequires: python2-pip +%description -n python2-cmd2 +A tool for building interactive command line applications in Python. + %package help Summary: Development documents and examples for cmd2 -Provides: python3-cmd2-doc +Provides: python2-cmd2-doc %description help -cmd2 is a tool for building interactive command line applications in Python. +A tool for building interactive command line applications in Python. + %prep -%autosetup -n cmd2-1.4.0 +%autosetup -n cmd2-0.8.8 %build -%py3_build +%py2_build %install -%py3_install +%py2_install install -d -m755 %{buildroot}/%{_pkgdocdir} if [ -d doc ]; then cp -arf doc %{buildroot}/%{_pkgdocdir}; fi if [ -d docs ]; then cp -arf docs %{buildroot}/%{_pkgdocdir}; fi @@ -89,14 +62,12 @@ popd mv %{buildroot}/filelist.lst . mv %{buildroot}/doclist.lst . -%files -n python3-cmd2 -f filelist.lst -%dir %{python3_sitelib}/* +%files -n python2-cmd2 -f filelist.lst +%dir %{python2_sitelib}/* %files help -f doclist.lst %{_docdir}/* %changelog -* Fri Jan 29 2021 zhangy -- Add buildrequires -* Wed Dec 09 2020 Python_Bot +* Thu Apr 29 2021 openstack-sig - Package Spec generated