diff --git a/automaton-3.0.1.tar.gz b/automaton-3.0.1.tar.gz deleted file mode 100644 index a2a244a9908dc084807b5cf7ecac4aeaa9460395..0000000000000000000000000000000000000000 Binary files a/automaton-3.0.1.tar.gz and /dev/null differ diff --git a/automaton-3.1.0.tar.gz b/automaton-3.1.0.tar.gz new file mode 100644 index 0000000000000000000000000000000000000000..ceceafeb87f93655b23d4f29cf49e0980ccfe64f Binary files /dev/null and b/automaton-3.1.0.tar.gz differ diff --git a/python-automaton.spec b/python-automaton.spec index 6d90e82894425d773e786704caa989bf27b1a8f2..226c05c1aabec3186d7821b751e82f2a67d2e792 100644 --- a/python-automaton.spec +++ b/python-automaton.spec @@ -1,12 +1,12 @@ %global _empty_manifest_terminate_build 0 -Name: python-automaton -Version: 3.0.1 -Release: 1 -Summary: Friendly state machines for python. -License: Apache-2.0 -URL: https://docs.openstack.org/automaton/latest/ -Source0: https://files.pythonhosted.org/packages/38/e6/53cda816cd165f8c065345ec5a229cc250bb8cf0b18a29c37c476d38072f/automaton-3.0.1.tar.gz -BuildArch: noarch +Name: python-automaton +Version: 3.1.0 +Release: 1 +Summary: Friendly state machines for python. +License: Apache-2.0 +URL: https://docs.openstack.org/automaton/latest/ +Source0: https://files.pythonhosted.org/packages/50/9d/3ab2fe5fc210dd78eea3f84bb56b5a9f5e73fa91bd7029203e1b2a1bb946/automaton-3.1.0.tar.gz +BuildArch: noarch %description Automaton Friendly state machines for python. The goal of this library is to @@ -17,25 +17,24 @@ library include providing state & transition validation and running/scheduling/analyzing the execution of tasks. %package -n python3-automaton -Summary: Friendly state machines for python. -Provides: python-automaton +Summary: Friendly state machines for python. +Provides: python-automaton = %{version}-%{release} # Base build requires -BuildRequires: python3-devel -BuildRequires: python3-setuptools -BuildRequires: python3-pbr -BuildRequires: python3-pip -BuildRequires: python3-wheel -BuildRequires: python3-reno -BuildRequires: python3-testtools -BuildRequires: python3-stestr -BuildRequires: python3-oslotest +BuildRequires: python3-devel +BuildRequires: python3-setuptools +BuildRequires: python3-pbr +BuildRequires: python3-pip +BuildRequires: python3-wheel +BuildRequires: python3-reno +BuildRequires: python3-testtools +BuildRequires: python3-stestr +BuildRequires: python3-oslotest # General requires -BuildRequires: python3-prettytable -BuildRequires: python3-coverage +BuildRequires: python3-prettytable +BuildRequires: python3-coverage # General requires -Requires: python3-reno -Requires: python3-prettytable -Requires: python3-pbr +Requires: python3-prettytable +Requires: python3-pbr %description -n python3-automaton Automaton Friendly state machines for python. The goal of this library is to provide well documented state machine classes and associated utilities. The @@ -45,8 +44,8 @@ library include providing state & transition validation and running/scheduling/analyzing the execution of tasks. %package help -Summary: Friendly state machines for python. -Provides: python3-automaton-doc +Summary: Development documents and examples for automaton +Provides: python3-automaton-doc %description help Automaton Friendly state machines for python. The goal of this library is to provide well documented state machine classes and associated utilities. The @@ -63,28 +62,30 @@ running/scheduling/analyzing the execution of tasks. %install %py3_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 if [ -d example ]; then cp -arf example %{buildroot}/%{_pkgdocdir}; fi if [ -d examples ]; then cp -arf examples %{buildroot}/%{_pkgdocdir}; fi +if [ -f README.rst ]; then cp -af README.rst %{buildroot}/%{_pkgdocdir}; fi +if [ -f README.md ]; then cp -af README.md %{buildroot}/%{_pkgdocdir}; fi +if [ -f README.txt ]; then cp -af README.txt %{buildroot}/%{_pkgdocdir}; fi pushd %{buildroot} if [ -d usr/lib ]; then - find usr/lib -type f -printf "/%h/%f\n" >> filelist.lst + find usr/lib -type f -printf "/%h/%f\n" >> filelist.lst fi if [ -d usr/lib64 ]; then - find usr/lib64 -type f -printf "/%h/%f\n" >> filelist.lst + find usr/lib64 -type f -printf "/%h/%f\n" >> filelist.lst fi if [ -d usr/bin ]; then - find usr/bin -type f -printf "/%h/%f\n" >> filelist.lst + find usr/bin -type f -printf "/%h/%f\n" >> filelist.lst fi if [ -d usr/sbin ]; then - find usr/sbin -type f -printf "/%h/%f\n" >> filelist.lst + find usr/sbin -type f -printf "/%h/%f\n" >> filelist.lst fi touch doclist.lst if [ -d usr/share/man ]; then - find usr/share/man -type f -printf "/%h/%f.gz\n" >> doclist.lst + find usr/share/man -type f -printf "/%h/%f.gz\n" >> doclist.lst fi popd mv %{buildroot}/filelist.lst . @@ -100,6 +101,9 @@ mv %{buildroot}/doclist.lst . %{_docdir}/* %changelog +* Wed Mar 08 2023 wangjunqi - 3.1.0-1 +- Update package to version 3.1.0 + * Wed Dec 07 2022 jiangxinyu - 3.0.1-1 - Update package to version 3.0.1