General cleanups
This commit is contained in:
parent
d770d01bac
commit
ce66648549
@ -6,7 +6,6 @@ Release: 3%{?dist}
|
|||||||
Epoch: 1
|
Epoch: 1
|
||||||
Summary: Powerful extensions to the standard datetime module
|
Summary: Powerful extensions to the standard datetime module
|
||||||
|
|
||||||
Group: Development/Languages
|
|
||||||
License: Python
|
License: Python
|
||||||
URL: https://github.com/dateutil/dateutil
|
URL: https://github.com/dateutil/dateutil
|
||||||
Source0: https://github.com/dateutil/dateutil/archive/%{version}/%{modname}-%{version}.tar.gz
|
Source0: https://github.com/dateutil/dateutil/archive/%{version}/%{modname}-%{version}.tar.gz
|
||||||
@ -14,41 +13,33 @@ Source0: https://github.com/dateutil/dateutil/archive/%{version}/%{modnam
|
|||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
BuildRequires: python2-sphinx
|
BuildRequires: python2-sphinx
|
||||||
|
|
||||||
%description
|
%global _description \
|
||||||
The dateutil module provides powerful extensions to the standard datetime
|
The dateutil module provides powerful extensions to the standard datetime\
|
||||||
module available in Python 2.3+.
|
module available in Python.
|
||||||
|
|
||||||
This is the version for Python 2.
|
%description %_description
|
||||||
|
|
||||||
%package -n python2-%{modname}
|
%package -n python2-%{modname}
|
||||||
Summary: Powerful extensions to the standard datetime module
|
Summary: %summary
|
||||||
%{?python_provide:%python_provide python2-%{modname}}
|
|
||||||
BuildRequires: python2-devel
|
BuildRequires: python2-devel
|
||||||
BuildRequires: python2-six
|
BuildRequires: python2-six
|
||||||
BuildRequires: python2-setuptools
|
BuildRequires: python2-setuptools
|
||||||
Requires: tzdata
|
Requires: tzdata
|
||||||
Requires: python2-six
|
Requires: python2-six
|
||||||
|
%{?python_provide:%python_provide python2-%{modname}}
|
||||||
|
|
||||||
%description -n python2-%{modname}
|
%description -n python2-%{modname} %_description
|
||||||
The dateutil module provides powerful extensions to the standard datetime
|
|
||||||
module available in Python 2.3+.
|
|
||||||
|
|
||||||
This is the version for Python 2.
|
|
||||||
|
|
||||||
%package -n python3-%{modname}
|
%package -n python3-%{modname}
|
||||||
Summary: Powerful extensions to the standard datetime module
|
Summary: %summary
|
||||||
%{?python_provide:%python_provide python3-%{modname}}
|
|
||||||
BuildRequires: python3-devel
|
BuildRequires: python3-devel
|
||||||
BuildRequires: python3-six
|
BuildRequires: python3-six
|
||||||
BuildRequires: python3-setuptools
|
BuildRequires: python3-setuptools
|
||||||
Requires: tzdata
|
Requires: tzdata
|
||||||
Requires: python3-six
|
Requires: python3-six
|
||||||
|
%{?python_provide:%python_provide python3-%{modname}}
|
||||||
|
|
||||||
%description -n python3-dateutil
|
%description -n python3-%{modname} %_description
|
||||||
The dateutil module provides powerful extensions to the standard datetime
|
|
||||||
module available in Python 2.3+.
|
|
||||||
|
|
||||||
This is the version for Python 3.
|
|
||||||
|
|
||||||
%package doc
|
%package doc
|
||||||
Summary: API documentation for python-dateutil
|
Summary: API documentation for python-dateutil
|
||||||
|
Loading…
Reference in New Issue
Block a user