14
0
forked from pool/python-pysvn

Accepting request 185441 from devel:languages:python

How about this:

- update to 1.7.7
  * no degestible changelog provided from upstream (forwarded request 185428 from frispete)

OBS-URL: https://build.opensuse.org/request/show/185441
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-pysvn?expand=0&rev=21
This commit is contained in:
Stephan Kulow
2013-08-01 14:02:23 +00:00
committed by Git OBS Bridge
5 changed files with 17 additions and 34 deletions

View File

@@ -1,22 +0,0 @@
Index: Source/setup_configure.py
===================================================================
--- Source/setup_configure.py (revision 1471)
+++ Source/setup_configure.py (revision 1472)
@@ -873,7 +873,7 @@
rules.append( '%s : %s' % (target_filename, ' '.join( all_objects )) )
rules.append( '\t@echo Link %s' % (target_filename,) )
- rules.append( '\t@%%(LDSHARED)s -o %s %%(CCCFLAGS)s %s' % (target_filename, ' '.join( all_objects )) )
+ rules.append( '\t@%%(LDSHARED)s -o %s %%(CCCFLAGS)s %s %%(LDLIBS)s' % (target_filename, ' '.join( all_objects )) )
self.makePrint( self.expand( '\n'.join( rules ) ) )
@@ -1154,7 +1154,7 @@
self._addVar( 'CCCFLAGS', ' '.join( py_cflags_list ) )
self._addVar( 'LDLIBS', ' '.join( self._getLdLibs() ) )
- self._addVar( 'LDSHARED', '%(CCC)s -shared -g %(LDLIBS)s' )
+ self._addVar( 'LDSHARED', '%(CCC)s -shared -g' )
#--------------------------------------------------------------------------------
class LinuxCompilerGCC(UnixCompilerGCC):

View File

@@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:47252408a1b18add18634395108737eaca77d12fbb22e5f187280b9e074c8b73
size 331549

3
pysvn-1.7.7.tar.gz Normal file
View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:2f088e57df77c3779fc0060dab6d65b8f965a098beeaee91e45eb6b54c4d92cb
size 331956

View File

@@ -1,3 +1,9 @@
-------------------------------------------------------------------
Wed Jul 31 15:10:02 UTC 2013 - hpj@urpla.net
- update to 1.7.7
* no degestible changelog provided from upstream
-------------------------------------------------------------------
Thu Nov 22 11:17:40 UTC 2012 - robert.munteanu@gmail.com

View File

@@ -17,7 +17,7 @@
Name: python-pysvn
Version: 1.7.6
Version: 1.7.7
Release: 0
Summary: Highlevel Subversion Python Bindings
License: Apache-1.1
@@ -25,9 +25,9 @@ Group: Development/Libraries/Python
Url: http://pysvn.tigris.org
Source0: http://pysvn.barrys-emacs.org/source_kits/pysvn-%{version}.tar.gz
Patch0: bnc445431_pysvn_svnenv.cpp.diff
Patch1: bnc780243_fix_build_script.diff
BuildRequires: gcc
BuildRequires: gcc-c++
BuildRequires: libapr1-devel
BuildRequires: libcom_err-devel
BuildRequires: libcom_err2
BuildRequires: libexpat-devel
@@ -35,7 +35,6 @@ BuildRequires: neon-devel
BuildRequires: python-devel
BuildRequires: python-xml
BuildRequires: subversion-devel
BuildRequires: pkgconfig(apr-1)
Requires: neon
Requires: subversion
BuildRoot: %{_tmppath}/%{name}-%{version}-build
@@ -60,15 +59,13 @@ Features:
%prep
%setup -q -n pysvn-%{version}
%patch0 -p0
%patch1 -p0
# patch in rpm compiler flags
sed -i 's/CCFLAGS=-Wall/CCFLAGS=$(RPM_OPT_FLAGS) -Wall -Wno-deprecated/g' Source/setup_configure.py
%build
cd Source
python setup.py backport
python setup.py configure
# --norpath
python setup.py configure --enable-debug --norpath
make %{?_smp_mflags}
%install
@@ -77,9 +74,11 @@ cp Source/pysvn/{__init__.py,_pysvn*.so} %{buildroot}/%{python_sitearch}/pysvn
%py_compile %{buildroot}/%{python_sitearch}/pysvn
rm -f Docs/generate_cpp_docs_from_html_docs.py
#%%check
#cd Tests
#make %{?_smp_mflags}
#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
%files
%defattr(-,root,root)