Update to 4.4.0. Fixes bug #1669189

This commit is contained in:
Kevin Fenzi 2019-06-22 13:12:25 -07:00
parent ce5b88a6c1
commit 7316bd8734
3 changed files with 21 additions and 11 deletions

1
.gitignore vendored
View File

@ -15,3 +15,4 @@ decorator-3.2.0.tar.gz
/decorator-4.1.2.tar.gz /decorator-4.1.2.tar.gz
/decorator-4.2.1.tar.gz /decorator-4.2.1.tar.gz
/decorator-4.3.0.tar.gz /decorator-4.3.0.tar.gz
/decorator-4.4.0.tar.gz

View File

@ -7,8 +7,8 @@
%endif %endif
Name: python-%{pypi_name} Name: python-%{pypi_name}
Version: 4.3.0 Version: 4.4.0
Release: 2%{?dist} Release: 1%{?dist}
Summary: Module to simplify usage of decorators Summary: Module to simplify usage of decorators
License: BSD License: BSD
@ -21,7 +21,8 @@ BuildRequires: python2-devel
%if %{with python3} %if %{with python3}
BuildRequires: python3-setuptools BuildRequires: python3-setuptools
BuildRequires: python3-devel BuildRequires: python3-devel
%endif # with python3 %endif
# with python3
%description %description
The aim of the decorator module is to simplify the usage of decorators for 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 the average programmer, and to popularize decorators usage giving examples
of useful decorators, such as memoize, tracing, redirecting_stdout, locked, of useful decorators, such as memoize, tracing, redirecting_stdout, locked,
etc. The core of this module is a decorator factory called decorator. etc. The core of this module is a decorator factory called decorator.
%endif # with python3 %endif
# with python3
%prep %prep
%autosetup -n %{pypi_name}-%{version} %autosetup -n %{pypi_name}-%{version}
@ -58,13 +60,15 @@ etc. The core of this module is a decorator factory called decorator.
%py2_build %py2_build
%if %{with python3} %if %{with python3}
%py3_build %py3_build
%endif # with python3 %endif
# with python3
%install %install
%py2_install %py2_install
%if %{with python3} %if %{with python3}
%py3_install %py3_install
%endif # with python3 %endif
# with python3
# Remove this when https://github.com/micheles/decorator/issues/32 is fixed. # Remove this when https://github.com/micheles/decorator/issues/32 is fixed.
find %{buildroot} -name SOURCES.txt~ -exec rm -f {} \; find %{buildroot} -name SOURCES.txt~ -exec rm -f {} \;
@ -72,23 +76,28 @@ find %{buildroot} -name SOURCES.txt~ -exec rm -f {} \;
%{__python2} setup.py test %{__python2} setup.py test
%if %{with python3} %if %{with python3}
%{__python3} setup.py test %{__python3} setup.py test
%endif # with python3 %endif
# with python3
%files -n python2-%{pypi_name} %files -n python2-%{pypi_name}
%doc docs/README.rst %doc README.md CHANGES.md
%license LICENSE.txt %license LICENSE.txt
%{python2_sitelib}/* %{python2_sitelib}/*
%if %{with python3} %if %{with python3}
%files -n python3-%{pypi_name} %files -n python3-%{pypi_name}
%doc docs/README.rst %doc README.md CHANGES.md
%license LICENSE.txt %license LICENSE.txt
%{python3_sitelib}/decorator.py %{python3_sitelib}/decorator.py
%{python3_sitelib}/decorator-*.egg-info/ %{python3_sitelib}/decorator-*.egg-info/
%{python3_sitelib}/__pycache__/* %{python3_sitelib}/__pycache__/*
%endif # with python3 %endif
# with python3
%changelog %changelog
* Sat Jun 22 2019 Kevin Fenzi <kevin@scrye.com> - 4.4.0-1
- Update to 4.4.0. Fixes bug #1669189
* Sat Feb 02 2019 Fedora Release Engineering <releng@fedoraproject.org> - 4.3.0-2 * Sat Feb 02 2019 Fedora Release Engineering <releng@fedoraproject.org> - 4.3.0-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild

View File

@ -1 +1 @@
SHA512 (decorator-4.3.0.tar.gz) = 63894b12af62ad357638b99290c34c2207ba33813b6cd8ed554236ef45a091f337b6eeee829b2af82f2e71699902e49aff49acfa22d5449a7833ba382cda2751 SHA512 (decorator-4.4.0.tar.gz) = 32c35c80581cb7fd0b2461d21c7eb14190294b2ccc9f92749b6bc74449f7d02a26281e9a2817f6f16871a6cddb7b02b8fae8119c22256fe43a6aaa31a7599dd5