public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/python-automaton] epel10: Sync from RDO ussuri release from python-automaton-2.0.1-1.el8
@ 2026-05-31 14:45 Joel Capitao
0 siblings, 0 replies; only message in thread
From: Joel Capitao @ 2026-05-31 14:45 UTC (permalink / raw)
To: git-commits
A new commit has been pushed.
Repo : rpms/python-automaton
Branch : epel10
Commit : dfbc22bc68e1bf724f68d60a8efd2cb9664215ea
Author : Joel Capitao <jcapitao@redhat.com>
Date : 2020-06-03T19:06:54+02:00
Stats : +25/-32 in 3 file(s)
URL : https://src.fedoraproject.org/rpms/python-automaton/c/dfbc22bc68e1bf724f68d60a8efd2cb9664215ea?branch=epel10
Log:
Sync from RDO ussuri release from python-automaton-2.0.1-1.el8
---
diff --git a/.gitignore b/.gitignore
index a578214..71723f8 100644
--- a/.gitignore
+++ b/.gitignore
@@ -7,3 +7,4 @@
/automaton-1.14.0.tar.gz
/automaton-1.16.0.tar.gz
/automaton-1.17.0.tar.gz
+/automaton-2.0.1.tar.gz
diff --git a/python-automaton.spec b/python-automaton.spec
index 64bb2b4..928f87d 100644
--- a/python-automaton.spec
+++ b/python-automaton.spec
@@ -1,22 +1,11 @@
-# Macros for py2/py3 compatibility
-%if 0%{?fedora} || 0%{?rhel} > 7
-%global pyver %{python3_pkgversion}
-%else
-%global pyver 2
-%endif
-%global pyver_bin python%{pyver}
-%global pyver_sitelib %{expand:%{python%{pyver}_sitelib}}
-%global pyver_install %{expand:%{py%{pyver}_install}}
-%global pyver_build %{expand:%{py%{pyver}_build}}
-# End of macros for py2/py3 compatibility
%{!?upstream_version: %global upstream_version %{version}%{?milestone}}
%global pypi_name automaton
%global with_doc 1
Name: python-%{pypi_name}
-Version: 1.17.0
-Release: 3%{?dist}
+Version: 2.0.1
+Release: 1%{?dist}
Summary: Friendly state machines for python
License: ASL 2.0
@@ -27,27 +16,27 @@ BuildArch: noarch
%description
Friendly state machines for python.
-%package -n python%{pyver}-%{pypi_name}
+%package -n python3-%{pypi_name}
Summary: Friendly state machines for python
-%{?python_provide:%python_provide python%{pyver}-%{pypi_name}}
-BuildRequires: python%{pyver}-devel
-BuildRequires: python%{pyver}-pbr
+%{?python_provide:%python_provide python3-%{pypi_name}}
+BuildRequires: python3-devel
+BuildRequires: python3-pbr
BuildRequires: git
-BuildRequires: python%{pyver}-prettytable
+BuildRequires: python3-prettytable
-Requires: python%{pyver}-pbr >= 2.0.0
-Requires: python%{pyver}-six >= 1.10.0
-Requires: python%{pyver}-prettytable
+Requires: python3-pbr >= 2.0.0
+Requires: python3-six >= 1.10.0
+Requires: python3-prettytable
-%description -n python%{pyver}-%{pypi_name}
+%description -n python3-%{pypi_name}
Friendly state machines for python.
%if 0%{?with_doc}
%package -n python-%{pypi_name}-doc
Summary: Friendly state machines for python - documentation
BuildRequires: graphviz
-BuildRequires: python%{pyver}-sphinx
-BuildRequires: python%{pyver}-openstackdocstheme
+BuildRequires: python3-sphinx
+BuildRequires: python3-openstackdocstheme
%description -n python-%{pypi_name}-doc
Friendly state machines for python (documentation)
@@ -57,23 +46,23 @@ Friendly state machines for python (documentation)
%autosetup -n %{pypi_name}-%{upstream_version} -S git
%build
-%{pyver_build}
+%{py3_build}
%if 0%{?with_doc}
# generate html docs
-%{pyver_bin} setup.py build_sphinx -b html
-# remove the sphinx-build-%{pyver} leftovers
+sphinx-build-3 -b html doc/source doc/build/html
+# remove the sphinx-build-3 leftovers
rm -rf doc/build/html/.{doctrees,buildinfo}
%endif
%install
-%{pyver_install}
+%{py3_install}
-%files -n python%{pyver}-%{pypi_name}
+%files -n python3-%{pypi_name}
%doc README.rst
%license LICENSE
-%{pyver_sitelib}/%{pypi_name}
-%{pyver_sitelib}/*.egg-info
+%{python3_sitelib}/%{pypi_name}
+%{python3_sitelib}/*.egg-info
%if 0%{?with_doc}
%files -n python-%{pypi_name}-doc
@@ -82,6 +71,9 @@ rm -rf doc/build/html/.{doctrees,buildinfo}
%endif
%changelog
+* Wed Jun 03 2020 Joel Capitao <jcapitao@redhat.com> 2.0.1-1
+- Update to upstream version 2.0.1
+
* Tue May 26 2020 Miro Hrončok <mhroncok@redhat.com> - 1.17.0-3
- Rebuilt for Python 3.9
diff --git a/sources b/sources
index 1c949ad..0b2757e 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-SHA512 (automaton-1.17.0.tar.gz) = 27c08a3339fd8c22394e7432665a44f19b780fa253db3603602fef640f3b363de0b62f99044bc22362acd164e18446571601d0c6f91390d9487cb81fc323c373
+SHA512 (automaton-2.0.1.tar.gz) = dc043049313f6ce2057136149fe7bdcc0c918d153cd74fb94dacc9d471bfb0e3263bf25f8cc17fa1994af905d823c5e5583f6f5bf0c83264c638eaa47ce98cd7
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2026-05-31 14:45 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-05-31 14:45 [rpms/python-automaton] epel10: Sync from RDO ussuri release from python-automaton-2.0.1-1.el8 Joel Capitao
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox