|
![](https://seccdn.libravatar.org/avatar/2dd42315ad87567178b59979b4d0c96e4716b86a3efa909ff8bb40c870b36dfc?s=16&d=retro) |
a3be369 |
# Macros for py2/py3 compatibility
|
|
![](https://seccdn.libravatar.org/avatar/02f70a4e5be432aef75c48f187d3fbbbef1e632ba4b92990dd5c213c473bd4d6?s=16&d=retro) |
393bb3c |
%if 0%{?fedora} || 0%{?rhel} > 7
|
|
![](https://seccdn.libravatar.org/avatar/2dd42315ad87567178b59979b4d0c96e4716b86a3efa909ff8bb40c870b36dfc?s=16&d=retro) |
a3be369 |
%global pyver %{python3_pkgversion}
|
|
![](https://seccdn.libravatar.org/avatar/02f70a4e5be432aef75c48f187d3fbbbef1e632ba4b92990dd5c213c473bd4d6?s=16&d=retro) |
393bb3c |
%else
|
|
![](https://seccdn.libravatar.org/avatar/2dd42315ad87567178b59979b4d0c96e4716b86a3efa909ff8bb40c870b36dfc?s=16&d=retro) |
a3be369 |
%global pyver 2
|
|
![](https://seccdn.libravatar.org/avatar/02f70a4e5be432aef75c48f187d3fbbbef1e632ba4b92990dd5c213c473bd4d6?s=16&d=retro) |
42f9434 |
%endif
|
|
![](https://seccdn.libravatar.org/avatar/2dd42315ad87567178b59979b4d0c96e4716b86a3efa909ff8bb40c870b36dfc?s=16&d=retro) |
a3be369 |
%global pyver_bin python%{pyver}
|
|
![](https://seccdn.libravatar.org/avatar/3c06a168eac5e10baa83f960445b9b006df35865b76dcf7a899f6215ea86b54f?s=16&d=retro) |
27d1dd0 |
%global pyver_sitelib %{expand:%{python%{pyver}_sitelib}}
|
|
![](https://seccdn.libravatar.org/avatar/3c06a168eac5e10baa83f960445b9b006df35865b76dcf7a899f6215ea86b54f?s=16&d=retro) |
27d1dd0 |
%global pyver_install %{expand:%{py%{pyver}_install}}
|
|
![](https://seccdn.libravatar.org/avatar/3c06a168eac5e10baa83f960445b9b006df35865b76dcf7a899f6215ea86b54f?s=16&d=retro) |
27d1dd0 |
%global pyver_build %{expand:%{py%{pyver}_build}}
|
|
![](https://seccdn.libravatar.org/avatar/2dd42315ad87567178b59979b4d0c96e4716b86a3efa909ff8bb40c870b36dfc?s=16&d=retro) |
a3be369 |
# End of macros for py2/py3 compatibility
|
|
![](https://seccdn.libravatar.org/avatar/2dd42315ad87567178b59979b4d0c96e4716b86a3efa909ff8bb40c870b36dfc?s=16&d=retro) |
a3be369 |
%{!?upstream_version: %global upstream_version %{version}%{?milestone}}
|
|
![](https://seccdn.libravatar.org/avatar/2dd42315ad87567178b59979b4d0c96e4716b86a3efa909ff8bb40c870b36dfc?s=16&d=retro) |
a3be369 |
%global pypi_name automaton
|
|
![](https://seccdn.libravatar.org/avatar/2dd42315ad87567178b59979b4d0c96e4716b86a3efa909ff8bb40c870b36dfc?s=16&d=retro) |
a3be369 |
|
|
![](https://seccdn.libravatar.org/avatar/2dd42315ad87567178b59979b4d0c96e4716b86a3efa909ff8bb40c870b36dfc?s=16&d=retro) |
a3be369 |
%global with_doc 1
|
|
![](https://seccdn.libravatar.org/avatar/02f70a4e5be432aef75c48f187d3fbbbef1e632ba4b92990dd5c213c473bd4d6?s=16&d=retro) |
42f9434 |
|
|
![](https://seccdn.libravatar.org/avatar/02f70a4e5be432aef75c48f187d3fbbbef1e632ba4b92990dd5c213c473bd4d6?s=16&d=retro) |
42f9434 |
Name: python-%{pypi_name}
|
|
![](https://seccdn.libravatar.org/avatar/2dd42315ad87567178b59979b4d0c96e4716b86a3efa909ff8bb40c870b36dfc?s=16&d=retro) |
0afb175 |
Version: 1.17.0
|
|
![](https://seccdn.libravatar.org/avatar/66cca4ddfe914918eb13788577f8ad64d709ccf9f83b384b49228bb9a83a1533?s=16&d=retro) |
994e709 |
Release: 2%{?dist}
|
|
![](https://seccdn.libravatar.org/avatar/02f70a4e5be432aef75c48f187d3fbbbef1e632ba4b92990dd5c213c473bd4d6?s=16&d=retro) |
42f9434 |
Summary: Friendly state machines for python
|
|
![](https://seccdn.libravatar.org/avatar/02f70a4e5be432aef75c48f187d3fbbbef1e632ba4b92990dd5c213c473bd4d6?s=16&d=retro) |
42f9434 |
|
|
![](https://seccdn.libravatar.org/avatar/02f70a4e5be432aef75c48f187d3fbbbef1e632ba4b92990dd5c213c473bd4d6?s=16&d=retro) |
42f9434 |
License: ASL 2.0
|
|
![](https://seccdn.libravatar.org/avatar/02f70a4e5be432aef75c48f187d3fbbbef1e632ba4b92990dd5c213c473bd4d6?s=16&d=retro) |
42f9434 |
URL: https://wiki.openstack.org/wiki/Oslo#automaton
|
|
![](https://seccdn.libravatar.org/avatar/02f70a4e5be432aef75c48f187d3fbbbef1e632ba4b92990dd5c213c473bd4d6?s=16&d=retro) |
a910e45 |
Source0: https://pypi.io/packages/source/a/%{pypi_name}/%{pypi_name}-%{version}.tar.gz
|
|
![](https://seccdn.libravatar.org/avatar/02f70a4e5be432aef75c48f187d3fbbbef1e632ba4b92990dd5c213c473bd4d6?s=16&d=retro) |
42f9434 |
BuildArch: noarch
|
|
![](https://seccdn.libravatar.org/avatar/31d094c442f8266b190734471d2a474f27c4a00ee8a9899e5fe5f008da41319c?s=16&d=retro) |
d81e912 |
|
|
![](https://seccdn.libravatar.org/avatar/02f70a4e5be432aef75c48f187d3fbbbef1e632ba4b92990dd5c213c473bd4d6?s=16&d=retro) |
42f9434 |
%description
|
|
![](https://seccdn.libravatar.org/avatar/02f70a4e5be432aef75c48f187d3fbbbef1e632ba4b92990dd5c213c473bd4d6?s=16&d=retro) |
42f9434 |
Friendly state machines for python.
|
|
![](https://seccdn.libravatar.org/avatar/02f70a4e5be432aef75c48f187d3fbbbef1e632ba4b92990dd5c213c473bd4d6?s=16&d=retro) |
42f9434 |
|
|
![](https://seccdn.libravatar.org/avatar/2dd42315ad87567178b59979b4d0c96e4716b86a3efa909ff8bb40c870b36dfc?s=16&d=retro) |
a3be369 |
%package -n python%{pyver}-%{pypi_name}
|
|
![](https://seccdn.libravatar.org/avatar/02f70a4e5be432aef75c48f187d3fbbbef1e632ba4b92990dd5c213c473bd4d6?s=16&d=retro) |
42f9434 |
Summary: Friendly state machines for python
|
|
![](https://seccdn.libravatar.org/avatar/2dd42315ad87567178b59979b4d0c96e4716b86a3efa909ff8bb40c870b36dfc?s=16&d=retro) |
a3be369 |
%{?python_provide:%python_provide python%{pyver}-%{pypi_name}}
|
|
![](https://seccdn.libravatar.org/avatar/2dd42315ad87567178b59979b4d0c96e4716b86a3efa909ff8bb40c870b36dfc?s=16&d=retro) |
a3be369 |
BuildRequires: python%{pyver}-devel
|
|
![](https://seccdn.libravatar.org/avatar/2dd42315ad87567178b59979b4d0c96e4716b86a3efa909ff8bb40c870b36dfc?s=16&d=retro) |
a3be369 |
BuildRequires: python%{pyver}-pbr
|
|
![](https://seccdn.libravatar.org/avatar/2dd42315ad87567178b59979b4d0c96e4716b86a3efa909ff8bb40c870b36dfc?s=16&d=retro) |
a3be369 |
BuildRequires: git
|
|
![](https://seccdn.libravatar.org/avatar/2dd42315ad87567178b59979b4d0c96e4716b86a3efa909ff8bb40c870b36dfc?s=16&d=retro) |
a3be369 |
BuildRequires: python%{pyver}-prettytable
|
|
![](https://seccdn.libravatar.org/avatar/02f70a4e5be432aef75c48f187d3fbbbef1e632ba4b92990dd5c213c473bd4d6?s=16&d=retro) |
42f9434 |
|
|
![](https://seccdn.libravatar.org/avatar/2dd42315ad87567178b59979b4d0c96e4716b86a3efa909ff8bb40c870b36dfc?s=16&d=retro) |
a3be369 |
Requires: python%{pyver}-pbr >= 2.0.0
|
|
![](https://seccdn.libravatar.org/avatar/2dd42315ad87567178b59979b4d0c96e4716b86a3efa909ff8bb40c870b36dfc?s=16&d=retro) |
a3be369 |
Requires: python%{pyver}-six >= 1.10.0
|
|
![](https://seccdn.libravatar.org/avatar/2dd42315ad87567178b59979b4d0c96e4716b86a3efa909ff8bb40c870b36dfc?s=16&d=retro) |
a3be369 |
Requires: python%{pyver}-prettytable
|
|
![](https://seccdn.libravatar.org/avatar/2dd42315ad87567178b59979b4d0c96e4716b86a3efa909ff8bb40c870b36dfc?s=16&d=retro) |
a3be369 |
|
|
![](https://seccdn.libravatar.org/avatar/2dd42315ad87567178b59979b4d0c96e4716b86a3efa909ff8bb40c870b36dfc?s=16&d=retro) |
a3be369 |
%description -n python%{pyver}-%{pypi_name}
|
|
![](https://seccdn.libravatar.org/avatar/02f70a4e5be432aef75c48f187d3fbbbef1e632ba4b92990dd5c213c473bd4d6?s=16&d=retro) |
42f9434 |
Friendly state machines for python.
|
|
![](https://seccdn.libravatar.org/avatar/02f70a4e5be432aef75c48f187d3fbbbef1e632ba4b92990dd5c213c473bd4d6?s=16&d=retro) |
42f9434 |
|
|
![](https://seccdn.libravatar.org/avatar/2dd42315ad87567178b59979b4d0c96e4716b86a3efa909ff8bb40c870b36dfc?s=16&d=retro) |
a3be369 |
%if 0%{?with_doc}
|
|
![](https://seccdn.libravatar.org/avatar/31d094c442f8266b190734471d2a474f27c4a00ee8a9899e5fe5f008da41319c?s=16&d=retro) |
d81e912 |
%package -n python-%{pypi_name}-doc
|
|
![](https://seccdn.libravatar.org/avatar/31d094c442f8266b190734471d2a474f27c4a00ee8a9899e5fe5f008da41319c?s=16&d=retro) |
d81e912 |
Summary: Friendly state machines for python - documentation
|
|
![](https://seccdn.libravatar.org/avatar/2dd42315ad87567178b59979b4d0c96e4716b86a3efa909ff8bb40c870b36dfc?s=16&d=retro) |
a3be369 |
BuildRequires: graphviz
|
|
![](https://seccdn.libravatar.org/avatar/2dd42315ad87567178b59979b4d0c96e4716b86a3efa909ff8bb40c870b36dfc?s=16&d=retro) |
a3be369 |
BuildRequires: python%{pyver}-sphinx
|
|
![](https://seccdn.libravatar.org/avatar/2dd42315ad87567178b59979b4d0c96e4716b86a3efa909ff8bb40c870b36dfc?s=16&d=retro) |
a3be369 |
BuildRequires: python%{pyver}-openstackdocstheme
|
|
![](https://seccdn.libravatar.org/avatar/31d094c442f8266b190734471d2a474f27c4a00ee8a9899e5fe5f008da41319c?s=16&d=retro) |
d81e912 |
|
|
![](https://seccdn.libravatar.org/avatar/31d094c442f8266b190734471d2a474f27c4a00ee8a9899e5fe5f008da41319c?s=16&d=retro) |
d81e912 |
%description -n python-%{pypi_name}-doc
|
|
![](https://seccdn.libravatar.org/avatar/31d094c442f8266b190734471d2a474f27c4a00ee8a9899e5fe5f008da41319c?s=16&d=retro) |
d81e912 |
Friendly state machines for python (documentation)
|
|
![](https://seccdn.libravatar.org/avatar/2dd42315ad87567178b59979b4d0c96e4716b86a3efa909ff8bb40c870b36dfc?s=16&d=retro) |
a3be369 |
%endif
|
|
![](https://seccdn.libravatar.org/avatar/31d094c442f8266b190734471d2a474f27c4a00ee8a9899e5fe5f008da41319c?s=16&d=retro) |
d81e912 |
|
|
![](https://seccdn.libravatar.org/avatar/02f70a4e5be432aef75c48f187d3fbbbef1e632ba4b92990dd5c213c473bd4d6?s=16&d=retro) |
42f9434 |
%prep
|
|
![](https://seccdn.libravatar.org/avatar/19ae54c3db90ca20f104962806c7c0c8d45b979c0a13e4eb8c8eff57c7b5ccc4?s=16&d=retro) |
8b123ae |
%autosetup -n %{pypi_name}-%{upstream_version} -S git
|
|
![](https://seccdn.libravatar.org/avatar/02f70a4e5be432aef75c48f187d3fbbbef1e632ba4b92990dd5c213c473bd4d6?s=16&d=retro) |
42f9434 |
|
|
![](https://seccdn.libravatar.org/avatar/02f70a4e5be432aef75c48f187d3fbbbef1e632ba4b92990dd5c213c473bd4d6?s=16&d=retro) |
42f9434 |
%build
|
|
![](https://seccdn.libravatar.org/avatar/2dd42315ad87567178b59979b4d0c96e4716b86a3efa909ff8bb40c870b36dfc?s=16&d=retro) |
a3be369 |
%{pyver_build}
|
|
![](https://seccdn.libravatar.org/avatar/02f70a4e5be432aef75c48f187d3fbbbef1e632ba4b92990dd5c213c473bd4d6?s=16&d=retro) |
42f9434 |
|
|
![](https://seccdn.libravatar.org/avatar/2dd42315ad87567178b59979b4d0c96e4716b86a3efa909ff8bb40c870b36dfc?s=16&d=retro) |
a3be369 |
%if 0%{?with_doc}
|
|
![](https://seccdn.libravatar.org/avatar/2dd42315ad87567178b59979b4d0c96e4716b86a3efa909ff8bb40c870b36dfc?s=16&d=retro) |
a3be369 |
# generate html docs
|
|
![](https://seccdn.libravatar.org/avatar/2dd42315ad87567178b59979b4d0c96e4716b86a3efa909ff8bb40c870b36dfc?s=16&d=retro) |
a3be369 |
%{pyver_bin} setup.py build_sphinx -b html
|
|
![](https://seccdn.libravatar.org/avatar/2dd42315ad87567178b59979b4d0c96e4716b86a3efa909ff8bb40c870b36dfc?s=16&d=retro) |
a3be369 |
# remove the sphinx-build-%{pyver} leftovers
|
|
![](https://seccdn.libravatar.org/avatar/19ae54c3db90ca20f104962806c7c0c8d45b979c0a13e4eb8c8eff57c7b5ccc4?s=16&d=retro) |
8b123ae |
rm -rf doc/build/html/.{doctrees,buildinfo}
|
|
![](https://seccdn.libravatar.org/avatar/02f70a4e5be432aef75c48f187d3fbbbef1e632ba4b92990dd5c213c473bd4d6?s=16&d=retro) |
393bb3c |
%endif
|
|
![](https://seccdn.libravatar.org/avatar/02f70a4e5be432aef75c48f187d3fbbbef1e632ba4b92990dd5c213c473bd4d6?s=16&d=retro) |
42f9434 |
|
|
![](https://seccdn.libravatar.org/avatar/2dd42315ad87567178b59979b4d0c96e4716b86a3efa909ff8bb40c870b36dfc?s=16&d=retro) |
a3be369 |
%install
|
|
![](https://seccdn.libravatar.org/avatar/2dd42315ad87567178b59979b4d0c96e4716b86a3efa909ff8bb40c870b36dfc?s=16&d=retro) |
a3be369 |
%{pyver_install}
|
|
![](https://seccdn.libravatar.org/avatar/02f70a4e5be432aef75c48f187d3fbbbef1e632ba4b92990dd5c213c473bd4d6?s=16&d=retro) |
42f9434 |
|
|
![](https://seccdn.libravatar.org/avatar/2dd42315ad87567178b59979b4d0c96e4716b86a3efa909ff8bb40c870b36dfc?s=16&d=retro) |
a3be369 |
%files -n python%{pyver}-%{pypi_name}
|
|
![](https://seccdn.libravatar.org/avatar/19ae54c3db90ca20f104962806c7c0c8d45b979c0a13e4eb8c8eff57c7b5ccc4?s=16&d=retro) |
8b123ae |
%doc README.rst
|
|
![](https://seccdn.libravatar.org/avatar/02f70a4e5be432aef75c48f187d3fbbbef1e632ba4b92990dd5c213c473bd4d6?s=16&d=retro) |
42f9434 |
%license LICENSE
|
|
![](https://seccdn.libravatar.org/avatar/2dd42315ad87567178b59979b4d0c96e4716b86a3efa909ff8bb40c870b36dfc?s=16&d=retro) |
a3be369 |
%{pyver_sitelib}/%{pypi_name}
|
|
![](https://seccdn.libravatar.org/avatar/2dd42315ad87567178b59979b4d0c96e4716b86a3efa909ff8bb40c870b36dfc?s=16&d=retro) |
a3be369 |
%{pyver_sitelib}/*.egg-info
|
|
![](https://seccdn.libravatar.org/avatar/02f70a4e5be432aef75c48f187d3fbbbef1e632ba4b92990dd5c213c473bd4d6?s=16&d=retro) |
42f9434 |
|
|
![](https://seccdn.libravatar.org/avatar/2dd42315ad87567178b59979b4d0c96e4716b86a3efa909ff8bb40c870b36dfc?s=16&d=retro) |
a3be369 |
%if 0%{?with_doc}
|
|
![](https://seccdn.libravatar.org/avatar/31d094c442f8266b190734471d2a474f27c4a00ee8a9899e5fe5f008da41319c?s=16&d=retro) |
d81e912 |
%files -n python-%{pypi_name}-doc
|
|
![](https://seccdn.libravatar.org/avatar/19ae54c3db90ca20f104962806c7c0c8d45b979c0a13e4eb8c8eff57c7b5ccc4?s=16&d=retro) |
8b123ae |
%doc doc/build/html
|
|
![](https://seccdn.libravatar.org/avatar/31d094c442f8266b190734471d2a474f27c4a00ee8a9899e5fe5f008da41319c?s=16&d=retro) |
d81e912 |
%license LICENSE
|
|
![](https://seccdn.libravatar.org/avatar/2dd42315ad87567178b59979b4d0c96e4716b86a3efa909ff8bb40c870b36dfc?s=16&d=retro) |
a3be369 |
%endif
|
|
![](https://seccdn.libravatar.org/avatar/02f70a4e5be432aef75c48f187d3fbbbef1e632ba4b92990dd5c213c473bd4d6?s=16&d=retro) |
600e984 |
|
|
![](https://seccdn.libravatar.org/avatar/31d094c442f8266b190734471d2a474f27c4a00ee8a9899e5fe5f008da41319c?s=16&d=retro) |
d81e912 |
%changelog
|
|
![](https://seccdn.libravatar.org/avatar/66cca4ddfe914918eb13788577f8ad64d709ccf9f83b384b49228bb9a83a1533?s=16&d=retro) |
994e709 |
* Thu Jan 30 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.17.0-2
|
|
![](https://seccdn.libravatar.org/avatar/66cca4ddfe914918eb13788577f8ad64d709ccf9f83b384b49228bb9a83a1533?s=16&d=retro) |
994e709 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
|
|
![](https://seccdn.libravatar.org/avatar/66cca4ddfe914918eb13788577f8ad64d709ccf9f83b384b49228bb9a83a1533?s=16&d=retro) |
994e709 |
|
|
![](https://seccdn.libravatar.org/avatar/2dd42315ad87567178b59979b4d0c96e4716b86a3efa909ff8bb40c870b36dfc?s=16&d=retro) |
0afb175 |
* Wed Nov 06 2019 Alfredo Moralejo <amoralej@redhat.com> 1.17.0-1
|
|
![](https://seccdn.libravatar.org/avatar/2dd42315ad87567178b59979b4d0c96e4716b86a3efa909ff8bb40c870b36dfc?s=16&d=retro) |
0afb175 |
- Update to upstream version 1.17.0
|
|
![](https://seccdn.libravatar.org/avatar/2dd42315ad87567178b59979b4d0c96e4716b86a3efa909ff8bb40c870b36dfc?s=16&d=retro) |
0afb175 |
|
|
![](https://seccdn.libravatar.org/avatar/3c06a168eac5e10baa83f960445b9b006df35865b76dcf7a899f6215ea86b54f?s=16&d=retro) |
d1a7555 |
* Thu Oct 03 2019 Miro Hrončok <mhroncok@redhat.com> - 1.16.0-4
|
|
![](https://seccdn.libravatar.org/avatar/3c06a168eac5e10baa83f960445b9b006df35865b76dcf7a899f6215ea86b54f?s=16&d=retro) |
d1a7555 |
- Rebuilt for Python 3.8.0rc1 (#1748018)
|
|
![](https://seccdn.libravatar.org/avatar/3c06a168eac5e10baa83f960445b9b006df35865b76dcf7a899f6215ea86b54f?s=16&d=retro) |
d1a7555 |
|
|
![](https://seccdn.libravatar.org/avatar/3c06a168eac5e10baa83f960445b9b006df35865b76dcf7a899f6215ea86b54f?s=16&d=retro) |
7c6e914 |
* Mon Aug 19 2019 Miro Hrončok <mhroncok@redhat.com> - 1.16.0-3
|
|
![](https://seccdn.libravatar.org/avatar/3c06a168eac5e10baa83f960445b9b006df35865b76dcf7a899f6215ea86b54f?s=16&d=retro) |
7c6e914 |
- Rebuilt for Python 3.8
|
|
![](https://seccdn.libravatar.org/avatar/3c06a168eac5e10baa83f960445b9b006df35865b76dcf7a899f6215ea86b54f?s=16&d=retro) |
7c6e914 |
|
|
![](https://seccdn.libravatar.org/avatar/66cca4ddfe914918eb13788577f8ad64d709ccf9f83b384b49228bb9a83a1533?s=16&d=retro) |
9deb0b3 |
* Fri Jul 26 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.16.0-2
|
|
![](https://seccdn.libravatar.org/avatar/66cca4ddfe914918eb13788577f8ad64d709ccf9f83b384b49228bb9a83a1533?s=16&d=retro) |
9deb0b3 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
|
|
![](https://seccdn.libravatar.org/avatar/66cca4ddfe914918eb13788577f8ad64d709ccf9f83b384b49228bb9a83a1533?s=16&d=retro) |
9deb0b3 |
|
|
![](https://seccdn.libravatar.org/avatar/2dd42315ad87567178b59979b4d0c96e4716b86a3efa909ff8bb40c870b36dfc?s=16&d=retro) |
a3be369 |
* Tue Mar 12 2019 RDO <dev@lists.rdoproject.org> 1.16.0-1
|
|
![](https://seccdn.libravatar.org/avatar/2dd42315ad87567178b59979b4d0c96e4716b86a3efa909ff8bb40c870b36dfc?s=16&d=retro) |
a3be369 |
- Update to 1.16.0
|
|
![](https://seccdn.libravatar.org/avatar/4e8d68fe76de63043f2c89e9e363e4dc5af5775e488004cc7a8398c86381b072?s=16&d=retro) |
6e0f45f |
|