diff --git a/decorator-4.3.2.tar.gz b/decorator-4.3.2.tar.gz deleted file mode 100644 index 23a7aa6..0000000 --- a/decorator-4.3.2.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:33cd704aea07b4c28b3eb2c97d288a06918275dac0ecebdaf1bc8a48d98adb9e -size 34892 diff --git a/decorator-4.4.0.tar.gz b/decorator-4.4.0.tar.gz new file mode 100644 index 0000000..f842a3f --- /dev/null +++ b/decorator-4.4.0.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:86156361c50488b84a3f148056ea716ca587df2f0de1d34750d35c21312725de +size 34559 diff --git a/python-decorator.changes b/python-decorator.changes index 8ba39b9..140f81c 100644 --- a/python-decorator.changes +++ b/python-decorator.changes @@ -1,3 +1,10 @@ +------------------------------------------------------------------- +Tue Mar 19 15:15:40 UTC 2019 - Tomáš Chvátal + +- Update to 4.4.0: + * Fixed a regression with decorator factories breaking the case with no + arguments by going back to the syntax used in version 4.2. + ------------------------------------------------------------------- Wed Feb 13 17:32:05 UTC 2019 - Todd R diff --git a/python-decorator.spec b/python-decorator.spec index 32c8b27..7d991fe 100644 --- a/python-decorator.spec +++ b/python-decorator.spec @@ -20,14 +20,15 @@ # %{?!python_module:%define python_module() python-%{**} python3-%{**}} Name: python-decorator -Version: 4.3.2 +Version: 4.4.0 Release: 0 Summary: Non-nested signature-retaining Python decorators License: BSD-2-Clause Group: Development/Languages/Python -URL: http://pypi.python.org/pypi/decorator +URL: https://github.com/micheles/decorator Source: https://files.pythonhosted.org/packages/source/d/decorator/decorator-%{version}.tar.gz BuildRequires: %{python_module setuptools} +BuildRequires: dos2unix BuildRequires: fdupes BuildRequires: python-rpm-macros BuildArch: noarch @@ -44,7 +45,6 @@ redirecting_stdout, locked, etc. more accessible. %prep %setup -q -n decorator-%{version} -sed -i 's/\r//' README.rst # Fix EOL encoding %build %python_build @@ -53,9 +53,12 @@ sed -i 's/\r//' README.rst # Fix EOL encoding %python_install %python_expand %fdupes %{buildroot}%{$python_sitelib} +%check +%python_expand PYTHONPATH=%{buildroot}%{$python_sitelib} $python src/tests/test.py -v + %files %{python_files} %license LICENSE.txt -%doc CHANGES.md README.rst +%doc CHANGES.md README.md %{python_sitelib}/decorator.py* %pycache_only %{python_sitelib}/__pycache__/decorator.*.py* %{python_sitelib}/decorator-%{version}-py*.egg-info