|
![](https://seccdn.libravatar.org/avatar/2dd42315ad87567178b59979b4d0c96e4716b86a3efa909ff8bb40c870b36dfc?s=16&d=retro) |
2527827 |
|
|
![](https://seccdn.libravatar.org/avatar/31d094c442f8266b190734471d2a474f27c4a00ee8a9899e5fe5f008da41319c?s=16&d=retro) |
1e675e1 |
%{!?upstream_version: %global upstream_version %{version}%{?milestone}}
|
|
![](https://seccdn.libravatar.org/avatar/31d094c442f8266b190734471d2a474f27c4a00ee8a9899e5fe5f008da41319c?s=16&d=retro) |
4195ac5 |
%global with_doc 1
|
|
![](https://seccdn.libravatar.org/avatar/31d094c442f8266b190734471d2a474f27c4a00ee8a9899e5fe5f008da41319c?s=16&d=retro) |
214fb1d |
%global pypi_name oslo.log
|
|
![](https://seccdn.libravatar.org/avatar/31d094c442f8266b190734471d2a474f27c4a00ee8a9899e5fe5f008da41319c?s=16&d=retro) |
1e675e1 |
%global pkg_name oslo-log
|
|
![](https://seccdn.libravatar.org/avatar/31d094c442f8266b190734471d2a474f27c4a00ee8a9899e5fe5f008da41319c?s=16&d=retro) |
4195ac5 |
%global common_desc \
|
|
![](https://seccdn.libravatar.org/avatar/31d094c442f8266b190734471d2a474f27c4a00ee8a9899e5fe5f008da41319c?s=16&d=retro) |
4195ac5 |
OpenStack logging configuration library provides standardized configuration \
|
|
![](https://seccdn.libravatar.org/avatar/31d094c442f8266b190734471d2a474f27c4a00ee8a9899e5fe5f008da41319c?s=16&d=retro) |
4195ac5 |
for all openstack projects. It also provides custom formatters, handlers and \
|
|
![](https://seccdn.libravatar.org/avatar/31d094c442f8266b190734471d2a474f27c4a00ee8a9899e5fe5f008da41319c?s=16&d=retro) |
4195ac5 |
support for context specific logging (like resource id’s etc).
|
|
![](https://seccdn.libravatar.org/avatar/31d094c442f8266b190734471d2a474f27c4a00ee8a9899e5fe5f008da41319c?s=16&d=retro) |
4195ac5 |
|
|
![](https://seccdn.libravatar.org/avatar/31d094c442f8266b190734471d2a474f27c4a00ee8a9899e5fe5f008da41319c?s=16&d=retro) |
4195ac5 |
%global common_desc1 \
|
|
![](https://seccdn.libravatar.org/avatar/31d094c442f8266b190734471d2a474f27c4a00ee8a9899e5fe5f008da41319c?s=16&d=retro) |
4195ac5 |
Tests for the Oslo Log handling library.
|
|
![](https://seccdn.libravatar.org/avatar/31d094c442f8266b190734471d2a474f27c4a00ee8a9899e5fe5f008da41319c?s=16&d=retro) |
214fb1d |
|
|
![](https://seccdn.libravatar.org/avatar/31d094c442f8266b190734471d2a474f27c4a00ee8a9899e5fe5f008da41319c?s=16&d=retro) |
214fb1d |
Name: python-oslo-log
|
|
![](https://seccdn.libravatar.org/avatar/2dd42315ad87567178b59979b4d0c96e4716b86a3efa909ff8bb40c870b36dfc?s=16&d=retro) |
2527827 |
Version: 3.42.3
|
|
![](https://seccdn.libravatar.org/avatar/3c06a168eac5e10baa83f960445b9b006df35865b76dcf7a899f6215ea86b54f?s=16&d=retro) |
45be505 |
Release: 3%{?dist}
|
|
![](https://seccdn.libravatar.org/avatar/31d094c442f8266b190734471d2a474f27c4a00ee8a9899e5fe5f008da41319c?s=16&d=retro) |
214fb1d |
Summary: OpenStack Oslo Log library
|
|
![](https://seccdn.libravatar.org/avatar/31d094c442f8266b190734471d2a474f27c4a00ee8a9899e5fe5f008da41319c?s=16&d=retro) |
214fb1d |
|
|
![](https://seccdn.libravatar.org/avatar/31d094c442f8266b190734471d2a474f27c4a00ee8a9899e5fe5f008da41319c?s=16&d=retro) |
214fb1d |
License: ASL 2.0
|
|
![](https://seccdn.libravatar.org/avatar/31d094c442f8266b190734471d2a474f27c4a00ee8a9899e5fe5f008da41319c?s=16&d=retro) |
214fb1d |
URL: http://launchpad.net/oslo
|
|
![](https://seccdn.libravatar.org/avatar/31d094c442f8266b190734471d2a474f27c4a00ee8a9899e5fe5f008da41319c?s=16&d=retro) |
a78f962 |
Source0: https://tarballs.openstack.org/%{pypi_name}/%{pypi_name}-%{upstream_version}.tar.gz
|
|
![](https://seccdn.libravatar.org/avatar/31d094c442f8266b190734471d2a474f27c4a00ee8a9899e5fe5f008da41319c?s=16&d=retro) |
214fb1d |
BuildArch: noarch
|
|
![](https://seccdn.libravatar.org/avatar/31d094c442f8266b190734471d2a474f27c4a00ee8a9899e5fe5f008da41319c?s=16&d=retro) |
214fb1d |
|
|
![](https://seccdn.libravatar.org/avatar/31d094c442f8266b190734471d2a474f27c4a00ee8a9899e5fe5f008da41319c?s=16&d=retro) |
4195ac5 |
%if 0%{?with_doc}
|
|
![](https://seccdn.libravatar.org/avatar/31d094c442f8266b190734471d2a474f27c4a00ee8a9899e5fe5f008da41319c?s=16&d=retro) |
1e675e1 |
%package -n python-%{pkg_name}-doc
|
|
![](https://seccdn.libravatar.org/avatar/31d094c442f8266b190734471d2a474f27c4a00ee8a9899e5fe5f008da41319c?s=16&d=retro) |
214fb1d |
Summary: Documentation for the Oslo Log handling library
|
|
![](https://seccdn.libravatar.org/avatar/31d094c442f8266b190734471d2a474f27c4a00ee8a9899e5fe5f008da41319c?s=16&d=retro) |
214fb1d |
|
|
![](https://seccdn.libravatar.org/avatar/44156c8ac9cf5e269ec23b05888ccab5358d192169a1303cb43f77b10b967846?s=16&d=retro) |
338b88b |
BuildRequires: python3-sphinx
|
|
![](https://seccdn.libravatar.org/avatar/44156c8ac9cf5e269ec23b05888ccab5358d192169a1303cb43f77b10b967846?s=16&d=retro) |
338b88b |
BuildRequires: python3-openstackdocstheme
|
|
![](https://seccdn.libravatar.org/avatar/31d094c442f8266b190734471d2a474f27c4a00ee8a9899e5fe5f008da41319c?s=16&d=retro) |
214fb1d |
|
|
![](https://seccdn.libravatar.org/avatar/31d094c442f8266b190734471d2a474f27c4a00ee8a9899e5fe5f008da41319c?s=16&d=retro) |
1e675e1 |
%description -n python-%{pkg_name}-doc
|
|
![](https://seccdn.libravatar.org/avatar/31d094c442f8266b190734471d2a474f27c4a00ee8a9899e5fe5f008da41319c?s=16&d=retro) |
214fb1d |
Documentation for the Oslo Log handling library.
|
|
![](https://seccdn.libravatar.org/avatar/31d094c442f8266b190734471d2a474f27c4a00ee8a9899e5fe5f008da41319c?s=16&d=retro) |
4195ac5 |
%endif
|
|
![](https://seccdn.libravatar.org/avatar/31d094c442f8266b190734471d2a474f27c4a00ee8a9899e5fe5f008da41319c?s=16&d=retro) |
214fb1d |
|
|
![](https://seccdn.libravatar.org/avatar/da3993ad9cc468876a3870c7acb6152e9f41e03b5593d3714f9c291cf99ce8c4?s=16&d=retro) |
2a41025 |
%package -n python3-%{pkg_name}-tests
|
|
![](https://seccdn.libravatar.org/avatar/da3993ad9cc468876a3870c7acb6152e9f41e03b5593d3714f9c291cf99ce8c4?s=16&d=retro) |
2a41025 |
Summary: Tests for the Oslo Log handling library
|
|
![](https://seccdn.libravatar.org/avatar/da3993ad9cc468876a3870c7acb6152e9f41e03b5593d3714f9c291cf99ce8c4?s=16&d=retro) |
2a41025 |
|
|
![](https://seccdn.libravatar.org/avatar/da3993ad9cc468876a3870c7acb6152e9f41e03b5593d3714f9c291cf99ce8c4?s=16&d=retro) |
2a41025 |
Requires: python3-%{pkg_name} = %{version}-%{release}
|
|
![](https://seccdn.libravatar.org/avatar/da3993ad9cc468876a3870c7acb6152e9f41e03b5593d3714f9c291cf99ce8c4?s=16&d=retro) |
2a41025 |
Requires: python3-mock
|
|
![](https://seccdn.libravatar.org/avatar/da3993ad9cc468876a3870c7acb6152e9f41e03b5593d3714f9c291cf99ce8c4?s=16&d=retro) |
2a41025 |
Requires: python3-oslotest
|
|
![](https://seccdn.libravatar.org/avatar/2dd42315ad87567178b59979b4d0c96e4716b86a3efa909ff8bb40c870b36dfc?s=16&d=retro) |
2527827 |
Requires: python3-oslo-config >= 2:5.2.0
|
|
![](https://seccdn.libravatar.org/avatar/da3993ad9cc468876a3870c7acb6152e9f41e03b5593d3714f9c291cf99ce8c4?s=16&d=retro) |
2a41025 |
Requires: python3-subunit
|
|
![](https://seccdn.libravatar.org/avatar/da3993ad9cc468876a3870c7acb6152e9f41e03b5593d3714f9c291cf99ce8c4?s=16&d=retro) |
2a41025 |
Requires: python3-testrepository
|
|
![](https://seccdn.libravatar.org/avatar/da3993ad9cc468876a3870c7acb6152e9f41e03b5593d3714f9c291cf99ce8c4?s=16&d=retro) |
2a41025 |
Requires: python3-testscenarios
|
|
![](https://seccdn.libravatar.org/avatar/da3993ad9cc468876a3870c7acb6152e9f41e03b5593d3714f9c291cf99ce8c4?s=16&d=retro) |
2a41025 |
Requires: python3-testtools
|
|
![](https://seccdn.libravatar.org/avatar/da3993ad9cc468876a3870c7acb6152e9f41e03b5593d3714f9c291cf99ce8c4?s=16&d=retro) |
2a41025 |
|
|
![](https://seccdn.libravatar.org/avatar/da3993ad9cc468876a3870c7acb6152e9f41e03b5593d3714f9c291cf99ce8c4?s=16&d=retro) |
2a41025 |
%description -n python3-%{pkg_name}-tests
|
|
![](https://seccdn.libravatar.org/avatar/31d094c442f8266b190734471d2a474f27c4a00ee8a9899e5fe5f008da41319c?s=16&d=retro) |
4195ac5 |
%{common_desc1}
|
|
![](https://seccdn.libravatar.org/avatar/da3993ad9cc468876a3870c7acb6152e9f41e03b5593d3714f9c291cf99ce8c4?s=16&d=retro) |
2a41025 |
|
|
![](https://seccdn.libravatar.org/avatar/31d094c442f8266b190734471d2a474f27c4a00ee8a9899e5fe5f008da41319c?s=16&d=retro) |
1e675e1 |
%package -n python3-%{pkg_name}
|
|
![](https://seccdn.libravatar.org/avatar/31d094c442f8266b190734471d2a474f27c4a00ee8a9899e5fe5f008da41319c?s=16&d=retro) |
1e675e1 |
Summary: OpenStack Oslo Log library
|
|
![](https://seccdn.libravatar.org/avatar/31d094c442f8266b190734471d2a474f27c4a00ee8a9899e5fe5f008da41319c?s=16&d=retro) |
1e675e1 |
%{?python_provide:%python_provide python3-%{pkg_name}}
|
|
![](https://seccdn.libravatar.org/avatar/31d094c442f8266b190734471d2a474f27c4a00ee8a9899e5fe5f008da41319c?s=16&d=retro) |
1e675e1 |
|
|
![](https://seccdn.libravatar.org/avatar/31d094c442f8266b190734471d2a474f27c4a00ee8a9899e5fe5f008da41319c?s=16&d=retro) |
1e675e1 |
BuildRequires: python3-devel
|
|
![](https://seccdn.libravatar.org/avatar/31d094c442f8266b190734471d2a474f27c4a00ee8a9899e5fe5f008da41319c?s=16&d=retro) |
1e675e1 |
BuildRequires: python3-pbr
|
|
![](https://seccdn.libravatar.org/avatar/31d094c442f8266b190734471d2a474f27c4a00ee8a9899e5fe5f008da41319c?s=16&d=retro) |
1e675e1 |
# Required for tests
|
|
![](https://seccdn.libravatar.org/avatar/31d094c442f8266b190734471d2a474f27c4a00ee8a9899e5fe5f008da41319c?s=16&d=retro) |
1e675e1 |
BuildRequires: python3-dateutil
|
|
![](https://seccdn.libravatar.org/avatar/31d094c442f8266b190734471d2a474f27c4a00ee8a9899e5fe5f008da41319c?s=16&d=retro) |
1e675e1 |
BuildRequires: python3-mock
|
|
![](https://seccdn.libravatar.org/avatar/31d094c442f8266b190734471d2a474f27c4a00ee8a9899e5fe5f008da41319c?s=16&d=retro) |
1e675e1 |
BuildRequires: python3-oslotest
|
|
![](https://seccdn.libravatar.org/avatar/31d094c442f8266b190734471d2a474f27c4a00ee8a9899e5fe5f008da41319c?s=16&d=retro) |
1e675e1 |
BuildRequires: python3-oslo-config
|
|
![](https://seccdn.libravatar.org/avatar/2dd42315ad87567178b59979b4d0c96e4716b86a3efa909ff8bb40c870b36dfc?s=16&d=retro) |
2527827 |
BuildRequires: python3-oslo-context
|
|
![](https://seccdn.libravatar.org/avatar/31d094c442f8266b190734471d2a474f27c4a00ee8a9899e5fe5f008da41319c?s=16&d=retro) |
1e675e1 |
BuildRequires: python3-oslo-serialization
|
|
![](https://seccdn.libravatar.org/avatar/31d094c442f8266b190734471d2a474f27c4a00ee8a9899e5fe5f008da41319c?s=16&d=retro) |
1e675e1 |
BuildRequires: python3-subunit
|
|
![](https://seccdn.libravatar.org/avatar/31d094c442f8266b190734471d2a474f27c4a00ee8a9899e5fe5f008da41319c?s=16&d=retro) |
1e675e1 |
BuildRequires: python3-testrepository
|
|
![](https://seccdn.libravatar.org/avatar/31d094c442f8266b190734471d2a474f27c4a00ee8a9899e5fe5f008da41319c?s=16&d=retro) |
1e675e1 |
BuildRequires: python3-testscenarios
|
|
![](https://seccdn.libravatar.org/avatar/31d094c442f8266b190734471d2a474f27c4a00ee8a9899e5fe5f008da41319c?s=16&d=retro) |
1e675e1 |
BuildRequires: python3-testtools
|
|
![](https://seccdn.libravatar.org/avatar/31d094c442f8266b190734471d2a474f27c4a00ee8a9899e5fe5f008da41319c?s=16&d=retro) |
1e675e1 |
BuildRequires: python3-inotify
|
|
![](https://seccdn.libravatar.org/avatar/31d094c442f8266b190734471d2a474f27c4a00ee8a9899e5fe5f008da41319c?s=16&d=retro) |
1e675e1 |
|
|
![](https://seccdn.libravatar.org/avatar/31d094c442f8266b190734471d2a474f27c4a00ee8a9899e5fe5f008da41319c?s=16&d=retro) |
4195ac5 |
Requires: python3-pbr
|
|
![](https://seccdn.libravatar.org/avatar/31d094c442f8266b190734471d2a474f27c4a00ee8a9899e5fe5f008da41319c?s=16&d=retro) |
1e675e1 |
Requires: python3-dateutil
|
|
![](https://seccdn.libravatar.org/avatar/31d094c442f8266b190734471d2a474f27c4a00ee8a9899e5fe5f008da41319c?s=16&d=retro) |
a78f962 |
Requires: python3-monotonic
|
|
![](https://seccdn.libravatar.org/avatar/2dd42315ad87567178b59979b4d0c96e4716b86a3efa909ff8bb40c870b36dfc?s=16&d=retro) |
2527827 |
Requires: python3-six >= 1.11.0
|
|
![](https://seccdn.libravatar.org/avatar/2dd42315ad87567178b59979b4d0c96e4716b86a3efa909ff8bb40c870b36dfc?s=16&d=retro) |
2527827 |
Requires: python3-oslo-config >= 2:5.2.0
|
|
![](https://seccdn.libravatar.org/avatar/2dd42315ad87567178b59979b4d0c96e4716b86a3efa909ff8bb40c870b36dfc?s=16&d=retro) |
2527827 |
Requires: python3-oslo-context >= 2.20.0
|
|
![](https://seccdn.libravatar.org/avatar/2dd42315ad87567178b59979b4d0c96e4716b86a3efa909ff8bb40c870b36dfc?s=16&d=retro) |
2527827 |
Requires: python3-oslo-i18n >= 3.20.0
|
|
![](https://seccdn.libravatar.org/avatar/2dd42315ad87567178b59979b4d0c96e4716b86a3efa909ff8bb40c870b36dfc?s=16&d=retro) |
2527827 |
Requires: python3-oslo-utils >= 3.36.0
|
|
![](https://seccdn.libravatar.org/avatar/2dd42315ad87567178b59979b4d0c96e4716b86a3efa909ff8bb40c870b36dfc?s=16&d=retro) |
2527827 |
Requires: python3-oslo-serialization >= 2.25.0
|
|
![](https://seccdn.libravatar.org/avatar/31d094c442f8266b190734471d2a474f27c4a00ee8a9899e5fe5f008da41319c?s=16&d=retro) |
1e675e1 |
Requires: python3-debtcollector
|
|
![](https://seccdn.libravatar.org/avatar/31d094c442f8266b190734471d2a474f27c4a00ee8a9899e5fe5f008da41319c?s=16&d=retro) |
1e675e1 |
Requires: python3-inotify
|
|
![](https://seccdn.libravatar.org/avatar/31d094c442f8266b190734471d2a474f27c4a00ee8a9899e5fe5f008da41319c?s=16&d=retro) |
124d7f8 |
Requires: python-%{pkg_name}-lang = %{version}-%{release}
|
|
![](https://seccdn.libravatar.org/avatar/31d094c442f8266b190734471d2a474f27c4a00ee8a9899e5fe5f008da41319c?s=16&d=retro) |
1e675e1 |
|
|
![](https://seccdn.libravatar.org/avatar/31d094c442f8266b190734471d2a474f27c4a00ee8a9899e5fe5f008da41319c?s=16&d=retro) |
1e675e1 |
%description -n python3-%{pkg_name}
|
|
![](https://seccdn.libravatar.org/avatar/31d094c442f8266b190734471d2a474f27c4a00ee8a9899e5fe5f008da41319c?s=16&d=retro) |
1e675e1 |
Oslo concurrency library has utilities for safely running multi-thread,
|
|
![](https://seccdn.libravatar.org/avatar/31d094c442f8266b190734471d2a474f27c4a00ee8a9899e5fe5f008da41319c?s=16&d=retro) |
1e675e1 |
multi-process applications using locking mechanisms and for running
|
|
![](https://seccdn.libravatar.org/avatar/31d094c442f8266b190734471d2a474f27c4a00ee8a9899e5fe5f008da41319c?s=16&d=retro) |
1e675e1 |
external processes.
|
|
![](https://seccdn.libravatar.org/avatar/31d094c442f8266b190734471d2a474f27c4a00ee8a9899e5fe5f008da41319c?s=16&d=retro) |
1e675e1 |
|
|
![](https://seccdn.libravatar.org/avatar/31d094c442f8266b190734471d2a474f27c4a00ee8a9899e5fe5f008da41319c?s=16&d=retro) |
1e675e1 |
%description
|
|
![](https://seccdn.libravatar.org/avatar/31d094c442f8266b190734471d2a474f27c4a00ee8a9899e5fe5f008da41319c?s=16&d=retro) |
4195ac5 |
%{common_desc}
|
|
![](https://seccdn.libravatar.org/avatar/31d094c442f8266b190734471d2a474f27c4a00ee8a9899e5fe5f008da41319c?s=16&d=retro) |
214fb1d |
|
|
![](https://seccdn.libravatar.org/avatar/31d094c442f8266b190734471d2a474f27c4a00ee8a9899e5fe5f008da41319c?s=16&d=retro) |
124d7f8 |
%package -n python-%{pkg_name}-lang
|
|
![](https://seccdn.libravatar.org/avatar/31d094c442f8266b190734471d2a474f27c4a00ee8a9899e5fe5f008da41319c?s=16&d=retro) |
124d7f8 |
Summary: Translation files for Oslo log library
|
|
![](https://seccdn.libravatar.org/avatar/31d094c442f8266b190734471d2a474f27c4a00ee8a9899e5fe5f008da41319c?s=16&d=retro) |
124d7f8 |
|
|
![](https://seccdn.libravatar.org/avatar/31d094c442f8266b190734471d2a474f27c4a00ee8a9899e5fe5f008da41319c?s=16&d=retro) |
124d7f8 |
%description -n python-%{pkg_name}-lang
|
|
![](https://seccdn.libravatar.org/avatar/31d094c442f8266b190734471d2a474f27c4a00ee8a9899e5fe5f008da41319c?s=16&d=retro) |
124d7f8 |
Translation files for Oslo log library
|
|
![](https://seccdn.libravatar.org/avatar/31d094c442f8266b190734471d2a474f27c4a00ee8a9899e5fe5f008da41319c?s=16&d=retro) |
124d7f8 |
|
|
![](https://seccdn.libravatar.org/avatar/31d094c442f8266b190734471d2a474f27c4a00ee8a9899e5fe5f008da41319c?s=16&d=retro) |
214fb1d |
%prep
|
|
![](https://seccdn.libravatar.org/avatar/19ae54c3db90ca20f104962806c7c0c8d45b979c0a13e4eb8c8eff57c7b5ccc4?s=16&d=retro) |
feccee0 |
%autosetup -n %{pypi_name}-%{upstream_version} -S git
|
|
![](https://seccdn.libravatar.org/avatar/31d094c442f8266b190734471d2a474f27c4a00ee8a9899e5fe5f008da41319c?s=16&d=retro) |
214fb1d |
# Let RPM handle the dependencies
|
|
![](https://seccdn.libravatar.org/avatar/31d094c442f8266b190734471d2a474f27c4a00ee8a9899e5fe5f008da41319c?s=16&d=retro) |
1e675e1 |
rm -rf {test-,}requirements.txt
|
|
![](https://seccdn.libravatar.org/avatar/31d094c442f8266b190734471d2a474f27c4a00ee8a9899e5fe5f008da41319c?s=16&d=retro) |
214fb1d |
|
|
![](https://seccdn.libravatar.org/avatar/31d094c442f8266b190734471d2a474f27c4a00ee8a9899e5fe5f008da41319c?s=16&d=retro) |
214fb1d |
%build
|
|
![](https://seccdn.libravatar.org/avatar/31d094c442f8266b190734471d2a474f27c4a00ee8a9899e5fe5f008da41319c?s=16&d=retro) |
1e675e1 |
%py3_build
|
|
![](https://seccdn.libravatar.org/avatar/31d094c442f8266b190734471d2a474f27c4a00ee8a9899e5fe5f008da41319c?s=16&d=retro) |
214fb1d |
|
|
![](https://seccdn.libravatar.org/avatar/31d094c442f8266b190734471d2a474f27c4a00ee8a9899e5fe5f008da41319c?s=16&d=retro) |
4195ac5 |
%if 0%{?with_doc}
|
|
![](https://seccdn.libravatar.org/avatar/31d094c442f8266b190734471d2a474f27c4a00ee8a9899e5fe5f008da41319c?s=16&d=retro) |
214fb1d |
# generate html docs
|
|
![](https://seccdn.libravatar.org/avatar/2dd42315ad87567178b59979b4d0c96e4716b86a3efa909ff8bb40c870b36dfc?s=16&d=retro) |
2527827 |
PYTHONPATH=. sphinx-build-3 -W -b html doc/source doc/build/html
|
|
![](https://seccdn.libravatar.org/avatar/2dd42315ad87567178b59979b4d0c96e4716b86a3efa909ff8bb40c870b36dfc?s=16&d=retro) |
2527827 |
# remove the sphinx-build-3 leftovers
|
|
![](https://seccdn.libravatar.org/avatar/31d094c442f8266b190734471d2a474f27c4a00ee8a9899e5fe5f008da41319c?s=16&d=retro) |
4195ac5 |
rm -rf doc/build/html/.{doctrees,buildinfo}
|
|
![](https://seccdn.libravatar.org/avatar/31d094c442f8266b190734471d2a474f27c4a00ee8a9899e5fe5f008da41319c?s=16&d=retro) |
4195ac5 |
%endif
|
|
![](https://seccdn.libravatar.org/avatar/31d094c442f8266b190734471d2a474f27c4a00ee8a9899e5fe5f008da41319c?s=16&d=retro) |
124d7f8 |
# Generate i18n files
|
|
![](https://seccdn.libravatar.org/avatar/44156c8ac9cf5e269ec23b05888ccab5358d192169a1303cb43f77b10b967846?s=16&d=retro) |
338b88b |
%{__python3} setup.py compile_catalog -d build/lib/oslo_log/locale
|
|
![](https://seccdn.libravatar.org/avatar/31d094c442f8266b190734471d2a474f27c4a00ee8a9899e5fe5f008da41319c?s=16&d=retro) |
214fb1d |
|
|
![](https://seccdn.libravatar.org/avatar/31d094c442f8266b190734471d2a474f27c4a00ee8a9899e5fe5f008da41319c?s=16&d=retro) |
214fb1d |
%install
|
|
![](https://seccdn.libravatar.org/avatar/31d094c442f8266b190734471d2a474f27c4a00ee8a9899e5fe5f008da41319c?s=16&d=retro) |
1e675e1 |
%py3_install
|
|
![](https://seccdn.libravatar.org/avatar/2dd42315ad87567178b59979b4d0c96e4716b86a3efa909ff8bb40c870b36dfc?s=16&d=retro) |
2527827 |
ln -s ./convert-json %{buildroot}%{_bindir}/convert-json-3
|
|
![](https://seccdn.libravatar.org/avatar/2dd42315ad87567178b59979b4d0c96e4716b86a3efa909ff8bb40c870b36dfc?s=16&d=retro) |
2527827 |
ln -s ./convert-json %{buildroot}%{_bindir}/convert-json-%{python3_version}
|
|
![](https://seccdn.libravatar.org/avatar/2dd42315ad87567178b59979b4d0c96e4716b86a3efa909ff8bb40c870b36dfc?s=16&d=retro) |
2527827 |
|
|
![](https://seccdn.libravatar.org/avatar/2dd42315ad87567178b59979b4d0c96e4716b86a3efa909ff8bb40c870b36dfc?s=16&d=retro) |
2527827 |
|
|
![](https://seccdn.libravatar.org/avatar/31d094c442f8266b190734471d2a474f27c4a00ee8a9899e5fe5f008da41319c?s=16&d=retro) |
124d7f8 |
# Install i18n .mo files (.po and .pot are not required)
|
|
![](https://seccdn.libravatar.org/avatar/31d094c442f8266b190734471d2a474f27c4a00ee8a9899e5fe5f008da41319c?s=16&d=retro) |
124d7f8 |
install -d -m 755 %{buildroot}%{_datadir}
|
|
![](https://seccdn.libravatar.org/avatar/44156c8ac9cf5e269ec23b05888ccab5358d192169a1303cb43f77b10b967846?s=16&d=retro) |
338b88b |
rm -f %{buildroot}%{python3_sitelib}/oslo_log/locale/*/LC_*/oslo_log*po
|
|
![](https://seccdn.libravatar.org/avatar/44156c8ac9cf5e269ec23b05888ccab5358d192169a1303cb43f77b10b967846?s=16&d=retro) |
338b88b |
rm -f %{buildroot}%{python3_sitelib}/oslo_log/locale/*pot
|
|
![](https://seccdn.libravatar.org/avatar/44156c8ac9cf5e269ec23b05888ccab5358d192169a1303cb43f77b10b967846?s=16&d=retro) |
338b88b |
mv %{buildroot}%{python3_sitelib}/oslo_log/locale %{buildroot}%{_datadir}/locale
|
|
![](https://seccdn.libravatar.org/avatar/31d094c442f8266b190734471d2a474f27c4a00ee8a9899e5fe5f008da41319c?s=16&d=retro) |
124d7f8 |
|
|
![](https://seccdn.libravatar.org/avatar/31d094c442f8266b190734471d2a474f27c4a00ee8a9899e5fe5f008da41319c?s=16&d=retro) |
124d7f8 |
# Find language files
|
|
![](https://seccdn.libravatar.org/avatar/31d094c442f8266b190734471d2a474f27c4a00ee8a9899e5fe5f008da41319c?s=16&d=retro) |
124d7f8 |
%find_lang oslo_log --all-name
|
|
![](https://seccdn.libravatar.org/avatar/31d094c442f8266b190734471d2a474f27c4a00ee8a9899e5fe5f008da41319c?s=16&d=retro) |
124d7f8 |
|
|
![](https://seccdn.libravatar.org/avatar/31d094c442f8266b190734471d2a474f27c4a00ee8a9899e5fe5f008da41319c?s=16&d=retro) |
1e675e1 |
%check
|
|
![](https://seccdn.libravatar.org/avatar/2dd42315ad87567178b59979b4d0c96e4716b86a3efa909ff8bb40c870b36dfc?s=16&d=retro) |
2527827 |
rm -rf .testrepository
|
|
![](https://seccdn.libravatar.org/avatar/2dd42315ad87567178b59979b4d0c96e4716b86a3efa909ff8bb40c870b36dfc?s=16&d=retro) |
2527827 |
# Ignore unit tests until https://bugs.launchpad.net/oslo.log/+bug/1783630 is fixed
|
|
![](https://seccdn.libravatar.org/avatar/2dd42315ad87567178b59979b4d0c96e4716b86a3efa909ff8bb40c870b36dfc?s=16&d=retro) |
2527827 |
%{__python3} setup.py test||:
|
|
![](https://seccdn.libravatar.org/avatar/31d094c442f8266b190734471d2a474f27c4a00ee8a9899e5fe5f008da41319c?s=16&d=retro) |
214fb1d |
|
|
![](https://seccdn.libravatar.org/avatar/31d094c442f8266b190734471d2a474f27c4a00ee8a9899e5fe5f008da41319c?s=16&d=retro) |
4195ac5 |
%if 0%{?with_doc}
|
|
![](https://seccdn.libravatar.org/avatar/31d094c442f8266b190734471d2a474f27c4a00ee8a9899e5fe5f008da41319c?s=16&d=retro) |
1e675e1 |
%files -n python-%{pkg_name}-doc
|
|
![](https://seccdn.libravatar.org/avatar/31d094c442f8266b190734471d2a474f27c4a00ee8a9899e5fe5f008da41319c?s=16&d=retro) |
4195ac5 |
%doc doc/build/html
|
|
![](https://seccdn.libravatar.org/avatar/31d094c442f8266b190734471d2a474f27c4a00ee8a9899e5fe5f008da41319c?s=16&d=retro) |
214fb1d |
%license LICENSE
|
|
![](https://seccdn.libravatar.org/avatar/31d094c442f8266b190734471d2a474f27c4a00ee8a9899e5fe5f008da41319c?s=16&d=retro) |
4195ac5 |
%endif
|
|
![](https://seccdn.libravatar.org/avatar/31d094c442f8266b190734471d2a474f27c4a00ee8a9899e5fe5f008da41319c?s=16&d=retro) |
214fb1d |
|
|
![](https://seccdn.libravatar.org/avatar/31d094c442f8266b190734471d2a474f27c4a00ee8a9899e5fe5f008da41319c?s=16&d=retro) |
124d7f8 |
%files -n python-%{pkg_name}-lang -f oslo_log.lang
|
|
![](https://seccdn.libravatar.org/avatar/31d094c442f8266b190734471d2a474f27c4a00ee8a9899e5fe5f008da41319c?s=16&d=retro) |
a78f962 |
%license LICENSE
|
|
![](https://seccdn.libravatar.org/avatar/31d094c442f8266b190734471d2a474f27c4a00ee8a9899e5fe5f008da41319c?s=16&d=retro) |
124d7f8 |
|
|
![](https://seccdn.libravatar.org/avatar/31d094c442f8266b190734471d2a474f27c4a00ee8a9899e5fe5f008da41319c?s=16&d=retro) |
1e675e1 |
%files -n python3-%{pkg_name}
|
|
![](https://seccdn.libravatar.org/avatar/31d094c442f8266b190734471d2a474f27c4a00ee8a9899e5fe5f008da41319c?s=16&d=retro) |
1e675e1 |
%doc README.rst ChangeLog AUTHORS
|
|
![](https://seccdn.libravatar.org/avatar/31d094c442f8266b190734471d2a474f27c4a00ee8a9899e5fe5f008da41319c?s=16&d=retro) |
1e675e1 |
%license LICENSE
|
|
![](https://seccdn.libravatar.org/avatar/31d094c442f8266b190734471d2a474f27c4a00ee8a9899e5fe5f008da41319c?s=16&d=retro) |
1e675e1 |
%{python3_sitelib}/oslo_log
|
|
![](https://seccdn.libravatar.org/avatar/31d094c442f8266b190734471d2a474f27c4a00ee8a9899e5fe5f008da41319c?s=16&d=retro) |
1e675e1 |
%{python3_sitelib}/*.egg-info
|
|
![](https://seccdn.libravatar.org/avatar/44156c8ac9cf5e269ec23b05888ccab5358d192169a1303cb43f77b10b967846?s=16&d=retro) |
338b88b |
%{_bindir}/convert-json
|
|
![](https://seccdn.libravatar.org/avatar/2dd42315ad87567178b59979b4d0c96e4716b86a3efa909ff8bb40c870b36dfc?s=16&d=retro) |
2527827 |
%{_bindir}/convert-json-3
|
|
![](https://seccdn.libravatar.org/avatar/2dd42315ad87567178b59979b4d0c96e4716b86a3efa909ff8bb40c870b36dfc?s=16&d=retro) |
2527827 |
%{_bindir}/convert-json-%{python3_version}
|
|
![](https://seccdn.libravatar.org/avatar/31d094c442f8266b190734471d2a474f27c4a00ee8a9899e5fe5f008da41319c?s=16&d=retro) |
1e675e1 |
%exclude %{python3_sitelib}/oslo_log/tests
|
|
![](https://seccdn.libravatar.org/avatar/f970308d71f3ca61b27e8dd3eff4452513db64aa06f933115f14504cd846b4df?s=16&d=retro) |
8ea0137 |
|
|
![](https://seccdn.libravatar.org/avatar/da3993ad9cc468876a3870c7acb6152e9f41e03b5593d3714f9c291cf99ce8c4?s=16&d=retro) |
2a41025 |
%files -n python3-%{pkg_name}-tests
|
|
![](https://seccdn.libravatar.org/avatar/da3993ad9cc468876a3870c7acb6152e9f41e03b5593d3714f9c291cf99ce8c4?s=16&d=retro) |
2a41025 |
%{python3_sitelib}/oslo_log/tests
|
|
![](https://seccdn.libravatar.org/avatar/da3993ad9cc468876a3870c7acb6152e9f41e03b5593d3714f9c291cf99ce8c4?s=16&d=retro) |
2a41025 |
|
|
![](https://seccdn.libravatar.org/avatar/da3993ad9cc468876a3870c7acb6152e9f41e03b5593d3714f9c291cf99ce8c4?s=16&d=retro) |
2a41025 |
|
|
![](https://seccdn.libravatar.org/avatar/31d094c442f8266b190734471d2a474f27c4a00ee8a9899e5fe5f008da41319c?s=16&d=retro) |
1e675e1 |
%changelog
|
|
![](https://seccdn.libravatar.org/avatar/3c06a168eac5e10baa83f960445b9b006df35865b76dcf7a899f6215ea86b54f?s=16&d=retro) |
45be505 |
* Mon Aug 19 2019 Miro Hrončok <mhroncok@redhat.com> - 3.42.3-3
|
|
![](https://seccdn.libravatar.org/avatar/3c06a168eac5e10baa83f960445b9b006df35865b76dcf7a899f6215ea86b54f?s=16&d=retro) |
45be505 |
- Rebuilt for Python 3.8
|
|
![](https://seccdn.libravatar.org/avatar/3c06a168eac5e10baa83f960445b9b006df35865b76dcf7a899f6215ea86b54f?s=16&d=retro) |
45be505 |
|
|
![](https://seccdn.libravatar.org/avatar/66cca4ddfe914918eb13788577f8ad64d709ccf9f83b384b49228bb9a83a1533?s=16&d=retro) |
54c8c28 |
* Fri Jul 26 2019 Fedora Release Engineering <releng@fedoraproject.org> - 3.42.3-2
|
|
![](https://seccdn.libravatar.org/avatar/66cca4ddfe914918eb13788577f8ad64d709ccf9f83b384b49228bb9a83a1533?s=16&d=retro) |
54c8c28 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
|
|
![](https://seccdn.libravatar.org/avatar/66cca4ddfe914918eb13788577f8ad64d709ccf9f83b384b49228bb9a83a1533?s=16&d=retro) |
54c8c28 |
|
|
![](https://seccdn.libravatar.org/avatar/2dd42315ad87567178b59979b4d0c96e4716b86a3efa909ff8bb40c870b36dfc?s=16&d=retro) |
2527827 |
* Fri Mar 08 2019 RDO <dev@lists.rdoproject.org> 3.42.3-1
|
|
![](https://seccdn.libravatar.org/avatar/2dd42315ad87567178b59979b4d0c96e4716b86a3efa909ff8bb40c870b36dfc?s=16&d=retro) |
2527827 |
- Update to 3.42.3
|
|
![](https://seccdn.libravatar.org/avatar/31d094c442f8266b190734471d2a474f27c4a00ee8a9899e5fe5f008da41319c?s=16&d=retro) |
214fb1d |
|