Denisart Benjamin 2014-01-30 15:30:22 +00:00 committed by Git OBS Bridge
parent fa1f16b5a3
commit aa6356a3f7

View File

@ -1,5 +1,5 @@
#
# spec file for package
# spec file for python-sh
#
# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
@ -24,7 +24,11 @@ Url: https://github.com/amoffat/sh
Group: Development/Languages/Python
Source0: https://github.com/amoffat/sh/archive/%{version}.tar.gz
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%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
BuildRequires: python-devel
BuildRequires: python-setuptools