diff --git a/debtcollector-1.19.0.tar.gz b/debtcollector-1.19.0.tar.gz new file mode 100644 index 0000000000000000000000000000000000000000..0cf0be7885892cfb3aa1d3e6d3638097b44e40e7 Binary files /dev/null and b/debtcollector-1.19.0.tar.gz differ diff --git a/debtcollector-2.2.0.tar.gz b/debtcollector-2.2.0.tar.gz deleted file mode 100644 index d877dbb61cec45c666997777baacad5f8c83d817..0000000000000000000000000000000000000000 Binary files a/debtcollector-2.2.0.tar.gz and /dev/null differ diff --git a/python-debtcollector.spec b/python-debtcollector.spec index 6fbcf6d4610ae1ea90837473accdb3da0f6e70f2..5e94da39e82735f3e6e0f8323626faa819d6f449 100644 --- a/python-debtcollector.spec +++ b/python-debtcollector.spec @@ -1,44 +1,48 @@ %global _empty_manifest_terminate_build 0 Name: python-debtcollector -Version: 2.2.0 -Release: 2 +Version: 1.19.0 +Release: 3 Summary: A collection of Python deprecation patterns and strategies that help you collect your technical debt in a non-destructive manner. License: Apache-2.0 URL: https://docs.openstack.org/debtcollector/latest -Source0: https://files.pythonhosted.org/packages/43/db/878dd456ccdbba6e466fc91e2534fd183a345a3fe261c4780a0e46c6dab0/debtcollector-2.2.0.tar.gz +Source0: https://files.pythonhosted.org/packages/44/db/6b54be9367110bc40468f3bcc75b115ab655a9fdd993a4ed01862fdb8d80/debtcollector-1.19.0.tar.gz BuildArch: noarch - -Requires: python3-pbr -Requires: python3-six -Requires: python3-wrapt - %description +A collection of Python deprecation patterns and strategies that help you +collect your technical debt in a non-destructive manner. -%package -n python3-debtcollector +%package -n python2-debtcollector Summary: A collection of Python deprecation patterns and strategies that help you collect your technical debt in a non-destructive manner. -Provides: python-debtcollector -BuildRequires: python3-devel -BuildRequires: python3-setuptools -BuildRequires: python3-pip -BuildRequires: python3-pbr -%description -n python3-debtcollector +Provides: python2-debtcollector +BuildRequires: python2-pbr +BuildRequires: python2-devel +BuildRequires: python2-setuptools +Requires: python2-pbr +Requires: python2-six +Requires: python2-wrapt +Requires: python2-funcsigs +%description -n python2-debtcollector +A collection of Python deprecation patterns and strategies that help you +collect your technical debt in a non-destructive manner. %package help Summary: Development documents and examples for debtcollector -Provides: python3-debtcollector-doc +Provides: python2-debtcollector-doc %description help +A collection of Python deprecation patterns and strategies that help you +collect your technical debt in a non-destructive manner. %prep -%autosetup -n debtcollector-2.2.0 +%autosetup -n debtcollector-1.19.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 @@ -65,14 +69,16 @@ popd mv %{buildroot}/filelist.lst . mv %{buildroot}/doclist.lst . -%files -n python3-debtcollector -f filelist.lst -%dir %{python3_sitelib}/* +%files -n python2-debtcollector -f filelist.lst +%{python2_sitelib}/* %files help -f doclist.lst %{_docdir}/* %changelog -* Sat Jan 30 2021 zhangy -- Add buildrequires -* Fri Nov 20 2020 Python_Bot +* Tue Jun 1 2021 huangtianhua +- Adds BuildRequires python2-pbr to make obs success +* Thu May 20 2021 openstack-sig +- Fix provides +* Mon May 10 2021 openstack-sig - Package Spec generated