# Created by pyp2rpm-3.2.1 %global pypi_name python-dateutil Name: python-dateutil Version: 1.5 Release: 1%{?dist} Summary: Extensions to the standard python 2.3+ datetime module License: PSF License URL: http://labix.org/python-dateutil Source0: https://files.pythonhosted.org/packages/source/p/%{pypi_name}/%{pypi_name}-%{version}.tar.gz BuildArch: noarch BuildRequires: python2-devel BuildRequires: python-setuptools %description The dateutil module provides powerful extensions to the standard datetime module, available in Python 2.3+. %package -n python2-dateutil Summary: Extensions to the standard python 2.3+ datetime module %{?python_provide:%python_provide python2-dateutil} %description -n python2-dateutil The dateutil module provides powerful extensions to the standard datetime module, available in Python 2.3+. %prep %autosetup -n %{pypi_name}-%{version} # Remove bundled egg-info rm -rf %{pypi_name}.egg-info %build %py2_build %install %py2_install %files -n python2-dateutil %license LICENSE %doc %{python2_sitelib}/dateutil %{python2_sitelib}/python_dateutil-%{version}-py?.?.egg-info %changelog * Thu May 11 2017 root - 1.5-1 - Initial package.