From 30aced6e31a1498dc7b8654efd64430e829113a1a13e5a4281b67ea59c6b966c Mon Sep 17 00:00:00 2001 From: Pascal Bleser Date: Mon, 12 Dec 2011 09:01:57 +0000 Subject: [PATCH 1/2] remove %debug_package OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-GitPython?expand=0&rev=3 --- python-GitPython.spec | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/python-GitPython.spec b/python-GitPython.spec index e321167..be70ad9 100644 --- a/python-GitPython.spec +++ b/python-GitPython.spec @@ -11,11 +11,12 @@ # 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/ # + Name: python-GitPython Version: 0.3.2.RC1 Release: 0 From bc74e145c5ececbf5ed1ac1c14183a33f0911c68555347b70fb814c6799c40b4 Mon Sep 17 00:00:00 2001 From: Sascha Peilicke Date: Tue, 26 Jun 2012 09:56:48 +0000 Subject: [PATCH 2/2] - Spec file cleanup OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-GitPython?expand=0&rev=4 --- python-GitPython.changes | 5 +++++ python-GitPython.spec | 10 ++++------ 2 files changed, 9 insertions(+), 6 deletions(-) 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 be70ad9..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 @@ -16,7 +16,6 @@ # - Name: python-GitPython Version: 0.3.2.RC1 Release: 0 @@ -29,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.