From 7316bd8734d73d1ac16354e32bd5ee84b783ca4c Mon Sep 17 00:00:00 2001 From: Kevin Fenzi Date: Jun 22 2019 20:12:25 +0000 Subject: Update to 4.4.0. Fixes bug #1669189 --- diff --git a/.gitignore b/.gitignore index 4fd29f1..692158a 100644 --- a/.gitignore +++ b/.gitignore @@ -15,3 +15,4 @@ decorator-3.2.0.tar.gz /decorator-4.1.2.tar.gz /decorator-4.2.1.tar.gz /decorator-4.3.0.tar.gz +/decorator-4.4.0.tar.gz diff --git a/python-decorator.spec b/python-decorator.spec index 9f82ff6..3271523 100644 --- a/python-decorator.spec +++ b/python-decorator.spec @@ -7,8 +7,8 @@ %endif Name: python-%{pypi_name} -Version: 4.3.0 -Release: 2%{?dist} +Version: 4.4.0 +Release: 1%{?dist} Summary: Module to simplify usage of decorators License: BSD @@ -21,7 +21,8 @@ BuildRequires: python2-devel %if %{with python3} BuildRequires: python3-setuptools BuildRequires: python3-devel -%endif # with python3 +%endif +# with python3 %description The aim of the decorator module is to simplify the usage of decorators for @@ -49,7 +50,8 @@ The aim of the decorator module is to simplify the usage of decorators for the average programmer, and to popularize decorators usage giving examples of useful decorators, such as memoize, tracing, redirecting_stdout, locked, etc. The core of this module is a decorator factory called decorator. -%endif # with python3 +%endif +# with python3 %prep %autosetup -n %{pypi_name}-%{version} @@ -58,13 +60,15 @@ etc. The core of this module is a decorator factory called decorator. %py2_build %if %{with python3} %py3_build -%endif # with python3 +%endif +# with python3 %install %py2_install %if %{with python3} %py3_install -%endif # with python3 +%endif +# with python3 # Remove this when https://github.com/micheles/decorator/issues/32 is fixed. find %{buildroot} -name SOURCES.txt~ -exec rm -f {} \; @@ -72,23 +76,28 @@ find %{buildroot} -name SOURCES.txt~ -exec rm -f {} \; %{__python2} setup.py test %if %{with python3} %{__python3} setup.py test -%endif # with python3 +%endif +# with python3 %files -n python2-%{pypi_name} -%doc docs/README.rst +%doc README.md CHANGES.md %license LICENSE.txt %{python2_sitelib}/* %if %{with python3} %files -n python3-%{pypi_name} -%doc docs/README.rst +%doc README.md CHANGES.md %license LICENSE.txt %{python3_sitelib}/decorator.py %{python3_sitelib}/decorator-*.egg-info/ %{python3_sitelib}/__pycache__/* -%endif # with python3 +%endif +# with python3 %changelog +* Sat Jun 22 2019 Kevin Fenzi - 4.4.0-1 +- Update to 4.4.0. Fixes bug #1669189 + * Sat Feb 02 2019 Fedora Release Engineering - 4.3.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild diff --git a/sources b/sources index 8b2742d..2e4fab2 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (decorator-4.3.0.tar.gz) = 63894b12af62ad357638b99290c34c2207ba33813b6cd8ed554236ef45a091f337b6eeee829b2af82f2e71699902e49aff49acfa22d5449a7833ba382cda2751 +SHA512 (decorator-4.4.0.tar.gz) = 32c35c80581cb7fd0b2461d21c7eb14190294b2ccc9f92749b6bc74449f7d02a26281e9a2817f6f16871a6cddb7b02b8fae8119c22256fe43a6aaa31a7599dd5