Upgrade to version 4.3.2

Signed-off-by: Leo Fang <leofang_94@163.com>
This commit is contained in:
Leo Fang 2020-08-03 14:24:09 +08:00
parent 708b4e24c2
commit ce5ee71724
3 changed files with 15 additions and 13 deletions

Binary file not shown.

BIN
decorator-4.3.2.tar.gz Normal file

Binary file not shown.

View File

@ -3,20 +3,20 @@
function decorators and decorator factories. It also includes an implementation of multiple dispatch and \ function decorators and decorator factories. It also includes an implementation of multiple dispatch and \
other niceties (please check the docs). other niceties (please check the docs).
Name: python-%{_name} Name: python-%{_name}
Version: 4.3.0 Version: 4.3.2
Release: 3 Release: 1
Summary: Simplify the signature-preserving function decorators and decorator factories Summary: Simplify the signature-preserving function decorators and decorator factories
License: BSD License: BSD
URL: https://github.com/micheles/decorator URL: https://github.com/micheles/decorator
Source0: https://github.com/micheles/decorator/archive/%{version}.tar.gz#/%{_name}-%{version}.tar.gz Source0: https://github.com/micheles/decorator/archive/%{version}.tar.gz#/%{_name}-%{version}.tar.gz
BuildArch: noarch BuildArch: noarch
%description %description
%{_description} %{_description}
%package -n python2-decorator %package -n python2-decorator
Summary: %{summary} in python2 Summary: %{summary} in python2
BuildRequires: python2-devel python2-setuptools BuildRequires: python2-devel python2-setuptools
%{?python_provide:%python_provide python2-decorator} %{?python_provide:%python_provide python2-decorator}
@ -24,7 +24,7 @@ BuildRequires: python2-devel python2-setuptools
%{_description} %{_description}
%package -n python3-decorator %package -n python3-decorator
Summary: %{summary} in python3 Summary: %{summary} in python3
BuildRequires: python3-devel python3-setuptools BuildRequires: python3-devel python3-setuptools
%{?python_provide:%python_provide python3-decorator} %{?python_provide:%python_provide python3-decorator}
@ -36,7 +36,6 @@ BuildRequires: python3-devel python3-setuptools
%prep %prep
%autosetup -n %{_name}-%{version} -p1 %autosetup -n %{_name}-%{version} -p1
%build %build
%py2_build %py2_build
%py3_build %py3_build
@ -50,12 +49,12 @@ BuildRequires: python3-devel python3-setuptools
%{__python3} setup.py test %{__python3} setup.py test
%files -n python2-%{_name} %files -n python2-%{_name}
%doc docs/README.rst %doc README.rst
%license LICENSE.txt %license LICENSE.txt
%{python2_sitelib}/* %{python2_sitelib}/*
%files -n python3-%{_name} %files -n python3-%{_name}
%doc docs/README.rst %doc README.rst
%license LICENSE.txt %license LICENSE.txt
%{python3_sitelib}/__pycache__/* %{python3_sitelib}/__pycache__/*
%{python3_sitelib}/*info/ %{python3_sitelib}/*info/
@ -65,6 +64,9 @@ BuildRequires: python3-devel python3-setuptools
%doc CHANGES.md %doc CHANGES.md
%changelog %changelog
* Mon Aug 03 2020 Leo Fang<leofang_94@163.com> - 4.3.2-1
- Upgrade to version 4.3.2
* Tue Dec 31 2019 Yeqing Peng<pengyeqing@huawei.com> - 4.3.0-3 * Tue Dec 31 2019 Yeqing Peng<pengyeqing@huawei.com> - 4.3.0-3
- Type:enhancement - Type:enhancement
- ID:NA - ID:NA