Compare commits
10 Commits
ccc535da9d
...
1880e4fb0d
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
1880e4fb0d | ||
|
|
cedf260126 | ||
|
|
da7a74508a | ||
|
|
a1e2e22994 | ||
|
|
faa5bd5a76 | ||
|
|
8f6b3fb3d4 | ||
|
|
a507308a98 | ||
|
|
126dff2dae | ||
|
|
148c2abb63 | ||
|
|
e5e5f187d9 |
Binary file not shown.
BIN
python-dateutil-2.8.2.tar.gz
Normal file
BIN
python-dateutil-2.8.2.tar.gz
Normal file
Binary file not shown.
@ -2,11 +2,11 @@
|
|||||||
%global _description The dateutil module provides powerful extensions to the standard datetime module, available in Python.
|
%global _description The dateutil module provides powerful extensions to the standard datetime module, available in Python.
|
||||||
|
|
||||||
Name: python-dateutil
|
Name: python-dateutil
|
||||||
Version: 2.8.1
|
Version: 2.8.2
|
||||||
Release: 1
|
Release: 3
|
||||||
Epoch: 1
|
Epoch: 1
|
||||||
Summary: Powerful extensions to datetime
|
Summary: Powerful extensions to datetime
|
||||||
License: Apache 2.0 or BSD
|
License: Apache 2.0 or BSD or Python
|
||||||
URL: https://github.com/dateutil/dateutil
|
URL: https://github.com/dateutil/dateutil
|
||||||
Source0: https://files.pythonhosted.org/packages/source/p/python-dateutil/python-dateutil-%{version}.tar.gz
|
Source0: https://files.pythonhosted.org/packages/source/p/python-dateutil/python-dateutil-%{version}.tar.gz
|
||||||
|
|
||||||
@ -16,18 +16,10 @@ Buildrequires: gdb
|
|||||||
%description
|
%description
|
||||||
%{_description}
|
%{_description}
|
||||||
|
|
||||||
%package -n python2-%{_name}
|
|
||||||
Summary: %{summary}
|
|
||||||
Buildrequires: python2-devel python2-setuptools python2-setuptools_scm python2-six python2-pytest python2-freezegun python2-hypothesis
|
|
||||||
Requires: python2-six tzdata
|
|
||||||
%{?python_provide:%python_provide python2-%{_name}}
|
|
||||||
|
|
||||||
%description -n python2-%{_name}
|
|
||||||
%{_description}
|
|
||||||
|
|
||||||
%package -n python3-%{_name}
|
%package -n python3-%{_name}
|
||||||
Summary: %{summary}
|
Summary: %{summary}
|
||||||
Buildrequires: python3-devel python3-setuptools python3-setuptools_scm python3-six python3-pytest python3-freezegun python3-hypothesis
|
Buildrequires: python3-devel python3-setuptools python3-setuptools_scm python3-six
|
||||||
|
Buildrequires: python3-pytest python3-freezegun python3-hypothesis python3-sortedcontainers
|
||||||
Requires: python3-six tzdata
|
Requires: python3-six tzdata
|
||||||
%{?python_provide:%python_provide python3-%{_name}}
|
%{?python_provide:%python_provide python3-%{_name}}
|
||||||
|
|
||||||
@ -40,23 +32,16 @@ Requires: python3-six tzdata
|
|||||||
%autosetup -n %{name}-%{version} -p1
|
%autosetup -n %{name}-%{version} -p1
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%py2_build
|
|
||||||
%py3_build
|
%py3_build
|
||||||
|
|
||||||
%install
|
%install
|
||||||
%py2_install
|
|
||||||
%py3_install
|
%py3_install
|
||||||
|
|
||||||
%check
|
%check
|
||||||
|
rm setup.cfg
|
||||||
|
export LANG=en_US.UTF-8
|
||||||
%{__python3} -m pytest
|
%{__python3} -m pytest
|
||||||
|
|
||||||
%files -n python2-%{_name}
|
|
||||||
%defattr(-,root,root)
|
|
||||||
%doc README.rst
|
|
||||||
%license LICENSE
|
|
||||||
%{python2_sitelib}/%{_name}/
|
|
||||||
%{python2_sitelib}/*info
|
|
||||||
|
|
||||||
%files -n python3-%{_name}
|
%files -n python3-%{_name}
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
%doc README.rst
|
%doc README.rst
|
||||||
@ -69,6 +54,33 @@ Requires: python3-six tzdata
|
|||||||
%doc NEWS PKG-INFO RELEASING
|
%doc NEWS PKG-INFO RELEASING
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Tue Oct 25 2022 zhangruifang <zhangruifang1@h-partners.com> - 2.8.2-3
|
||||||
|
- Rebuild for next release
|
||||||
|
|
||||||
|
* Wed Jan 05 2022 shixuantong <shixuantong@huawei.com> - 2.8.2-2
|
||||||
|
- Type:bugfix
|
||||||
|
- ID:NA
|
||||||
|
- SUG:NA
|
||||||
|
- DESC:add python3-sortedcontainers to Buildrequires
|
||||||
|
|
||||||
|
* Sat Nov 13 2021 liudabo<liudabo1@huawei.com> - 2.8.2-1
|
||||||
|
- Type:NA
|
||||||
|
- ID:NA
|
||||||
|
- SUG:NA
|
||||||
|
- DESC:update version to 2.8.2
|
||||||
|
|
||||||
|
* Tue Jan 19 2021 tianwei<tianwei12@huawei.com> - 2.8.1-3
|
||||||
|
- Type:NA
|
||||||
|
- ID:NA
|
||||||
|
- SUG:NA
|
||||||
|
- DESC: fix Unknown pytest.mark.no_cover fail in make check
|
||||||
|
|
||||||
|
* Fri Oct 30 2020 shixuantong<shixuantong@huawei.com> - 2.8.1-2
|
||||||
|
- Type:NA
|
||||||
|
- ID:NA
|
||||||
|
- SUG:NA
|
||||||
|
- DESC:remove python2 dependency
|
||||||
|
|
||||||
* Thu Jul 23 2020 dingyue<dingyue5@huawei.com> - 1:2.8.1-1
|
* Thu Jul 23 2020 dingyue<dingyue5@huawei.com> - 1:2.8.1-1
|
||||||
- Type:enhancement
|
- Type:enhancement
|
||||||
- ID:NA
|
- ID:NA
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user