diff --git a/python-GitPython.changes b/python-GitPython.changes index 1a4bdb4..92467a6 100644 --- a/python-GitPython.changes +++ b/python-GitPython.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Tue Jun 26 09:55:59 UTC 2012 - saschpe@suse.de + +- Spec file cleanup + ------------------------------------------------------------------- Wed Jul 6 20:34:02 UTC 2011 - alexandre@exatati.com.br diff --git a/python-GitPython.spec b/python-GitPython.spec index e321167..4a52c49 100644 --- a/python-GitPython.spec +++ b/python-GitPython.spec @@ -1,7 +1,7 @@ # # spec file for package python-GitPython # -# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -11,7 +11,7 @@ # case the license is the MIT License). An "Open Source License" is a # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. -# + # Please submit bugfixes or comments via http://bugs.opensuse.org/ # @@ -28,13 +28,12 @@ BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRequires: python-devel BuildRequires: python-distribute Requires: python-gitdb -%if 0%{?suse_version} +%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()")} %py_requires -%if 0%{?suse_version} > 1110 +%else BuildArch: noarch %endif -%endif -%{!?python_sitelib: %global python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")} %description GitPython is a python library used to interact with Git repositories.