diff --git a/cliff-2.13.0.tar.gz b/cliff-2.13.0.tar.gz new file mode 100644 index 0000000000000000000000000000000000000000..49ae57c7823e70b478d3bfa518010e5db6a692c7 Binary files /dev/null and b/cliff-2.13.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..bf2a73d82e673744041ee4de7799785ee5364e92 100644 --- a/python-cliff.spec +++ b/python-cliff.spec @@ -1,48 +1,49 @@ %global _empty_manifest_terminate_build 0 Name: python-cliff -Version: 3.5.0 +Version: 2.13.0 Release: 2 Summary: Command Line Interface Formulation Framework License: Apache-2.0 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/27/dc/4105138ccdf500a56f782ec2eb8a80eb3e35321133c9159224bda989d362/cliff-2.13.0.tar.gz BuildArch: noarch -Requires: python3-prettytable -Requires: python3-PyYAML -Requires: python3-cmd2 -Requires: python3-pbr -Requires: python3-pyparsing -Requires: python3-six -Requires: python3-stevedore +Requires: python2-pbr +Requires: python2-PrettyTable +Requires: python2-pyparsing +Requires: python2-six +Requires: python2-stevedore +Requires: python2-PyYAML +Requires: python2-cmd2 +Requires: python2-unicodecsv +Requires: python2-cmd2 %description -%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 +Provides: python2-cliff +BuildRequires: python2-pbr +BuildRequires: python2-devel +BuildRequires: python2-setuptools +%description -n python2-cliff %package help Summary: Development documents and examples for cliff -Provides: python3-cliff-doc +Provides: python2-cliff-doc %description help %prep -%autosetup -n cliff-3.5.0 +%autosetup -n cliff-2.13.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 +70,14 @@ 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 31 2021 huangtianhua +- Adds BuildRequires python2-pbr and fix provides +* Fri May 07 2021 Python_Bot - Package Spec generated