diff --git a/cliff-2.11.0.tar.gz b/cliff-2.11.0.tar.gz new file mode 100644 index 0000000000000000000000000000000000000000..bf7fcf77f1c041011b495b6b062737ab92eb967f Binary files /dev/null and b/cliff-2.11.0.tar.gz differ diff --git a/cliff-3.5.0.tar.gz b/cliff-3.5.0.tar.gz deleted file mode 100644 index 4475e712c4a1bd2dbf1cd48f029f5a865ea1a077..0000000000000000000000000000000000000000 Binary files a/cliff-3.5.0.tar.gz and /dev/null differ diff --git a/python-cliff.spec b/python-cliff.spec index f0c71eb61a266edeb5a23e5cff75527b821082fa..a50a6fb9eeb649d9cabc32ea01a3e789a4830a12 100644 --- a/python-cliff.spec +++ b/python-cliff.spec @@ -1,48 +1,120 @@ %global _empty_manifest_terminate_build 0 Name: python-cliff -Version: 3.5.0 -Release: 2 +Version: 2.11.0 +Release: 1 Summary: Command Line Interface Formulation Framework -License: Apache-2.0 +License: Apache Software License URL: https://docs.openstack.org/cliff/latest/ -Source0: https://files.pythonhosted.org/packages/eb/ac/f4a5fd1845521e64a0d2224ceb65d81d8dccfb845ed1ccb3918f67836b44/cliff-3.5.0.tar.gz +Source0: https://files.pythonhosted.org/packages/b6/9d/bcc276f7ab90162a7e78cab3ea33b4017b42ed050af25c1008bb768067c4/cliff-2.11.0.tar.gz BuildArch: noarch +%description +======================== +Team and repository tags +======================== -Requires: python3-prettytable -Requires: python3-PyYAML -Requires: python3-cmd2 -Requires: python3-pbr -Requires: python3-pyparsing -Requires: python3-six -Requires: python3-stevedore +.. image:: https://governance.openstack.org/tc/badges/cliff.svg + :target: https://governance.openstack.org/tc/reference/tags/index.html -%description +.. Change things from this point on + +======================================================= + cliff -- Command Line Interface Formulation Framework +======================================================= + +cliff is a framework for building command line programs. It uses +`setuptools entry points`_ to provide subcommands, output formatters, and +other extensions. + +.. _setuptools entry points: http://setuptools.readthedocs.io/en/latest/pkg_resources.html#convenience-api + +* Free software: Apache license +* Documentation: https://docs.openstack.org/cliff/latest/ +* Source: https://git.openstack.org/cgit/openstack/cliff +* Bugs: https://bugs.launchpad.net/python-cliff -%package -n python3-cliff + + +%package -n python2-cliff Summary: Command Line Interface Formulation Framework Provides: python-cliff -BuildRequires: python3-devel -BuildRequires: python3-setuptools -BuildRequires: python3-pip -BuildRequires: python3-pbr -%description -n python3-cliff +BuildRequires: python2-devel +BuildRequires: python2-setuptools +Requires: python2-pbr +Requires: python2-cmd2 +Requires: python2-PrettyTable +Requires: python2-pyparsing +Requires: python2-six +Requires: python2-stevedore +Requires: python2-PyYAML +Requires: python2-unicodecsv +%description -n python2-cliff +======================== +Team and repository tags +======================== + +.. image:: https://governance.openstack.org/tc/badges/cliff.svg + :target: https://governance.openstack.org/tc/reference/tags/index.html + +.. Change things from this point on + +======================================================= + cliff -- Command Line Interface Formulation Framework +======================================================= + +cliff is a framework for building command line programs. It uses +`setuptools entry points`_ to provide subcommands, output formatters, and +other extensions. + +.. _setuptools entry points: http://setuptools.readthedocs.io/en/latest/pkg_resources.html#convenience-api + +* Free software: Apache license +* Documentation: https://docs.openstack.org/cliff/latest/ +* Source: https://git.openstack.org/cgit/openstack/cliff +* Bugs: https://bugs.launchpad.net/python-cliff + + %package help Summary: Development documents and examples for cliff -Provides: python3-cliff-doc +Provides: python2-cliff-doc %description help +======================== +Team and repository tags +======================== + +.. image:: https://governance.openstack.org/tc/badges/cliff.svg + :target: https://governance.openstack.org/tc/reference/tags/index.html + +.. Change things from this point on + +======================================================= + cliff -- Command Line Interface Formulation Framework +======================================================= + +cliff is a framework for building command line programs. It uses +`setuptools entry points`_ to provide subcommands, output formatters, and +other extensions. + +.. _setuptools entry points: http://setuptools.readthedocs.io/en/latest/pkg_resources.html#convenience-api + +* Free software: Apache license +* Documentation: https://docs.openstack.org/cliff/latest/ +* Source: https://git.openstack.org/cgit/openstack/cliff +* Bugs: https://bugs.launchpad.net/python-cliff + + %prep -%autosetup -n cliff-3.5.0 +%autosetup -n cliff-2.11.0 %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 @@ -69,14 +141,12 @@ popd mv %{buildroot}/filelist.lst . mv %{buildroot}/doclist.lst . -%files -n python3-cliff -f filelist.lst -%dir %{python3_sitelib}/* +%files -n python2-cliff -f filelist.lst +%dir %{python2_sitelib}/* %files help -f doclist.lst %{_docdir}/* %changelog -* Sat Jan 30 2021 zhangy -- Add buildrequires -* Fri Nov 20 2020 Python_Bot +* Mon May 10 2021 OpenStack_SIG - Package Spec generated