- update to 1.14.2:
* Don't show unreadable copyfrom paths in 'svn log -v' (r1899227) * Fix -r option documentation for some svnadmin subcommands (r1896877) * Fix error message encoding when system() call fails (r1887641, r1890013) * Fix assertion failure in conflict resolver (r1892470, -471, -541) * Support multiple working copy formats (1.8-onward, 1.15) (issue #????) * Fix use-after-free of object-pools when running in httpd (issue #4880) * Add test coverage for CVE-2020-17525 (r1883838 et al) * Fix «make davautocheck» failure due to unbuilt dependency (r1891908) * Follow up to r1866587, r1866588: Unbreak a msgid. (r1887704) * swig-py: Fix double-free with cyclic garbage collector (r1889487) * swig-py: Skip some tests on Python2 if encoding is 'utf-8' (r1885199) * swig-py: Fix dependency of make copy-swig-py target (r1886708) * Document how the port number is passed to custom tunnels (r1889629) * tests: Include additional information in an error message (r1897449) * Fix an error message when running make davautocheck (r1892121) * Use the APR-1.4+ API for flushing file contents to disk (r1883355) * JavaHL: Fix RequestChannel_nativeRead_AfterException failure (r1898633) - split testsuite into _multibuild flavor to speedup dependent packages OBS-URL: https://build.opensuse.org/package/show/devel:tools:scm:svn/subversion?expand=0&rev=352
This commit is contained in:
parent
849a7b4ed5
commit
fc16e55b3e
3
_multibuild
Normal file
3
_multibuild
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
<multibuild>
|
||||||
|
<package>testsuite</package>
|
||||||
|
</multibuild>
|
@ -1,8 +1,8 @@
|
|||||||
diff --git a/build.conf b/build.conf
|
Index: subversion-1.14.2/build.conf
|
||||||
index 7631a61..f9551f0 100644
|
===================================================================
|
||||||
--- a/build.conf
|
--- subversion-1.14.2.orig/build.conf
|
||||||
+++ b/build.conf
|
+++ subversion-1.14.2/build.conf
|
||||||
@@ -805,15 +805,6 @@ msvc-force-static = yes
|
@@ -806,15 +806,6 @@ msvc-force-static = yes
|
||||||
|
|
||||||
# ----------------------------------------------------------------------------
|
# ----------------------------------------------------------------------------
|
||||||
# Tests for libsvn_fs_fs
|
# Tests for libsvn_fs_fs
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
diff --git a/subversion/bindings/javahl/native/SVNClient.cpp b/subversion/bindings/javahl/native/SVNClient.cpp
|
Index: subversion-1.14.2/subversion/bindings/javahl/native/SVNClient.cpp
|
||||||
index 2c83f56..f1c8b02 100644
|
===================================================================
|
||||||
--- a/subversion/bindings/javahl/native/SVNClient.cpp
|
--- subversion-1.14.2.orig/subversion/bindings/javahl/native/SVNClient.cpp
|
||||||
+++ b/subversion/bindings/javahl/native/SVNClient.cpp
|
+++ subversion-1.14.2/subversion/bindings/javahl/native/SVNClient.cpp
|
||||||
@@ -77,10 +77,13 @@
|
@@ -77,10 +77,13 @@
|
||||||
#include "private/svn_subr_private.h"
|
#include "private/svn_subr_private.h"
|
||||||
#include "svn_private_config.h"
|
#include "svn_private_config.h"
|
||||||
|
@ -1,6 +1,8 @@
|
|||||||
--- subversion-1.10.2/Makefile.in 2018-02-16 05:00:12.000000000 +0100
|
Index: subversion-1.14.2/Makefile.in
|
||||||
+++ subversion-1.10.2/Makefile.in 2018-09-11 10:55:03.062316623 +0200
|
===================================================================
|
||||||
@@ -721,7 +721,6 @@
|
--- subversion-1.14.2.orig/Makefile.in
|
||||||
|
+++ subversion-1.14.2/Makefile.in
|
||||||
|
@@ -738,7 +738,6 @@ doc-api: mkdir-init
|
||||||
doc-javahl:
|
doc-javahl:
|
||||||
$(JAVADOC) -d $(abs_builddir)/doc/javadoc \
|
$(JAVADOC) -d $(abs_builddir)/doc/javadoc \
|
||||||
-sourcepath $(top_srcdir)/subversion/bindings/javahl/src \
|
-sourcepath $(top_srcdir)/subversion/bindings/javahl/src \
|
||||||
|
@ -12,11 +12,11 @@ patch by David Kimdon <dwhedon@debian.org>. The basic theory is:
|
|||||||
build/generator/gen_base.py | 3 ++-
|
build/generator/gen_base.py | 3 ++-
|
||||||
3 files changed, 11 insertions(+), 8 deletions(-)
|
3 files changed, 11 insertions(+), 8 deletions(-)
|
||||||
|
|
||||||
Index: subversion-1.12.0/Makefile.in
|
Index: subversion-1.14.2/Makefile.in
|
||||||
===================================================================
|
===================================================================
|
||||||
--- subversion-1.12.0.orig/Makefile.in
|
--- subversion-1.14.2.orig/Makefile.in
|
||||||
+++ subversion-1.12.0/Makefile.in
|
+++ subversion-1.14.2/Makefile.in
|
||||||
@@ -268,10 +268,10 @@ TEST_SHLIB_VAR_SWIG_RB=\
|
@@ -272,10 +272,10 @@ TEST_SHLIB_VAR_SWIG_RB=\
|
||||||
COMPILE_SVNXX = $(LT_COMPILE_CXX) $(SVNXX_INCLUDES) -o $@ -c
|
COMPILE_SVNXX = $(LT_COMPILE_CXX) $(SVNXX_INCLUDES) -o $@ -c
|
||||||
COMPILE_SVNXX_TEST = $(LT_COMPILE_CXX) $(SVNXX_INCLUDES) $(BOOST_TEST_CPPFLAGS) -o $@ -c
|
COMPILE_SVNXX_TEST = $(LT_COMPILE_CXX) $(SVNXX_INCLUDES) $(BOOST_TEST_CPPFLAGS) -o $@ -c
|
||||||
|
|
||||||
@ -31,7 +31,7 @@ Index: subversion-1.12.0/Makefile.in
|
|||||||
LINK_SVNXX_TEST = $(LINK_CXX) $(BOOST_TEST_LDFLAGS)
|
LINK_SVNXX_TEST = $(LINK_CXX) $(BOOST_TEST_LDFLAGS)
|
||||||
|
|
||||||
# special link rule for mod_dav_svn
|
# special link rule for mod_dav_svn
|
||||||
@@ -876,7 +876,9 @@ $(SWIG_PL_DIR)/native/Makefile.PL: $(SWI
|
@@ -880,7 +880,9 @@ $(SWIG_PL_DIR)/native/Makefile.PL: $(SWI
|
||||||
./config.status subversion/bindings/swig/perl/native/Makefile.PL
|
./config.status subversion/bindings/swig/perl/native/Makefile.PL
|
||||||
|
|
||||||
$(SWIG_PL_DIR)/native/Makefile: libsvn_swig_perl $(SWIG_PL_DIR)/native/Makefile.PL
|
$(SWIG_PL_DIR)/native/Makefile: libsvn_swig_perl $(SWIG_PL_DIR)/native/Makefile.PL
|
||||||
@ -42,11 +42,11 @@ Index: subversion-1.12.0/Makefile.in
|
|||||||
|
|
||||||
# There is a "readlink -f" command on some systems for the same purpose,
|
# There is a "readlink -f" command on some systems for the same purpose,
|
||||||
# but it's not as portable (e.g. Mac OS X doesn't have it). These should
|
# but it's not as portable (e.g. Mac OS X doesn't have it). These should
|
||||||
Index: subversion-1.12.0/build.conf
|
Index: subversion-1.14.2/build.conf
|
||||||
===================================================================
|
===================================================================
|
||||||
--- subversion-1.12.0.orig/build.conf
|
--- subversion-1.14.2.orig/build.conf
|
||||||
+++ subversion-1.12.0/build.conf
|
+++ subversion-1.14.2/build.conf
|
||||||
@@ -572,7 +572,7 @@ lang = python
|
@@ -573,7 +573,7 @@ lang = python
|
||||||
path = subversion/bindings/swig/python/libsvn_swig_py
|
path = subversion/bindings/swig/python/libsvn_swig_py
|
||||||
libs = libsvn_client libsvn_wc libsvn_ra libsvn_delta libsvn_subr
|
libs = libsvn_client libsvn_wc libsvn_ra libsvn_delta libsvn_subr
|
||||||
apriconv apr python swig
|
apriconv apr python swig
|
||||||
@ -55,7 +55,7 @@ Index: subversion-1.12.0/build.conf
|
|||||||
install = swig-py-lib
|
install = swig-py-lib
|
||||||
# need special build rule to include -DSWIGPYTHON
|
# need special build rule to include -DSWIGPYTHON
|
||||||
compile-cmd = $(COMPILE_SWIG_PY)
|
compile-cmd = $(COMPILE_SWIG_PY)
|
||||||
@@ -598,7 +598,7 @@ type = swig_lib
|
@@ -599,7 +599,7 @@ type = swig_lib
|
||||||
lang = ruby
|
lang = ruby
|
||||||
path = subversion/bindings/swig/ruby/libsvn_swig_ruby
|
path = subversion/bindings/swig/ruby/libsvn_swig_ruby
|
||||||
libs = libsvn_client libsvn_wc libsvn_delta libsvn_subr apriconv apr ruby swig
|
libs = libsvn_client libsvn_wc libsvn_delta libsvn_subr apriconv apr ruby swig
|
||||||
@ -64,10 +64,10 @@ Index: subversion-1.12.0/build.conf
|
|||||||
install = swig-rb-lib
|
install = swig-rb-lib
|
||||||
# need special build rule to include
|
# need special build rule to include
|
||||||
compile-cmd = $(COMPILE_SWIG_RB)
|
compile-cmd = $(COMPILE_SWIG_RB)
|
||||||
Index: subversion-1.12.0/build/generator/gen_base.py
|
Index: subversion-1.14.2/build/generator/gen_base.py
|
||||||
===================================================================
|
===================================================================
|
||||||
--- subversion-1.12.0.orig/build/generator/gen_base.py
|
--- subversion-1.14.2.orig/build/generator/gen_base.py
|
||||||
+++ subversion-1.12.0/build/generator/gen_base.py
|
+++ subversion-1.14.2/build/generator/gen_base.py
|
||||||
@@ -599,7 +599,7 @@ class TargetLinked(Target):
|
@@ -599,7 +599,7 @@ class TargetLinked(Target):
|
||||||
self.install = options.get('install')
|
self.install = options.get('install')
|
||||||
self.compile_cmd = options.get('compile-cmd')
|
self.compile_cmd = options.get('compile-cmd')
|
||||||
|
@ -2,7 +2,7 @@ Index: Makefile.in
|
|||||||
===================================================================
|
===================================================================
|
||||||
--- Makefile.in.orig
|
--- Makefile.in.orig
|
||||||
+++ Makefile.in
|
+++ Makefile.in
|
||||||
@@ -860,7 +860,7 @@ clean-swig-headers:
|
@@ -876,7 +876,7 @@ clean-swig-headers:
|
||||||
extraclean-swig-headers: clean-swig-headers
|
extraclean-swig-headers: clean-swig-headers
|
||||||
$(EXTRACLEAN_SWIG_HEADERS)
|
$(EXTRACLEAN_SWIG_HEADERS)
|
||||||
|
|
||||||
|
@ -1,8 +1,8 @@
|
|||||||
Index: subversion-1.10.0-alpha2/Makefile.in
|
Index: subversion-1.14.2/Makefile.in
|
||||||
===================================================================
|
===================================================================
|
||||||
--- subversion-1.10.0-alpha2.orig/Makefile.in 2017-02-24 15:57:25.605638431 +0100
|
--- subversion-1.14.2.orig/Makefile.in
|
||||||
+++ subversion-1.10.0-alpha2/Makefile.in 2017-02-24 15:57:25.617638527 +0100
|
+++ subversion-1.14.2/Makefile.in
|
||||||
@@ -865,7 +865,7 @@ swig-pl: $(swig-pl_DEPS)
|
@@ -898,7 +898,7 @@ swig-pl: autogen-swig-pl $(SWIG_PL_DIR)/
|
||||||
fi; \
|
fi; \
|
||||||
done; \
|
done; \
|
||||||
fi
|
fi
|
||||||
@ -11,10 +11,10 @@ Index: subversion-1.10.0-alpha2/Makefile.in
|
|||||||
|
|
||||||
check-swig-pl: swig-pl swig-pl-lib
|
check-swig-pl: swig-pl swig-pl-lib
|
||||||
cd $(SWIG_PL_DIR)/native; $(MAKE) test
|
cd $(SWIG_PL_DIR)/native; $(MAKE) test
|
||||||
Index: subversion-1.10.0-alpha2/subversion/bindings/swig/perl/native/Makefile.PL.in
|
Index: subversion-1.14.2/subversion/bindings/swig/perl/native/Makefile.PL.in
|
||||||
===================================================================
|
===================================================================
|
||||||
--- subversion-1.10.0-alpha2.orig/subversion/bindings/swig/perl/native/Makefile.PL.in 2017-02-24 15:57:25.561638078 +0100
|
--- subversion-1.14.2.orig/subversion/bindings/swig/perl/native/Makefile.PL.in
|
||||||
+++ subversion-1.10.0-alpha2/subversion/bindings/swig/perl/native/Makefile.PL.in 2017-02-24 15:57:25.617638527 +0100
|
+++ subversion-1.14.2/subversion/bindings/swig/perl/native/Makefile.PL.in
|
||||||
@@ -85,7 +85,7 @@ my %config = (
|
@@ -85,7 +85,7 @@ my %config = (
|
||||||
" -I$svnlib_builddir",
|
" -I$svnlib_builddir",
|
||||||
" -I$swig_srcdir -g"),
|
" -I$swig_srcdir -g"),
|
||||||
|
@ -1,6 +1,8 @@
|
|||||||
--- a/Makefile.in
|
Index: subversion-1.14.2/Makefile.in
|
||||||
+++ b/Makefile.in
|
===================================================================
|
||||||
@@ -91,7 +91,7 @@ swig_rbdir = $(SWIG_RB_SITE_ARCH_DIR)/sv
|
--- subversion-1.14.2.orig/Makefile.in
|
||||||
|
+++ subversion-1.14.2/Makefile.in
|
||||||
|
@@ -96,7 +96,7 @@ swig_rbdir = $(SWIG_RB_SITE_ARCH_DIR)/sv
|
||||||
toolsdir = @bindir@/svn-tools
|
toolsdir = @bindir@/svn-tools
|
||||||
|
|
||||||
# where to install pkg-config files
|
# where to install pkg-config files
|
||||||
|
@ -4,9 +4,11 @@ e.g. -Wformat-security might break.
|
|||||||
|
|
||||||
https://bugzilla.redhat.com/show_bug.cgi?id=1037341
|
https://bugzilla.redhat.com/show_bug.cgi?id=1037341
|
||||||
|
|
||||||
--- subversion-1.8.5/subversion/bindings/swig/perl/native/Makefile.PL.in.swigplWall
|
Index: subversion-1.14.2/subversion/bindings/swig/perl/native/Makefile.PL.in
|
||||||
+++ subversion-1.8.5/subversion/bindings/swig/perl/native/Makefile.PL.in
|
===================================================================
|
||||||
@@ -54,7 +54,6 @@ my $includes = ' -I/usr/include/apr-1
|
--- subversion-1.14.2.orig/subversion/bindings/swig/perl/native/Makefile.PL.in
|
||||||
|
+++ subversion-1.14.2/subversion/bindings/swig/perl/native/Makefile.PL.in
|
||||||
|
@@ -61,7 +61,6 @@ chomp($cflags);
|
||||||
# SWIG is using C++ style comments in an extern "C" code.
|
# SWIG is using C++ style comments in an extern "C" code.
|
||||||
$cflags =~ s/-ansi\s+//g;
|
$cflags =~ s/-ansi\s+//g;
|
||||||
$cflags =~ s/-std=c89\s+//g;
|
$cflags =~ s/-std=c89\s+//g;
|
||||||
|
@ -1,11 +1,11 @@
|
|||||||
Makefile.in | 2 +-
|
Makefile.in | 2 +-
|
||||||
1 file changed, 1 insertion(+), 1 deletion(-)
|
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||||
|
|
||||||
Index: subversion-1.8.0-rc2/Makefile.in
|
Index: subversion-1.14.2/Makefile.in
|
||||||
===================================================================
|
===================================================================
|
||||||
--- subversion-1.8.0-rc2.orig/Makefile.in 2013-05-14 20:24:53.000000000 +0100
|
--- subversion-1.14.2.orig/Makefile.in
|
||||||
+++ subversion-1.8.0-rc2/Makefile.in 2013-05-14 20:24:54.000000000 +0100
|
+++ subversion-1.14.2/Makefile.in
|
||||||
@@ -780,7 +780,7 @@ check-swig-pl: swig-pl swig-pl-lib
|
@@ -902,7 +902,7 @@ check-swig-pl: swig-pl swig-pl-lib
|
||||||
cd $(SWIG_PL_DIR)/native; $(MAKE) test
|
cd $(SWIG_PL_DIR)/native; $(MAKE) test
|
||||||
|
|
||||||
install-swig-pl: swig-pl install-swig-pl-lib
|
install-swig-pl: swig-pl install-swig-pl-lib
|
||||||
|
@ -1,3 +1,8 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed Apr 13 20:55:36 UTC 2022 - Dirk Müller <dmueller@suse.com>
|
||||||
|
|
||||||
|
- split testsuite into _multibuild flavor to speedup dependent packages
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Tue Apr 12 18:26:25 UTC 2022 - Andreas Stieger <andreas.stieger@gmx.de>
|
Tue Apr 12 18:26:25 UTC 2022 - Andreas Stieger <andreas.stieger@gmx.de>
|
||||||
|
|
||||||
|
@ -2,11 +2,11 @@
|
|||||||
Makefile.in | 4 ++--
|
Makefile.in | 4 ++--
|
||||||
1 file changed, 2 insertions(+), 2 deletions(-)
|
1 file changed, 2 insertions(+), 2 deletions(-)
|
||||||
|
|
||||||
Index: subversion-nightly/Makefile.in
|
Index: subversion-1.14.2/Makefile.in
|
||||||
===================================================================
|
===================================================================
|
||||||
--- subversion-nightly.orig/Makefile.in 2013-03-15 12:21:46.000000000 +0000
|
--- subversion-1.14.2.orig/Makefile.in
|
||||||
+++ subversion-nightly/Makefile.in 2013-03-17 20:02:04.000000000 +0000
|
+++ subversion-1.14.2/Makefile.in
|
||||||
@@ -112,8 +112,8 @@ EXEEXT = @EXEEXT@
|
@@ -124,8 +124,8 @@ EXEEXT = @EXEEXT@
|
||||||
|
|
||||||
SHELL = @SHELL@
|
SHELL = @SHELL@
|
||||||
LIBTOOL = @SVN_LIBTOOL@
|
LIBTOOL = @SVN_LIBTOOL@
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
#
|
#
|
||||||
# spec file for package subversion
|
# spec file
|
||||||
#
|
#
|
||||||
# Copyright (c) 2022 SUSE LLC
|
# Copyright (c) 2022 SUSE LLC
|
||||||
# Copyright (c) 2009-2010 Pascal Bleser <pascal.bleser@opensuse.org>
|
# Copyright (c) 2009-2010 Pascal Bleser <pascal.bleser@opensuse.org>
|
||||||
@ -33,13 +33,21 @@
|
|||||||
%bcond_without kde
|
%bcond_without kde
|
||||||
%bcond_with python_ctypes
|
%bcond_with python_ctypes
|
||||||
%bcond_with all_regression_tests
|
%bcond_with all_regression_tests
|
||||||
Name: subversion
|
%global flavor @BUILD_FLAVOR@%{nil}
|
||||||
|
|
||||||
|
%if "%{flavor}" == "testsuite"
|
||||||
|
%global psuffix -testsuite
|
||||||
|
%else
|
||||||
|
%global psuffix %{nil}
|
||||||
|
%endif
|
||||||
|
|
||||||
|
Name: subversion%{psuffix}
|
||||||
Version: 1.14.2
|
Version: 1.14.2
|
||||||
Release: 0
|
Release: 0
|
||||||
Summary: Subversion version control system
|
Summary: Subversion version control system
|
||||||
License: Apache-2.0
|
License: Apache-2.0
|
||||||
URL: https://subversion.apache.org
|
URL: https://subversion.apache.org
|
||||||
Source0: https://www.apache.org/dist/subversion/%{name}-%{version}.tar.bz2
|
Source0: https://www.apache.org/dist/subversion/subversion-%{version}.tar.bz2
|
||||||
Source1: subversion.conf
|
Source1: subversion.conf
|
||||||
Source2: subversion.README.SUSE
|
Source2: subversion.README.SUSE
|
||||||
Source4: contrib-1804739.tar.bz2
|
Source4: contrib-1804739.tar.bz2
|
||||||
@ -49,9 +57,9 @@ Source15: svnserve.tmpfiles
|
|||||||
Source16: svn.sysusers
|
Source16: svn.sysusers
|
||||||
Source42: subversion.svngrep.sh
|
Source42: subversion.svngrep.sh
|
||||||
Source43: subversion.svndiff.sh
|
Source43: subversion.svndiff.sh
|
||||||
Source50: https://www.apache.org/dist/subversion/subversion-%{version}.KEYS#/%{name}.keyring
|
Source50: https://www.apache.org/dist/subversion/subversion-%{version}.KEYS#/subversion.keyring
|
||||||
Source51: https://www.apache.org/dist/subversion/%{name}-%{version}.tar.bz2.asc
|
Source51: https://www.apache.org/dist/subversion/subversion-%{version}.tar.bz2.asc
|
||||||
Source92: %{name}-rpmlintrc
|
Source92: subversion-rpmlintrc
|
||||||
Patch0: subversion-pkgconfig.patch
|
Patch0: subversion-pkgconfig.patch
|
||||||
Patch1: subversion-1.10.2-javadoc.patch
|
Patch1: subversion-1.10.2-javadoc.patch
|
||||||
Patch11: subversion.libtool-verbose.patch
|
Patch11: subversion.libtool-verbose.patch
|
||||||
@ -103,7 +111,7 @@ BuildConflicts: pkgconfig(liblz4) = 124
|
|||||||
Requires: libsqlite3-0 >= %{sqlite_minimum_version}
|
Requires: libsqlite3-0 >= %{sqlite_minimum_version}
|
||||||
Requires(post): %fillup_prereq
|
Requires(post): %fillup_prereq
|
||||||
%sysusers_requires
|
%sysusers_requires
|
||||||
Recommends: %{name}-bash-completion
|
Recommends: subversion-bash-completion
|
||||||
# workaround for boo#969159
|
# workaround for boo#969159
|
||||||
Conflicts: libsvn_auth_kwallet-1-0 < %{version}
|
Conflicts: libsvn_auth_kwallet-1-0 < %{version}
|
||||||
Conflicts: libsvn_auth_kwallet-1-0 > %{version}
|
Conflicts: libsvn_auth_kwallet-1-0 > %{version}
|
||||||
@ -206,7 +214,7 @@ to the Apache directories and configuration.
|
|||||||
%if %{with kde}
|
%if %{with kde}
|
||||||
%package -n libsvn_auth_kwallet-1-0
|
%package -n libsvn_auth_kwallet-1-0
|
||||||
Summary: KWallet support for Subversion
|
Summary: KWallet support for Subversion
|
||||||
Requires: %{name} = %{version}
|
Requires: subversion = %{version}
|
||||||
Supplements: (subversion and kdebase4-workspace)
|
Supplements: (subversion and kdebase4-workspace)
|
||||||
Supplements: (subversion and plasma5-workspace)
|
Supplements: (subversion and plasma5-workspace)
|
||||||
|
|
||||||
@ -217,7 +225,7 @@ Provides KWallet integration for Subversion
|
|||||||
%if %{with gnome}
|
%if %{with gnome}
|
||||||
%package -n libsvn_auth_gnome_keyring-1-0
|
%package -n libsvn_auth_gnome_keyring-1-0
|
||||||
Summary: GNOME keyring sypport for Subversion
|
Summary: GNOME keyring sypport for Subversion
|
||||||
Requires: %{name} = %{version}
|
Requires: subversion = %{version}
|
||||||
Supplements: (subversion and gnome-session)
|
Supplements: (subversion and gnome-session)
|
||||||
|
|
||||||
%description -n libsvn_auth_gnome_keyring-1-0
|
%description -n libsvn_auth_gnome_keyring-1-0
|
||||||
@ -225,17 +233,17 @@ Provides GNOME keyring support for Subversion
|
|||||||
%endif
|
%endif
|
||||||
|
|
||||||
%package bash-completion
|
%package bash-completion
|
||||||
Summary: Bash Completion for %{name}
|
Summary: Bash Completion for subversion
|
||||||
Requires: %{name} = %{version}
|
|
||||||
Requires: bash-completion
|
Requires: bash-completion
|
||||||
|
Requires: subversion = %{version}
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
|
|
||||||
%description bash-completion
|
%description bash-completion
|
||||||
Bash command line completion support for %{name} - completion of subcommands,
|
Bash command line completion support for subversion - completion of subcommands,
|
||||||
parameters and keywords for the svn command and other tools.
|
parameters and keywords for the svn command and other tools.
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q -a 4
|
%setup -q -a 4 -n subversion-%{version}
|
||||||
%patch0 -p1
|
%patch0 -p1
|
||||||
%patch1 -p1
|
%patch1 -p1
|
||||||
%patch11 -p1
|
%patch11 -p1
|
||||||
@ -254,7 +262,7 @@ parameters and keywords for the svn command and other tools.
|
|||||||
sed -i -e 's#%{_bindir}/env python#%{_bindir}/python3#' subversion/tests/cmdline/*.py
|
sed -i -e 's#%{_bindir}/env python#%{_bindir}/python3#' subversion/tests/cmdline/*.py
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%sysusers_generate_pre %{SOURCE16} %{name} system-user-svn.conf
|
%sysusers_generate_pre %{SOURCE16} subversion system-user-svn.conf
|
||||||
# Re-boot strap, needed for patch37
|
# Re-boot strap, needed for patch37
|
||||||
PATH=%{_prefix}/bin:$PATH ./autogen.sh --release
|
PATH=%{_prefix}/bin:$PATH ./autogen.sh --release
|
||||||
|
|
||||||
@ -330,6 +338,7 @@ export LDFLAGS="-pie"
|
|||||||
%make_build -j1 JAVAC_FLAGS=" -encoding iso8859-1" javahl doc-javahl
|
%make_build -j1 JAVAC_FLAGS=" -encoding iso8859-1" javahl doc-javahl
|
||||||
|
|
||||||
%install
|
%install
|
||||||
|
%if "%{flavor}" != "testsuite"
|
||||||
%make_install
|
%make_install
|
||||||
make DESTDIR=%{buildroot} install-swig-py install-swig-pl install-javahl install-swig-rb
|
make DESTDIR=%{buildroot} install-swig-py install-swig-pl install-javahl install-swig-rb
|
||||||
%if %{with python_ctypes}
|
%if %{with python_ctypes}
|
||||||
@ -340,7 +349,7 @@ find "%{buildroot}%{python_sitelib}/csvn/" -name "*.pyc" | xargs rm -f
|
|||||||
%endif
|
%endif
|
||||||
|
|
||||||
%perl_process_packlist
|
%perl_process_packlist
|
||||||
%find_lang %{name}
|
%find_lang subversion
|
||||||
|
|
||||||
cp -Lav %{SOURCE42} %{buildroot}%{_bindir}/svngrep
|
cp -Lav %{SOURCE42} %{buildroot}%{_bindir}/svngrep
|
||||||
cp -Lav %{SOURCE43} %{buildroot}%{_bindir}/svndiff
|
cp -Lav %{SOURCE43} %{buildroot}%{_bindir}/svndiff
|
||||||
@ -356,7 +365,7 @@ cp -av %{SOURCE1} %{buildroot}/%{apache_sysconfdir}/conf.d/subversion.conf
|
|||||||
|
|
||||||
cp -avL %{SOURCE2} README.SUSE
|
cp -avL %{SOURCE2} README.SUSE
|
||||||
cp -avL subversion/mod_authz_svn/INSTALL README.mod_authz_svn
|
cp -avL subversion/mod_authz_svn/INSTALL README.mod_authz_svn
|
||||||
cat %{name}.lang > files.subversion
|
cat subversion.lang > files.subversion
|
||||||
cat with_jdk.files >> files.subversion
|
cat with_jdk.files >> files.subversion
|
||||||
|
|
||||||
# tools
|
# tools
|
||||||
@ -396,12 +405,12 @@ install -d -m 0755 %{buildroot}/%{_datadir}/java
|
|||||||
ln -sv %{_libdir}/svn-javahl/svn-javahl.jar %{buildroot}/%{_datadir}/java/svn-javahl.jar
|
ln -sv %{_libdir}/svn-javahl/svn-javahl.jar %{buildroot}/%{_datadir}/java/svn-javahl.jar
|
||||||
rm -f %{buildroot}%{_localstatedir}/adm/perl-modules/subversion
|
rm -f %{buildroot}%{_localstatedir}/adm/perl-modules/subversion
|
||||||
|
|
||||||
install -D -m0644 tools/client-side/bash_completion %{buildroot}%{_datadir}/bash-completion/completions/%{name}
|
install -D -m0644 tools/client-side/bash_completion %{buildroot}%{_datadir}/bash-completion/completions/subversion
|
||||||
|
|
||||||
# examples
|
# examples
|
||||||
mkdir -p %{buildroot}%{_docdir}/%{name}
|
mkdir -p %{buildroot}%{_docdir}/subversion
|
||||||
cp -r tools/hook-scripts tools/backup tools/bdb tools/examples tools/xslt %{buildroot}%{_docdir}/%{name}
|
cp -r tools/hook-scripts tools/backup tools/bdb tools/examples tools/xslt %{buildroot}%{_docdir}/subversion
|
||||||
find %{buildroot}%{_docdir}/%{name} -type f -print0 | xargs -0 chmod 644
|
find %{buildroot}%{_docdir}/subversion -type f -print0 | xargs -0 chmod 644
|
||||||
|
|
||||||
# clean tools for doc
|
# clean tools for doc
|
||||||
rm -rf tools/*/*.in
|
rm -rf tools/*/*.in
|
||||||
@ -409,7 +418,9 @@ rm -rf doc/doxygen/html/installdox
|
|||||||
|
|
||||||
# sysusers
|
# sysusers
|
||||||
install -Dm0644 %{SOURCE16} %{buildroot}%{_sysusersdir}/system-user-svn.conf
|
install -Dm0644 %{SOURCE16} %{buildroot}%{_sysusersdir}/system-user-svn.conf
|
||||||
|
%endif
|
||||||
|
|
||||||
|
%if "%{flavor}" == "testsuite"
|
||||||
%check
|
%check
|
||||||
export LANG=C LC_ALL=C
|
export LANG=C LC_ALL=C
|
||||||
|
|
||||||
@ -433,7 +444,9 @@ ln -s /dev/shm/svn-test-work subversion/tests/cmdline/
|
|||||||
%make_build davautocheck CLEANUP=true FS_TYPE=bdb || (cat fails.log; exit 1)
|
%make_build davautocheck CLEANUP=true FS_TYPE=bdb || (cat fails.log; exit 1)
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
%pre -f %{name}.pre
|
%else
|
||||||
|
|
||||||
|
%pre -f subversion.pre
|
||||||
%service_add_pre svnserve.service
|
%service_add_pre svnserve.service
|
||||||
|
|
||||||
%preun
|
%preun
|
||||||
@ -469,8 +482,8 @@ systemd-tmpfiles --create %{_tmpfilesdir}/svnserve.conf
|
|||||||
%files -f files.subversion
|
%files -f files.subversion
|
||||||
%license LICENSE
|
%license LICENSE
|
||||||
%doc README.SUSE BUGS CHANGES README.mod_authz_svn
|
%doc README.SUSE BUGS CHANGES README.mod_authz_svn
|
||||||
%dir %{_docdir}/%{name}/*
|
%dir %{_docdir}/subversion/*
|
||||||
%{_docdir}/%{name}
|
%{_docdir}/subversion
|
||||||
%{_sbindir}/rcsvnserve
|
%{_sbindir}/rcsvnserve
|
||||||
%{_fillupdir}/sysconfig.svnserve
|
%{_fillupdir}/sysconfig.svnserve
|
||||||
%dir %attr(755,%{svnuser},%{svngroup}) /srv/svn
|
%dir %attr(755,%{svnuser},%{svngroup}) /srv/svn
|
||||||
@ -566,6 +579,7 @@ systemd-tmpfiles --create %{_tmpfilesdir}/svnserve.conf
|
|||||||
%endif
|
%endif
|
||||||
|
|
||||||
%files bash-completion
|
%files bash-completion
|
||||||
%{_datadir}/bash-completion/completions/%{name}
|
%{_datadir}/bash-completion/completions/subversion
|
||||||
|
%endif
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
Loading…
x
Reference in New Issue
Block a user