Compare commits
No commits in common. "e21e90eb2710bc64ce27ea8ca6545389e72db278" and "708b4e24c27c0cfd136af5f1465d6b59c54eb68e" have entirely different histories.
e21e90eb27
...
708b4e24c2
BIN
decorator-4.3.0.tar.gz
Normal file
BIN
decorator-4.3.0.tar.gz
Normal file
Binary file not shown.
Binary file not shown.
@ -4,8 +4,8 @@ function decorators and decorator factories. It also includes an implementation
|
||||
other niceties (please check the docs).
|
||||
|
||||
Name: python-%{_name}
|
||||
Version: 5.0.9
|
||||
Release: 2
|
||||
Version: 4.3.0
|
||||
Release: 3
|
||||
Summary: Simplify the signature-preserving function decorators and decorator factories
|
||||
License: BSD
|
||||
URL: https://github.com/micheles/decorator
|
||||
@ -15,6 +15,14 @@ BuildArch: noarch
|
||||
%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
|
||||
Summary: %{summary} in python3
|
||||
BuildRequires: python3-devel python3-setuptools
|
||||
@ -30,16 +38,24 @@ BuildRequires: python3-devel python3-setuptools
|
||||
|
||||
|
||||
%build
|
||||
%py2_build
|
||||
%py3_build
|
||||
|
||||
%install
|
||||
%py2_install
|
||||
%py3_install
|
||||
|
||||
%check
|
||||
%{__python2} setup.py test
|
||||
%{__python3} setup.py test
|
||||
|
||||
%files -n python2-%{_name}
|
||||
%doc docs/README.rst
|
||||
%license LICENSE.txt
|
||||
%{python2_sitelib}/*
|
||||
|
||||
%files -n python3-%{_name}
|
||||
%doc README.rst
|
||||
%doc docs/README.rst
|
||||
%license LICENSE.txt
|
||||
%{python3_sitelib}/__pycache__/*
|
||||
%{python3_sitelib}/*info/
|
||||
@ -49,27 +65,6 @@ BuildRequires: python3-devel python3-setuptools
|
||||
%doc CHANGES.md
|
||||
|
||||
%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
|
||||
- Type:enhancement
|
||||
- ID:NA
|
||||
|
||||
@ -1,4 +0,0 @@
|
||||
version_control: github
|
||||
src_repo: micheles/decorator
|
||||
tag_prefix: ^
|
||||
seperator: .
|
||||
Loading…
x
Reference in New Issue
Block a user