Compare commits
10 Commits
708b4e24c2
...
e21e90eb27
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
e21e90eb27 | ||
|
|
5434f35f9b | ||
|
|
ecbf120659 | ||
|
|
fb247022e1 | ||
|
|
94d82d1c64 | ||
|
|
c6a66b2552 | ||
|
|
31df74ebc7 | ||
|
|
93606eeb08 | ||
|
|
7e60ce1161 | ||
|
|
b668e5d788 |
Binary file not shown.
BIN
decorator-5.0.9.tar.gz
Normal file
BIN
decorator-5.0.9.tar.gz
Normal file
Binary file not shown.
@ -4,8 +4,8 @@ function decorators and decorator factories. It also includes an implementation
|
|||||||
other niceties (please check the docs).
|
other niceties (please check the docs).
|
||||||
|
|
||||||
Name: python-%{_name}
|
Name: python-%{_name}
|
||||||
Version: 4.3.0
|
Version: 5.0.9
|
||||||
Release: 3
|
Release: 2
|
||||||
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
|
||||||
@ -15,14 +15,6 @@ BuildArch: noarch
|
|||||||
%description
|
%description
|
||||||
%{_description}
|
%{_description}
|
||||||
|
|
||||||
%package -n python2-decorator
|
|
||||||
Summary: %{summary} in python2
|
|
||||||
BuildRequires: python2-devel python2-setuptools
|
|
||||||
%{?python_provide:%python_provide python2-decorator}
|
|
||||||
|
|
||||||
%description -n python2-decorator
|
|
||||||
%{_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
|
||||||
@ -38,24 +30,16 @@ BuildRequires: python3-devel python3-setuptools
|
|||||||
|
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%py2_build
|
|
||||||
%py3_build
|
%py3_build
|
||||||
|
|
||||||
%install
|
%install
|
||||||
%py2_install
|
|
||||||
%py3_install
|
%py3_install
|
||||||
|
|
||||||
%check
|
%check
|
||||||
%{__python2} setup.py test
|
|
||||||
%{__python3} setup.py test
|
%{__python3} setup.py test
|
||||||
|
|
||||||
%files -n python2-%{_name}
|
|
||||||
%doc docs/README.rst
|
|
||||||
%license LICENSE.txt
|
|
||||||
%{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 +49,27 @@ BuildRequires: python3-devel python3-setuptools
|
|||||||
%doc CHANGES.md
|
%doc CHANGES.md
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Tue Oct 25 2022 zhangruifang <zhangruifang1@h-partners.com> - 5.0.9-2
|
||||||
|
- Rebuild for next release
|
||||||
|
|
||||||
|
* Sat Nov 13 2021 liudabo<liudabo1@huawei.com> - 5.0.9-1
|
||||||
|
- Type:enhancement
|
||||||
|
- ID:NA
|
||||||
|
- SUG:NA
|
||||||
|
- DESC:update version to 5.0.9
|
||||||
|
|
||||||
|
* Fri Oct 23 2020 tianwei<tianwei12@huawei.com> - 4.4.2-2
|
||||||
|
- Type:enhancement
|
||||||
|
- ID:NA
|
||||||
|
- SUG:NA
|
||||||
|
- DESC:delete python2
|
||||||
|
|
||||||
|
* Thu Jul 23 2020 dingyue<dingyue5@huawei.com> - 4.4.2-1
|
||||||
|
- Type:enhancement
|
||||||
|
- ID:NA
|
||||||
|
- SUG:restart
|
||||||
|
- DESC:update source code
|
||||||
|
|
||||||
* 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
|
||||||
|
|||||||
4
python-decorator.yaml
Normal file
4
python-decorator.yaml
Normal file
@ -0,0 +1,4 @@
|
|||||||
|
version_control: github
|
||||||
|
src_repo: micheles/decorator
|
||||||
|
tag_prefix: ^
|
||||||
|
seperator: .
|
||||||
Loading…
x
Reference in New Issue
Block a user