diff --git a/decorator-4.3.0.tar.gz b/decorator-4.3.0.tar.gz deleted file mode 100644 index 75147f2..0000000 --- a/decorator-4.3.0.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:c39efa13fbdeb4506c476c9b3babf6a718da943dab7811c206005a4a956c080c -size 33758 diff --git a/decorator-4.3.2.tar.gz b/decorator-4.3.2.tar.gz new file mode 100644 index 0000000..23a7aa6 --- /dev/null +++ b/decorator-4.3.2.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:33cd704aea07b4c28b3eb2c97d288a06918275dac0ecebdaf1bc8a48d98adb9e +size 34892 diff --git a/python-decorator.changes b/python-decorator.changes index dc31829..8ba39b9 100644 --- a/python-decorator.changes +++ b/python-decorator.changes @@ -1,3 +1,17 @@ +------------------------------------------------------------------- +Wed Feb 13 17:32:05 UTC 2019 - Todd R + +- update to version 4.3.2 + * now the decorator module can decorate generator functions by + preserving their being generator functions + * Set `python_requires='>=2.6, !=3.0.*, !=3.1.*'` in setup.py +- update to version 4.3.1 + * Added a section "For the impatient" to the README, addressing + an issue raised by Amir Malekpour. + * Added support for Python 3.7. + * Now the path to the decorator module appears in the + tracebacks, as suggested by a user at EuroPython 2018. + ------------------------------------------------------------------- Tue Dec 4 12:47:11 UTC 2018 - Matej Cepl diff --git a/python-decorator.spec b/python-decorator.spec index 579ca05..32c8b27 100644 --- a/python-decorator.spec +++ b/python-decorator.spec @@ -1,7 +1,7 @@ # # spec file for package python-decorator # -# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -20,7 +20,7 @@ # %{?!python_module:%define python_module() python-%{**} python3-%{**}} Name: python-decorator -Version: 4.3.0 +Version: 4.3.2 Release: 0 Summary: Non-nested signature-retaining Python decorators License: BSD-2-Clause @@ -28,6 +28,7 @@ Group: Development/Languages/Python URL: http://pypi.python.org/pypi/decorator Source: https://files.pythonhosted.org/packages/source/d/decorator/decorator-%{version}.tar.gz BuildRequires: %{python_module setuptools} +BuildRequires: fdupes BuildRequires: python-rpm-macros BuildArch: noarch %python_subpackages @@ -43,17 +44,18 @@ redirecting_stdout, locked, etc. more accessible. %prep %setup -q -n decorator-%{version} -sed -i 's/\r//' docs/README.rst # Fix EOL encoding +sed -i 's/\r//' README.rst # Fix EOL encoding %build %python_build %install %python_install +%python_expand %fdupes %{buildroot}%{$python_sitelib} %files %{python_files} %license LICENSE.txt -%doc CHANGES.md docs/README.rst +%doc CHANGES.md README.rst %{python_sitelib}/decorator.py* %pycache_only %{python_sitelib}/__pycache__/decorator.*.py* %{python_sitelib}/decorator-%{version}-py*.egg-info