Update to 4.4.0. Fixes bug #1669189
This commit is contained in:
parent
ce5b88a6c1
commit
7316bd8734
1
.gitignore
vendored
1
.gitignore
vendored
@ -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
|
||||
|
@ -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 <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
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
|
||||
|
||||
|
2
sources
2
sources
@ -1 +1 @@
|
||||
SHA512 (decorator-4.3.0.tar.gz) = 63894b12af62ad357638b99290c34c2207ba33813b6cd8ed554236ef45a091f337b6eeee829b2af82f2e71699902e49aff49acfa22d5449a7833ba382cda2751
|
||||
SHA512 (decorator-4.4.0.tar.gz) = 32c35c80581cb7fd0b2461d21c7eb14190294b2ccc9f92749b6bc74449f7d02a26281e9a2817f6f16871a6cddb7b02b8fae8119c22256fe43a6aaa31a7599dd5
|
||||
|
Loading…
Reference in New Issue
Block a user