Search
SailfishOS Open Build Service
>
Projects
>
home:phils3r
:
tools
>
python-dateutil
> Changes
Log In
Username
Password
Cancel
Overview
Repositories
Revisions
Requests
Users
Advanced
Attributes
Meta
Changes of Revision 2
[-]
[+]
Changed
python-dateutil.spec
@@ -26,10 +26,10 @@ Source0: http://pypi.python.org/packages/source/p/%{name}/%{name}-%{version}.tar.gz BuildRoot: %{_tmppath}/%{name}-%{version}-build Url: http://labix.org/python-dateutil -BuildRequires: python-devel -BuildRequires: python-setuptools -BuildRequires: python-six -Requires: python-six +BuildRequires: python3-devel +#BuildRequires: python-setuptools +BuildRequires: python3-six +Requires: python3-six %if 0%{?suse_version} <= 1110 %{!?python_sitelib: %global python_sitelib %(python -c "from distutils.sysconfig import get_python_lib; print(get_python_lib())")} %else @@ -73,10 +73,10 @@ %build rm setup.cfg -CFLAGS="%{optflags}" python setup.py build +CFLAGS="%{optflags}" python3 setup.py build %install -python setup.py install --prefix=%{_prefix} --root=%{buildroot} +python3 setup.py install --prefix=%{_prefix} --root=%{buildroot} %clean rm -rf %{buildroot}