From f52eeac598ec44392414a574f8e05efbda1b0e88 Mon Sep 17 00:00:00 2001 From: Haikel Guemar Date: Aug 17 2018 18:01:38 +0000 Subject: Update to 3.19.0 --- diff --git a/.gitignore b/.gitignore index d21c24a..20ba42f 100644 --- a/.gitignore +++ b/.gitignore @@ -22,3 +22,4 @@ /oslo.i18n-3.15.3.tar.gz /oslo.i18n-3.12.0.tar.gz /oslo.i18n-3.17.0.tar.gz +/oslo.i18n-3.19.0.tar.gz diff --git a/Changelog.old b/Changelog.old index 0888fd1..efe8484 100644 --- a/Changelog.old +++ b/Changelog.old @@ -1,3 +1,19 @@ +* Sat Jul 14 2018 Fedora Release Engineering - 3.17.0-5 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild + +* Tue Jun 19 2018 Miro Hrončok - 3.17.0-4 +- Rebuilt for Python 3.7 + +* Fri Feb 09 2018 Iryna Shcherbina - 3.17.0-3 +- Update Python 2 dependency declarations to new packaging standards + (See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3) + +* Fri Feb 09 2018 Fedora Release Engineering - 3.17.0-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild + +* Thu Aug 10 2017 Alfredo Moralejo 3.17.0-1 +- Update to 3.17.0 + * Thu May 25 2017 Parag Nemade - 3.15.3-1 - Update to 3.15.3 version diff --git a/python-oslo-i18n.spec b/python-oslo-i18n.spec index 54cc7a0..cc9d556 100644 --- a/python-oslo-i18n.spec +++ b/python-oslo-i18n.spec @@ -7,9 +7,14 @@ %global with_python3 1 %endif +%global common_desc \ +The oslo.i18n library contain utilities for working with internationalization \ +(i18n) features, especially translation for text strings in an application \ +or library. + Name: python-oslo-i18n -Version: 3.17.0 -Release: 5%{?dist} +Version: 3.19.0 +Release: 1%{?dist} Summary: OpenStack i18n library License: ASL 2.0 URL: https://github.com/openstack/%{pypi_name} @@ -20,9 +25,7 @@ BuildArch: noarch BuildRequires: git %description -The oslo.i18n library contain utilities for working with internationalization -(i18n) features, especially translation for text strings in an application -or library. +%{common_desc} %package -n python2-oslo-i18n Summary: OpenStack i18n Python 2 library @@ -43,9 +46,7 @@ Requires: python2-fixtures Requires: python-%{pkg_name}-lang = %{version}-%{release} %description -n python2-oslo-i18n -The oslo.i18n library contain utilities for working with internationalization -(i18n) features, especially translation for text strings in an application -or library. +%{common_desc} %if 0%{?with_python3} %package -n python3-oslo-i18n @@ -64,9 +65,7 @@ Requires: python3-fixtures Requires: python-%{pkg_name}-lang = %{version}-%{release} %description -n python3-oslo-i18n -The oslo.i18n library contain utilities for working with internationalization -(i18n) features, especially translation for text strings in an application -or library. +%{common_desc} %endif %package -n python-oslo-i18n-doc @@ -77,8 +76,8 @@ Provides: python3-oslo-i18n-doc = %{version}-%{release} Obsoletes: python2-oslo-i18n-doc <= 3.9.0-1 Obsoletes: python3-oslo-i18n-doc <= 3.9.0-1 -BuildRequires: python2-sphinx -BuildRequires: python2-openstackdocstheme +BuildRequires: python-sphinx +BuildRequires: python-openstackdocstheme %description -n python-oslo-i18n-doc Documentation for the oslo.i18n library. @@ -94,18 +93,23 @@ Translation files for Oslo i18n library rm -rf *.egg-info # Let RPM handle the dependencies -rm -f test-requirements.txt requirements.txt +rm -rf *requirements.txt %build -%py2_build %if 0%{?with_python3} %py3_build %endif +%py2_build + # Generate i18n files %{__python2} setup.py compile_catalog -d build/lib/oslo_i18n/locale %install +%if 0%{?with_python3} +%py3_install +%endif %py2_install + %{__python2} setup.py build_sphinx --build-dir . -b html # remove the sphinx-build leftovers rm -rf html/.{doctrees,buildinfo} @@ -113,10 +117,6 @@ rm -rf html/.{doctrees,buildinfo} # Fix this rpmlint warning sed -i "s|\r||g" html/_static/jquery.js -%if 0%{?with_python3} -%py3_install -%endif - # Install i18n .mo files (.po and .pot are not required) install -d -m 755 %{buildroot}%{_datadir} rm -f %{buildroot}%{python2_sitelib}/oslo_i18n/locale/*/LC_*/oslo_i18n*po @@ -151,19 +151,6 @@ rm -rf %{buildroot}%{python3_sitelib}/oslo_i18n/locale %license LICENSE %changelog -* Sat Jul 14 2018 Fedora Release Engineering - 3.17.0-5 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild - -* Tue Jun 19 2018 Miro Hrončok - 3.17.0-4 -- Rebuilt for Python 3.7 - -* Fri Feb 09 2018 Iryna Shcherbina - 3.17.0-3 -- Update Python 2 dependency declarations to new packaging standards - (See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3) - -* Fri Feb 09 2018 Fedora Release Engineering - 3.17.0-2 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild - -* Thu Aug 10 2017 Alfredo Moralejo 3.17.0-1 -- Update to 3.17.0 +* Fri Feb 09 2018 RDO 3.19.0-1 +- Update to 3.19.0 diff --git a/sources b/sources index 1e7b7e0..0ca5589 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (oslo.i18n-3.17.0.tar.gz) = 22d4fb92f94b0d69f719764219fe1234a42feec8d3eb72c9098cd8451a9e26778c209eb3a5ebb1b0f6e793304b8fc48d38578b598f24bc31a43e9468eb44fac4 +SHA512 (oslo.i18n-3.19.0.tar.gz) = 2c12fc5ec24fbebd2624b3bf9d3043a62da84304e73a995c49b395e792bd9bd7d38a13f5e3086abe59bbb9ef43729a47eaee78ea0701ed05c15f5070af232a69