14
0

Accepting request 208218 from home:posophe:branches:devel:languages:python

update

OBS-URL: https://build.opensuse.org/request/show/208218
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pyserial?expand=0&rev=11
This commit is contained in:
Denisart Benjamin
2013-11-24 21:06:40 +00:00
committed by Git OBS Bridge
parent 23ef0a60c3
commit f655445c6b
4 changed files with 41 additions and 9 deletions

View File

@@ -17,7 +17,7 @@
Name: python-pyserial
Version: 2.6
Version: 2.7
Release: 0
Url: http://pyserial.sourceforge.net/
Summary: Python Serial Port Extension
@@ -27,15 +27,13 @@ Source: http://pypi.python.org/packages/source/p/pyserial/pyserial-%{ver
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: python-Sphinx
BuildRequires: python-devel
%if 0%{?suse_version}
%py_requires
%if 0%{?suse_version} > 1110
%if 0%{?suse_version} && 0%{?suse_version} <= 1110
%{!?python_sitelib: %global python_sitelib %(python -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")}
%else
BuildArch: noarch
%endif
%endif
Provides: python-serial = %{version}
Obsoletes: python-serial < %{version}
%{!?python_sitelib: %global python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")}
%description
Python Serial Port Extension for Win32, Linux, BSD, Jython, IronPython