代码拉取完成,页面将自动刷新
同步操作将从 src-openEuler/python-dateutil 强制同步,此操作会覆盖自 Fork 仓库以来所做的任何修改,且无法恢复!!!
确定后同步将在后台操作,完成时将刷新页面,请耐心等待。
%global _name dateutil
%global _description The dateutil module provides powerful extensions to the standard datetime module, available in Python.
Name: python-dateutil
Version: 2.7.0
Release: 7
Epoch: 1
Summary: Powerful extensions to datetime
License: Apache 2.0 or BSD
URL: https://github.com/dateutil/dateutil
Source0: https://files.pythonhosted.org/packages/source/p/python-dateutil/python-dateutil-%{version}.tar.gz
BuildArch: noarch
Buildrequires: gdb
%description
%{_description}
%package -n python2-%{_name}
Summary: %{summary}
Buildrequires: python2-devel python2-setuptools python2-setuptools_scm python2-six
Requires: python2-six tzdata
%{?python_provide:%python_provide python2-%{_name}}
%description -n python2-%{_name}
%{_description}
%package -n python3-%{_name}
Summary: %{summary}
Buildrequires: python3-devel python3-setuptools python3-setuptools_scm python2-six
Requires: python3-six tzdata
%{?python_provide:%python_provide python3-%{_name}}
%description -n python3-%{_name}
%{_description}
%package_help
%prep
%autosetup -n %{name}-%{version} -p1
%build
%py2_build
%py3_build
%install
%py2_install
%py3_install
%check
%{__python2} setup.py test
%{__python3} setup.py test
%files -n python2-%{_name}
%defattr(-,root,root)
%doc README.rst
%license LICENSE
%{python2_sitelib}/%{_name}/
%{python2_sitelib}/*info
%files -n python3-%{_name}
%defattr(-,root,root)
%doc README.rst
%license LICENSE
%{python3_sitelib}/%{_name}/
%{python3_sitelib}/*info
%files help
%defattr(-,root,root)
%doc NEWS PKG-INFO RELEASING
%changelog
* Fri Sep 27 2019 shenyangyang<shenyangyang4@huawei.com> - 1:2.7.0-7
- Type:enhancement
- ID:NA
- SUG:NA
- DESC:modify the license
* Fri Sep 27 2019 shenyangyang<shenyangyang4@huawei.com> - 1:2.7.0-6
- Type:enhancement
- ID:NA
- SUG:NA
- DESC:move license file
* Thu Sep 5 2019 shenyangyang<shenyangyang4@huawei.com> - 1:2.7.0-5
- Type:enhancement
- ID:NA
- SUG:NA
- DESC:optimize the method to provide default version of python-name
* Fri Aug 23 2019 openEuler Buildteam <buildteam@openeuler.org> - 1:2.7.0-4
- Package init
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。