15
0

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

simple update

OBS-URL: https://build.opensuse.org/request/show/172621
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-bitstring?expand=0&rev=5
This commit is contained in:
Denisart Benjamin
2013-04-20 12:47:24 +00:00
committed by Git OBS Bridge
parent 653157fc28
commit 87934c02f6
6 changed files with 22 additions and 10 deletions

View File

@@ -16,7 +16,7 @@
Name: python-bitstring
Version: 3.1.0
Version: 3.1.2
Release: 0
Url: http://python-bitstring.googlecode.com
Summary: Simple construction, analysis and modification of binary data
@@ -26,13 +26,11 @@ Source: http://pypi.python.org/packages/source/b/bitstring/bitstring-%{v
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: python-devel
BuildRequires: unzip
%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
%{!?python_sitelib: %global python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")}
%description
bitstring is a pure Python module designed to help make