14
0
forked from pool/python-pysvn

Accepting request 331883 from home:AndreasStieger:branches:devel:languages:python

update to 1.8.0, fixing Factory build with Subversion 1.9.x

OBS-URL: https://build.opensuse.org/request/show/331883
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pysvn?expand=0&rev=34
This commit is contained in:
Denisart Benjamin
2015-09-18 09:40:36 +00:00
committed by Git OBS Bridge
parent 465fed18d8
commit 3fc5fca425
4 changed files with 22 additions and 9 deletions

View File

@@ -1,7 +1,7 @@
#
# spec file for package python-pysvn
#
# 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
@@ -16,8 +16,11 @@
#
%if 0%{?suse_version} && 0%{?suse_version} <= 1110
%{!?python_sitearch: %global python_sitearch %(python -c "from distutils.sysconfig import get_python_lib; print get_python_lib(1)")}
%endif
Name: python-pysvn
Version: 1.7.8
Version: 1.8.0
Release: 0
Summary: Highlevel Subversion Python Bindings
License: Apache-1.1
@@ -38,9 +41,6 @@ BuildRequires: subversion-devel
Requires: neon
Requires: subversion
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%if 0%{?suse_version} && 0%{?suse_version} <= 1110
%{!?python_sitearch: %global python_sitearch %(python -c "from distutils.sysconfig import get_python_lib; print get_python_lib(1)")}
%endif
%description
pysvn is a highlevel and easy to use Python bindings to Subversion. The pysvn
@@ -58,7 +58,7 @@ Features:
%prep
%setup -q -n pysvn-%{version}
%patch0 -p0
%patch0
# patch in rpm compiler flags
sed -i 's/CCFLAGS=-Wall/CCFLAGS=$(RPM_OPT_FLAGS) -Wall -Wno-deprecated/g' Source/setup_configure.py
@@ -76,6 +76,7 @@ rm -f Docs/generate_cpp_docs_from_html_docs.py
#some of these tests (test-01.unix) are way too fragile to operate properly
#over a certain amount of different svn versions, as the compare output strings
%check
cd Tests
make %{?_smp_mflags} || true