diff --git a/python-retrying.spec b/python-retrying.spec index 777647a..727a1b0 100644 --- a/python-retrying.spec +++ b/python-retrying.spec @@ -1,7 +1,7 @@ %global _empty_manifest_terminate_build 0 Name: python-retrying Version: 1.3.3 -Release: 1 +Release: 2 Summary: Retrying License: Apache 2.0 URL: https://github.com/rholder/retrying @@ -12,17 +12,6 @@ BuildArch: noarch %description Retrying is an Apache 2.0 licensed general-purpose retrying library, written in Python, to simplify the task of adding retry behavior to just about anything. -The simplest use case is retrying a flaky function whenever an Exception occurs -until a value is returned. - import random - from retrying import retry - @retry - def do_something_unreliable(): - if random.randint(0, 10) > 1: - raise IOError("Broken sauce, everything is hosed!!!111one") - else: - return "Awesome sauce!" - print do_something_unreliable() %package -n python3-retrying Summary: Retrying @@ -32,17 +21,6 @@ BuildRequires: python3-setuptools %description -n python3-retrying Retrying is an Apache 2.0 licensed general-purpose retrying library, written in Python, to simplify the task of adding retry behavior to just about anything. -The simplest use case is retrying a flaky function whenever an Exception occurs -until a value is returned. - import random - from retrying import retry - @retry - def do_something_unreliable(): - if random.randint(0, 10) > 1: - raise IOError("Broken sauce, everything is hosed!!!111one") - else: - return "Awesome sauce!" - print do_something_unreliable() %package help Summary: Development documents and examples for retrying @@ -50,17 +28,6 @@ Provides: python3-retrying-doc %description help Retrying is an Apache 2.0 licensed general-purpose retrying library, written in Python, to simplify the task of adding retry behavior to just about anything. -The simplest use case is retrying a flaky function whenever an Exception occurs -until a value is returned. - import random - from retrying import retry - @retry - def do_something_unreliable(): - if random.randint(0, 10) > 1: - raise IOError("Broken sauce, everything is hosed!!!111one") - else: - return "Awesome sauce!" - print do_something_unreliable() %prep %autosetup -n retrying-1.3.3 @@ -103,5 +70,8 @@ mv %{buildroot}/doclist.lst . %{_docdir}/* %changelog +* Mon Aug 31 2020 Python_Bot +- Simplify desc content,change release to 2 + * Fri Aug 28 2020 Python_Bot - Package Spec generated