forked from pool/python-GitPython
Accepting request 305557 from home:benoit_monin:branches:devel:languages:python
- update to version 1.0.1 - update project URL - point the source URL to pypi - set a minimum version for python-gitdb and add it to BuildRequires to validate dependencies at build time. - add python-ordereddict as dependency for SLE11 (python 2.6) - remove outdated py_requires OBS-URL: https://build.opensuse.org/request/show/305557 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-GitPython?expand=0&rev=8
This commit is contained in:
committed by
Git OBS Bridge
parent
fbf525a940
commit
a12ce2cbe2
@@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package python-GitPython
|
||||
#
|
||||
# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
||||
# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany.
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
@@ -17,21 +17,23 @@
|
||||
|
||||
|
||||
Name: python-GitPython
|
||||
Version: 0.3.2.RC1
|
||||
Version: 1.0.1
|
||||
Release: 0
|
||||
Url: http://gitorious.org/projects/git-python/
|
||||
Url: https://github.com/gitpython-developers/GitPython
|
||||
Summary: Python Git Library
|
||||
License: BSD-3-Clause
|
||||
Group: Development/Languages/Python
|
||||
Source: GitPython-%{version}.tar.gz
|
||||
Source: https://pypi.python.org/packages/source/G/GitPython/GitPython-%{version}.tar.gz
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
BuildRequires: python-devel
|
||||
BuildRequires: python-gitdb >= 0.6.4
|
||||
BuildRequires: python-setuptools
|
||||
Requires: git-core
|
||||
Requires: python-gitdb
|
||||
Requires: python-gitdb >= 0.6.4
|
||||
%if 0%{?suse_version} && 0%{?suse_version} <= 1110
|
||||
BuildRequires: python-ordereddict
|
||||
Requires: python-ordereddict
|
||||
%{!?python_sitelib: %global python_sitelib %(python -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")}
|
||||
%py_requires
|
||||
%else
|
||||
BuildArch: noarch
|
||||
%endif
|
||||
|
||||
Reference in New Issue
Block a user