diff --git a/oslo.i18n-3.19.0.tar.gz b/oslo.i18n-3.19.0.tar.gz new file mode 100644 index 0000000000000000000000000000000000000000..9a6432b52f7efd9a86b09e8b31c48e00178adf87 Binary files /dev/null and b/oslo.i18n-3.19.0.tar.gz differ diff --git a/oslo.i18n-5.0.1.tar.gz b/oslo.i18n-5.0.1.tar.gz deleted file mode 100755 index 830d2efe18c6488f5ce91803b5b1e80b2b4c496d..0000000000000000000000000000000000000000 Binary files a/oslo.i18n-5.0.1.tar.gz and /dev/null differ diff --git a/python-oslo-i18n.spec b/python-oslo-i18n.spec old mode 100755 new mode 100644 index bac01a7226271912e6d0b928f84a69c34316b83f..8c2f7ec75cffbfc404748ec86375502fe00f5a08 --- a/python-oslo-i18n.spec +++ b/python-oslo-i18n.spec @@ -1,46 +1,56 @@ %global _empty_manifest_terminate_build 0 Name: python-oslo-i18n -Version: 5.0.1 +Version: 3.19.0 Release: 2 Summary: Oslo i18n library License: Apache-2.0 URL: https://docs.openstack.org/oslo.i18n/latest -Source0: https://files.pythonhosted.org/packages/de/6f/e8343be26e69e42b3d30610c3ffee576e5b901be6792e5c3af1384613b40/oslo.i18n-5.0.1.tar.gz +Source0: https://files.pythonhosted.org/packages/0c/11/d7778798f905fc87416168ed51968cbf57aa62dbd8103ccb73fc8758f766/oslo.i18n-3.19.0.tar.gz BuildArch: noarch - -Requires: python3-pbr -Requires: python3-six - %description -Internationalization and translation library - +================================================== + oslo.i18n -- Oslo Internationalization Utilities +================================================== +The oslo.i18n library contain utilities for working with +internationalization (i18n) features, especially translation for text +strings in an application or library. -%package -n python3-oslo-i18n +%package -n python2-oslo-i18n Summary: Oslo i18n library -Provides: python-oslo.i18n -BuildRequires: python3-devel -BuildRequires: python3-setuptools -BuildRequires: python3-pip -BuildRequires: python3-pbr -%description -n python3-oslo-i18n -Internationalization and translation library - +Provides: python2-oslo-i18n +BuildRequires: python2-pbr +BuildRequires: python2-devel +BuildRequires: python2-setuptools +Requires: python2-pbr +Requires: python2-babel +Requires: python2-six +%description -n python2-oslo-i18n +================================================== + oslo.i18n -- Oslo Internationalization Utilities +================================================== +The oslo.i18n library contain utilities for working with +internationalization (i18n) features, especially translation for text +strings in an application or library. %package help Summary: Development documents and examples for oslo.i18n -Provides: python3-oslo-i18n-doc +Provides: python2-oslo-i18n-doc %description help -Internationalization and translation library - +================================================== + oslo.i18n -- Oslo Internationalization Utilities +================================================== +The oslo.i18n library contain utilities for working with +internationalization (i18n) features, especially translation for text +strings in an application or library. %prep -%autosetup -n oslo.i18n-5.0.1 +%autosetup -n oslo.i18n-3.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 @@ -67,14 +77,14 @@ popd mv %{buildroot}/filelist.lst . mv %{buildroot}/doclist.lst . -%files -n python3-oslo-i18n -f filelist.lst -%dir %{python3_sitelib}/* +%files -n python2-oslo-i18n -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 +* Sat May 29 2021 huangtianhua +- Adds BuildRequires python2-pbr to make obs success +* Sat May 08 2021 OpenStack_SIG - Package Spec generated