public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/subversion] rawhide: - rebase to 1.15.0 (#2547577)
@ 2026-10-16  7:58 Joe Orton
  0 siblings, 0 replies; only message in thread
From: Joe Orton @ 2026-10-16  7:58 UTC (permalink / raw)
  To: git-commits

A new commit has been pushed.

Repo   : rpms/subversion
Branch : rawhide
Commit : 8b4ccaba3e580f541f8a5a1b98702694744df401
Author : Joe Orton <jorton@redhat.com>
Date   : 2026-10-16T08:58:09+01:00
Stats  : +176/-518 in 15 file(s)
URL    : https://src.fedoraproject.org/rpms/subversion/c/8b4ccaba3e580f541f8a5a1b98702694744df401?branch=rawhide

Log:
- rebase to 1.15.0 (#2547577)

---
diff --git a/sources b/sources
index f50165c..ffa6e60 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-SHA512 (subversion-1.14.5.tar.bz2) = e4800564d0cc68be98f19aa58d89181de83f237f0ccff10824d9237f8c65eb0071f7176ac54e9e8f8ecbf685849bd3e94be48f678f4c23ed6a5fd7fb6edd0321
+SHA512 (subversion-1.15.0.tar.bz2) = 6bb79686baab7176e9b6c519b23141f66694298c0759d1e12332fef329eaa632e4f2e65c75ae0cd05e48e16c23d7eda7c59b322bdf03707e1a46025673282ec2

diff --git a/subversion-1.12.0-linking.patch b/subversion-1.12.0-linking.patch
deleted file mode 100644
index f3dcacc..0000000
--- a/subversion-1.12.0-linking.patch
+++ /dev/null
@@ -1,84 +0,0 @@
-
-Fix the way libtool is used to match standard practice:
-
-a) link ONLY libraries using -rpath $(libdir), not executables
-   .. this avoids adding an RPATH for $libdir to executables
-b) link non-installable test binaries using -no-install
-   .. only for convenience but should speed up builds slightly(?)
-
---- subversion-1.12.0/build.conf.linking
-+++ subversion-1.12.0/build.conf
-@@ -572,7 +572,7 @@
- path = subversion/bindings/swig/python/libsvn_swig_py
- libs = libsvn_client libsvn_wc libsvn_ra libsvn_delta libsvn_subr
-        apriconv apr python swig
--link-cmd = $(LINK)
-+link-cmd = $(LINK_LIB)
- install = swig-py-lib
- # need special build rule to include -DSWIGPYTHON
- compile-cmd = $(COMPILE_SWIG_PY)
-@@ -598,7 +598,7 @@
- lang = ruby
- path = subversion/bindings/swig/ruby/libsvn_swig_ruby
- libs = libsvn_client libsvn_wc libsvn_delta libsvn_subr apriconv apr ruby swig
--link-cmd = $(LINK) $(SWIG_RB_LIBS)
-+link-cmd = $(LINK_LIB) $(SWIG_RB_LIBS)
- install = swig-rb-lib
- # need special build rule to include
- compile-cmd = $(COMPILE_SWIG_RB)
-@@ -769,6 +769,7 @@
- libs = libsvn_repos libsvn_fs libsvn_delta libsvn_subr aprutil apriconv apr
- msvc-static = yes
- undefined-lib-symbols = yes
-+link-cmd = $(LINK_TEST_LIB)
- 
- # ----------------------------------------------------------------------------
- # Tests for libsvn_fs_base
---- subversion-1.12.0/build/generator/gen_base.py.linking
-+++ subversion-1.12.0/build/generator/gen_base.py
-@@ -599,7 +599,7 @@
-     self.install = options.get('install')
-     self.compile_cmd = options.get('compile-cmd')
-     self.sources = options.get('sources', '*.c *.cpp')
--    self.link_cmd = options.get('link-cmd', '$(LINK)')
-+    self.link_cmd = options.get('link-cmd', '$(LINK_LIB)')
- 
-     self.external_lib = options.get('external-lib')
-     self.external_project = options.get('external-project')
-@@ -659,6 +659,14 @@
- 
-     self.msvc_force_static = options.get('msvc-force-static') == 'yes'
- 
-+    if self.install in ['test', 'bdb-test', 'sub-test', ]:
-+      self.link_cmd = '$(LINK_TEST)'
-+    elif self.install in ['bin', 'tools']:
-+      self.link_cmd = '$(LINK_EXE)'
-+    elif self.link_cmd == '$(LINK_LIB)':
-+      raise GenError('ERROR: Unknown executable link type for ' + self.name + \
-+                     ': ' + self.link_cmd + ' (' + self.install + ')')
-+    
-   def add_dependencies(self):
-     TargetLinked.add_dependencies(self)
- 
---- subversion-1.12.0/Makefile.in.linking
-+++ subversion-1.12.0/Makefile.in
-@@ -268,11 +268,14 @@
- COMPILE_SVNXX = $(LT_COMPILE_CXX) $(SVNXX_INCLUDES) -o $@ -c
- COMPILE_SVNXX_TEST = $(LT_COMPILE_CXX) $(SVNXX_INCLUDES) $(BOOST_TEST_CPPFLAGS) -o $@ -c
- 
--LINK = $(LIBTOOL) $(LTFLAGS) --mode=link $(CC) $(LT_LDFLAGS) $(CFLAGS) $(LDFLAGS) -rpath $(libdir)
--LINK_LIB = $(LINK) $(LT_SO_VERSION)
--LINK_CXX = $(LIBTOOL) $(LTCXXFLAGS) --mode=link $(CXX) $(LT_LDFLAGS) $(CXXFLAGS) $(LDFLAGS) -rpath $(libdir)
--LINK_CXX_LIB = $(LINK_CXX) $(LT_SO_VERSION)
--LINK_SVNXX_TEST = $(LINK_CXX) $(BOOST_TEST_LDFLAGS)
-+LINK = $(LIBTOOL) $(LTFLAGS) --mode=link $(CC) $(LT_LDFLAGS) $(CFLAGS) $(LDFLAGS)
-+LINK_LIB = $(LINK) $(LT_SO_VERSION) -rpath $(libdir)
-+LINK_CXX = $(LIBTOOL) $(LTCXXFLAGS) --mode=link $(CXX) $(LT_LDFLAGS) $(CXXFLAGS) $(LDFLAGS)
-+LINK_CXX_LIB = $(LINK_CXX) $(LT_SO_VERSION) -rpath $(libdir)
-+LINK_SVNXX_TEST = $(LINK_CXX) $(BOOST_TEST_LDFLAGS) -no-install
-+LINK_TEST = $(LINK) -no-install
-+LINK_TEST_LIB = $(LINK_TEST) -avoid-version
-+LINK_EXE = $(LINK)
- 
- # special link rule for mod_dav_svn
- LINK_APACHE_MOD = $(LIBTOOL) $(LTFLAGS) --mode=link $(CC) $(LT_LDFLAGS) $(CFLAGS) $(LDFLAGS) -rpath $(APACHE_LIBEXECDIR) -avoid-version -module $(APACHE_LDFLAGS) -shared

diff --git a/subversion-1.14.1-fixjavatests.patch b/subversion-1.14.1-fixjavatests.patch
deleted file mode 100644
index 166caed..0000000
--- a/subversion-1.14.1-fixjavatests.patch
+++ /dev/null
@@ -1,32 +0,0 @@
-
-See upstream dev@subversion thread.  Fixes intermittent failure of
-javahl tests, particularly reproducible on aarch64.
-
-Message-ID: <11de5f5c-5059-b973-95a1-385e7913a63a@syntevo.com>
-From: Alexandr Miloslavskiy
-
-Merged upstream https://github.com/apache/subversion/commit/451c1f3436af8e88c004f87381313cf65a29750d
-
---- subversion-1.14.1/subversion/bindings/javahl/tests/org/apache/subversion/javahl/BasicTests.java.fixjavatests
-+++ subversion-1.14.1/subversion/bindings/javahl/tests/org/apache/subversion/javahl/BasicTests.java
-@@ -4676,7 +4676,19 @@
-             // RuntimeException("Test exception") is expected here
-         }
- 
--        tunnelAgent.joinAndTest();
-+        // In this test, there is a race condition that sometimes results in
-+        // IOException when 'WAIT_TUNNEL' tries to read from a pipe that
-+        // already has its read end closed. This is not an error, but
-+        // it's hard to distinguish this case from other IOException which
-+        // indicate a problem. To reproduce, simply wrap this test's body in
-+        // a loop. The workaround is to ignore any detected IOException.
-+        //
-+        // tunnelAgent.joinAndTest();
-+        try {
-+            tunnelAgent.join();
-+        } catch (InterruptedException e) {
-+            e.printStackTrace ();
-+        }
-     }
- 
-     /**

diff --git a/subversion-1.14.1-testnomagic.patch b/subversion-1.14.1-testnomagic.patch
deleted file mode 100644
index ff13e1a..0000000
--- a/subversion-1.14.1-testnomagic.patch
+++ /dev/null
@@ -1,14 +0,0 @@
-
-Fix intermittent failures when "svn add" guesses a near-empty file is binary and hence
-the output is different.
-
---- subversion-1.14.1/subversion/tests/cmdline/svntest/main.py.testnoautoprops
-+++ subversion-1.14.1/subversion/tests/cmdline/svntest/main.py
-@@ -691,6 +691,7 @@
- 
- [miscellany]
- interactive-conflicts = false
-+enable-magic-file = no
- """
-     if exclusive_wc_locks:
-       config_contents += """

diff --git a/subversion-1.14.2-modsyms.patch b/subversion-1.14.2-modsyms.patch
deleted file mode 100644
index 0953265..0000000
--- a/subversion-1.14.2-modsyms.patch
+++ /dev/null
@@ -1,24 +0,0 @@
-
-Don't expose private symbols for the Apache modules DSO.
-
---- subversion-1.14.2/build/generator/gen_base.py.modsyms
-+++ subversion-1.14.2/build/generator/gen_base.py
-@@ -727,13 +727,17 @@
-   def __init__(self, name, options, gen_obj):
-     TargetLib.__init__(self, name, options, gen_obj)
- 
-+    if name[:4] != "mod_":
-+      raise Exception("Apache module targets must be named mod_*")
-+
-     tfile = name + self.gen_obj._extension_map['lib', 'target']
-     self.filename = build_path_join(self.path, tfile)
- 
-+    modsyms = name[4:] + '_[^_].*'
-     # we have a custom linking rule
-     ### hmm. this is Makefile-specific
-     self.compile_cmd = '$(COMPILE_APACHE_MOD)'
--    self.link_cmd = '$(LINK_APACHE_MOD)'
-+    self.link_cmd = '$(LINK_APACHE_MOD) -export-symbols-regex ' + modsyms
- 
- class TargetSharedOnlyLib(TargetLib):
- 

diff --git a/subversion-1.14.2-soversion.patch b/subversion-1.14.2-soversion.patch
deleted file mode 100644
index 8131b52..0000000
--- a/subversion-1.14.2-soversion.patch
+++ /dev/null
@@ -1,25 +0,0 @@
-
-Subversion libraries don't get properly versioned so the library
-names are always "libsvn_foo-1.so.0.0.0". Provide proper 
-versioning information to libtool *without* changing the soname
-for compatibility with upstream, so on-disk filenames are
-unique across different releases.
-
-Merged upstream https://github.com/apache/subversion/commit/d62023db7f5a9bc2c581f6acd40ee9ae98e082c4
-
---- subversion-1.14.2/configure.ac.soversion
-+++ subversion-1.14.2/configure.ac
-@@ -112,7 +112,12 @@
-   SVN_APR_MAJOR_VERSION=1
- fi
- AC_SUBST(SVN_APR_MAJOR_VERSION)
--SVN_LT_SOVERSION="-version-info $svn_lib_ver"
-+
-+m4_define([svn_ver_minor], m4_bpatsubst(AC_PACKAGE_VERSION, [[0-9]*\.\([0-9]*\)\.[0-9]*], [\1]))
-+m4_define([svn_ver_patch], m4_bpatsubst(AC_PACKAGE_VERSION, [[0-9]*\.[0-9]*\.\([0-9]*\)], [\1]))
-+svn_ver_current="`expr $svn_lib_ver + svn_ver_minor`"
-+
-+SVN_LT_SOVERSION="-version-info $svn_ver_current:svn_ver_patch:svn_ver_minor"
- AC_SUBST(SVN_LT_SOVERSION)
- AC_DEFINE_UNQUOTED(SVN_SOVERSION, $svn_lib_ver,
-                    [Subversion library major verson])

diff --git a/subversion-1.14.5-davgetpath.patch b/subversion-1.14.5-davgetpath.patch
deleted file mode 100644
index 3d7234a..0000000
--- a/subversion-1.14.5-davgetpath.patch
+++ /dev/null
@@ -1,30 +0,0 @@
-Merged upstream https://github.com/apache/subversion/commit/1a7310fe38e049d228731d17690dc3c4455ea28b
-
---- a/subversion/mod_dav_svn/mod_dav_svn.c
-+++ b/subversion/mod_dav_svn/mod_dav_svn.c
-@@ -781,6 +781,15 @@ const char *
- dav_svn__get_root_dir(request_rec *r)
- {
-   dir_conf_t *conf;
-+#if AP_MODULE_MAGIC_AT_LEAST(20120211, 139)
-+  const char *base;
-+
-+  /* Inherit the root path from mod_dav's DavBasePath iff configured
-+     where e.g. LocationMatch is used for the repos. */
-+  base = dav_get_base_path(r);
-+  if (base)
-+    return base;
-+#endif
- 
-   conf = ap_get_module_config(r->per_dir_config, &dav_svn_module);
-   return conf->root_dir;
-@@ -1225,7 +1234,7 @@ static int dav_svn__translate_name(request_rec *r)
-   else
-     {
-       /* Retrieve path to repo and within repo for the request */
--      dav_error *err = dav_svn_split_uri(r, r->uri, conf->root_dir,
-+      dav_error *err = dav_svn_split_uri(r, r->uri, dav_svn__get_root_dir(r),
-                                          &ignore_cleaned_uri,
-                                          &ignore_had_slash, &repos_basename,
-                                          &ignore_relative_path, &repos_path);
-

diff --git a/subversion-1.14.5-progenv.patch b/subversion-1.14.5-progenv.patch
deleted file mode 100644
index e7c5c46..0000000
--- a/subversion-1.14.5-progenv.patch
+++ /dev/null
@@ -1,21 +0,0 @@
-
-ra-test execution of svnserve (a libtool wrapper script) fails
-with package notes enabled since LDFLAGS depend on $RPM_ARCH etc
-being set in the environment, which is empty.
-
-This switches the execution of svnserve to inheriting the
-build environment.
-
-https://github.com/apache/subversion/pull/25
-
---- subversion-1.14.5/subversion/tests/libsvn_ra/ra-test.c.progenv	2020-03-25 09:54:07.000000000 +0000
-+++ subversion-1.14.5/subversion/tests/libsvn_ra/ra-test.c	2024-12-13 08:53:20.268424556 +0000
-@@ -242,7 +242,7 @@ open_tunnel(svn_stream_t **request, svn_
-   if (status == APR_SUCCESS)
-     status = apr_procattr_io_set(attr, 1, 1, 0);
-   if (status == APR_SUCCESS)
--    status = apr_procattr_cmdtype_set(attr, APR_PROGRAM);
-+    status = apr_procattr_cmdtype_set(attr, APR_PROGRAM_ENV);
-   proc = apr_palloc(pool, sizeof(*proc));
-   if (status == APR_SUCCESS)
-     status = apr_proc_create(proc,

diff --git a/subversion-1.14.5-python314.patch b/subversion-1.14.5-python314.patch
deleted file mode 100644
index 0efaa15..0000000
--- a/subversion-1.14.5-python314.patch
+++ /dev/null
@@ -1,234 +0,0 @@
-
-Skip refcount-counting tests for Python 3.14. See:
-https://lists.apache.org/thread/vpg0ttrm5p51c8sfpry15mz2zff8h8o8
-
---- subversion-1.14.5/subversion/bindings/swig/python/tests/mergeinfo.py.10
-+++ subversion-1.14.5/subversion/bindings/swig/python/tests/mergeinfo.py
-@@ -18,7 +18,7 @@
- # under the License.
- #
- #
--import unittest, os, sys, gc
-+import unittest, os, sys, weakref, gc
- from svn import core, repos, fs
- import utils
- 
-@@ -125,6 +125,9 @@
-       }
-     self.compare_mergeinfo_catalogs(mergeinfo, expected_mergeinfo)
- 
-+  @unittest.skipIf(utils.HAS_DEFERRED_REFCOUNT,
-+                   "Reference counting tests skipped because of deferred "
-+                   "reference counting")
-   def test_mergeinfo_leakage__incorrect_range_t_refcounts(self):
-     """Ensure that the ref counts on svn_merge_range_t objects returned by
-        svn_mergeinfo_parse() are correct."""
-@@ -138,7 +141,8 @@
-         # ....and now 3 (incref during iteration of each range object)
- 
-         refcount = sys.getrefcount(r)
--        # ....and finally, 4 (getrefcount() also increfs)
-+        # ....and finally, 4 (getrefcount() also increfs, unless deferred 
-+        #                     reference counting)
-         expected = 4
- 
-         # Note: if path and index are not '/trunk' and 0 respectively, then
-@@ -150,8 +154,49 @@
-           "cause: incorrect Py_INCREF/Py_DECREF usage in libsvn_swig_py/"
-           "swigutil_py.c." % (expected, refcount, path, i)))
- 
-+  def test_mergeinfo_leakage__incorrect_range_t_weakrefs(self):
-+    """Ensure that the ref counts on svn_merge_range_t objects returned by
-+       svn_mergeinfo_parse() are correct."""
-+    # When reference counting is working properly, each svn_merge_range_t in
-+    # the returned mergeinfo will have a ref count of 1...
-+    mergeinfo = core.svn_mergeinfo_parse(self.TEXT_MERGEINFO1)
-+    merge_range_refdict = weakref.WeakValueDictionary()
-+    merge_range_indexes = []
-+    n_merge_range = 0 
-+    for (path, rangelist) in core._as_list(mergeinfo.items()):
-+      # ....and now 2 (incref during iteration of rangelist)
-+
-+      for (i, r) in enumerate(rangelist):
-+        # ....and now 3 (incref during iteration of each range object)
-+
-+        idx = (path, i)
-+        merge_range_refdict[idx] = r
-+        merge_range_indexes.append(idx) 
-+        n_merge_range += 1
-+
-+        # Note: if path and index are not '/trunk' and 0 respectively, then
-+        # only some of the range objects are leaking, which is, as far as
-+        # leaks go, even more impressive.
-+
-+    del rangelist, r
-+    gc.collect()
-+    # Now (strong) reference count of all svn_merge_range_t should be 1
-+    # again and those objects should not be removed yet.
-+    for idx in merge_range_indexes:
-+      self.assertIn(idx, merge_range_refdict, (
-+          "Refarence count error on svn_merge_info_t object for "
-+          "(path: %s, index: %d). It should still exists because "
-+          "mergeinfo holds its reference, but after GC, it already "
-+          "removed." % idx))
-     del mergeinfo
-     gc.collect()
-+    if merge_range_refdict:
-+      # certainly memory leak, but we want to listing up leaked objects
-+      # before raise an assertion error.  
-+      self.assertFalse(merge_range_refdict,
-+         "Memory leak! All svn_merge_range_t object holded "
-+         "by mergeinfo object should be removed, but at least "
-+         "one object still alive.")
- 
-   def test_mergeinfo_leakage__lingering_range_t_objects_after_del(self):
-     """Ensure that there are no svn_merge_range_t objects being tracked by
-@@ -162,6 +207,9 @@
-        objects will be garbage collected and thus, not appear in the list of
-        objects returned by gc.get_objects()."""
-     mergeinfo = core.svn_mergeinfo_parse(self.TEXT_MERGEINFO1)
-+    lingering = get_svn_merge_range_t_objects()
-+    self.assertNotEqual(lingering, list())
-+    del lingering
-     del mergeinfo
-     gc.collect()
-     lingering = get_svn_merge_range_t_objects()
---- subversion-1.14.5/subversion/bindings/swig/python/tests/repository.py.10
-+++ subversion-1.14.5/subversion/bindings/swig/python/tests/repository.py
-@@ -87,15 +87,32 @@
- 
- class BatonCollector(repos.ChangeCollector):
-   """A ChangeCollector with collecting batons, too"""
-+
-   def __init__(self, fs_ptr, root, pool=None, notify_cb=None):
-+
-+    def get_expected_baton_refcount():
-+      """determine expected refcount of batons within a batoun_tuple,
-+         by using dumy object"""
-+      self.open_root(-1, None)
-+      for baton_tuple in self.batons: 
-+        rc = sys.getrefcount(baton_tuple[2])
-+        break
-+      return rc
-+    
-     repos.ChangeCollector.__init__(self, fs_ptr, root, pool, notify_cb)
--    self.batons = []
-     self.close_called = False
-     self.abort_called = False
-+    # temporary values for get_expected_baton_refcount
-+    self.batons = []
-+    self.expected_baton_refcount = 0
-+    # determin expected_baton_refcount
-+    self.expected_baton_refcount = get_expected_baton_refcount()
-+    # re-initialize the values after calling get_expected_baton_refcount()
-+    self.batons = []
- 
-   def open_root(self, base_revision, dir_pool=None):
-     bt = repos.ChangeCollector.open_root(self, base_revision, dir_pool)
--    self.batons.append((b'dir baton', b'', bt, sys.getrefcount(bt)))
-+    self.batons.append((b'dir baton', b'', bt, self.expected_baton_refcount))
-     return bt
- 
-   def add_directory(self, path, parent_baton,
-@@ -104,14 +121,14 @@
-                                              copyfrom_path,
-                                              copyfrom_revision,
-                                              dir_pool)
--    self.batons.append((b'dir baton', path, bt, sys.getrefcount(bt)))
-+    self.batons.append((b'dir baton', path, bt, self.expected_baton_refcount))
-     return bt
- 
-   def open_directory(self, path, parent_baton, base_revision,
-                      dir_pool=None):
-     bt = repos.ChangeCollector.open_directory(self, path, parent_baton,
-                                               base_revision, dir_pool)
--    self.batons.append((b'dir baton', path, bt, sys.getrefcount(bt)))
-+    self.batons.append((b'dir baton', path, bt, self.expected_baton_refcount))
-     return bt
- 
-   def add_file(self, path, parent_baton,
-@@ -119,13 +136,13 @@
-     bt = repos.ChangeCollector.add_file(self, path, parent_baton,
-                                         copyfrom_path, copyfrom_revision,
-                                         file_pool)
--    self.batons.append((b'file baton', path, bt, sys.getrefcount(bt)))
-+    self.batons.append((b'file baton', path, bt, self.expected_baton_refcount))
-     return bt
- 
-   def open_file(self, path, parent_baton, base_revision, file_pool=None):
-     bt = repos.ChangeCollector.open_file(self, path, parent_baton,
-                                          base_revision, file_pool)
--    self.batons.append((b'file baton', path, bt, sys.getrefcount(bt)))
-+    self.batons.append((b'file baton', path, bt, self.expected_baton_refcount))
-     return bt
- 
-   def close_edit(self, pool=None):
-@@ -138,7 +155,7 @@
- 
- class BatonCollectorErrorOnClose(BatonCollector):
-   """Same as BatonCollector, but raises an Exception when close the
--     file/dir specfied by error_path"""
-+     file/dir specified by error_path"""
-   def __init__(self, fs_ptr, root, pool=None, notify_cb=None, error_path=b''):
-     BatonCollector.__init__(self, fs_ptr, root, pool, notify_cb)
-     self.error_path = error_path
-@@ -429,29 +446,33 @@
-     root = fs.revision_root(self.fs, self.rev)
-     editor = BatonCollector(self.fs, root)
-     e_ptr, e_baton = delta.make_editor(editor)
-+    refcount_at_first = sys.getrefcount(e_ptr)
-     repos.replay(root, e_ptr, e_baton)
--    for baton in editor.batons:
--      self.assertEqual(sys.getrefcount(baton[2]), 2,
-+    for baton_tuple in editor.batons:
-+      # baton_tuple: 4-tuple(baton_type: bytes, node: bytes, bt: baton,
-+      #                      expected_refcount_of_bt: int)
-+      self.assertEqual(sys.getrefcount(baton_tuple[2]), baton_tuple[3],
-                        "leak on baton %s after replay without errors"
--                       % repr(baton))
-+                       % repr(baton_tuple))
-     del e_baton
--    self.assertEqual(sys.getrefcount(e_ptr), 2,
-+    self.assertEqual(sys.getrefcount(e_ptr), refcount_at_first,
-                      "leak on editor baton after replay without errors")
- 
-     editor = BatonCollectorErrorOnClose(self.fs, root,
-                                         error_path=b'branches/v1x')
-     e_ptr, e_baton = delta.make_editor(editor)
-+    refcount_at_first = sys.getrefcount(e_ptr)
-     self.assertRaises(SubversionException, repos.replay, root, e_ptr, e_baton)
-     batons = editor.batons
-     # As svn_repos_replay calls neither close_edit callback nor abort_edit
--    # if an error has occured during processing, references of Python objects
--    # in decendant batons may live until e_baton is deleted.
-+    # if an error has occurred during processing, references of Python objects
-+    # in descendant batons may live until e_baton is deleted.
-     del e_baton
--    for baton in batons:
--      self.assertEqual(sys.getrefcount(baton[2]), 2,
-+    for baton_tuple in batons:
-+      self.assertEqual(sys.getrefcount(baton_tuple[2]), baton_tuple[3],
-                        "leak on baton %s after replay with an error"
--                       % repr(baton))
--    self.assertEqual(sys.getrefcount(e_ptr), 2,
-+                       % repr(baton_tuple))
-+    self.assertEqual(sys.getrefcount(e_ptr), refcount_at_first,
-                      "leak on editor baton after replay with an error")
- 
-   def test_delta_editor_apply_textdelta_handler_refcount(self):
---- subversion-1.14.5/subversion/bindings/swig/python/tests/utils.py.10
-+++ subversion-1.14.5/subversion/bindings/swig/python/tests/utils.py
-@@ -95,3 +95,13 @@
- 
- def is_defaultencoding_utf8():
-   return codecs_eq(sys.getdefaultencoding(), 'utf-8')
-+
-+def get_holded_refcount_by_getrefcount():
-+  "get refcount holded by sys.getrefcount() if its arg is a local variable"
-+  a = []
-+  rv = sys.getrefcount(a) - 1
-+  return rv
-+
-+HAS_DEFERRED_REFCOUNT = not get_holded_refcount_by_getrefcount()
-+
-+del get_holded_refcount_by_getrefcount

diff --git a/subversion-1.14.5-r1929560.patch b/subversion-1.14.5-r1929560.patch
deleted file mode 100644
index d7fdc0e..0000000
--- a/subversion-1.14.5-r1929560.patch
+++ /dev/null
@@ -1,14 +0,0 @@
-# ./pullrev.sh 1929560
-http://svn.apache.org/viewvc?view=revision&revision=1929560
-
---- subversion-1.14.5/subversion/bindings/swig/include/svn_types.swg
-+++ subversion-1.14.5/subversion/bindings/swig/include/svn_types.swg
-@@ -656,7 +656,7 @@
- %typemap(in, noblock=1) apr_pool_t * {
-   /* Verify that the user supplied a valid pool */
-   if ($input != Py_None && $input != _global_py_pool) {
--    SWIG_Python_TypeError(SWIG_TypePrettyName($descriptor), $input);
-+    SWIG_Error(SWIG_TypeError,  "a '$type' is expected");
-     SWIG_arg_fail($svn_argnum);
-     SWIG_fail;
-   }

diff --git a/subversion-1.15.0-linking.patch b/subversion-1.15.0-linking.patch
new file mode 100644
index 0000000..a59ebc9
--- /dev/null
+++ b/subversion-1.15.0-linking.patch
@@ -0,0 +1,104 @@
+
+Fix various build problems:
+* don't use -rpath $(libdir) for executables
+* use -no-install when linking test binaries
+* use -avoid-version when linking test libraries
+* use -export-symbols-regex when building httpd modules
+
+--- subversion-1.15.0/build.conf.1
++++ subversion-1.15.0/build.conf
+@@ -597,7 +597,7 @@
+ path = subversion/bindings/swig/python/libsvn_swig_py
+ libs = libsvn_client libsvn_wc libsvn_ra libsvn_delta libsvn_subr
+        apriconv apr python swig
+-link-cmd = $(LINK)
++link-cmd = $(LINK_LIB)
+ install = swig-py-lib
+ # need special build rule to include -DSWIGPYTHON
+ compile-cmd = $(COMPILE_SWIG_PY)
+@@ -623,7 +623,7 @@
+ lang = ruby
+ path = subversion/bindings/swig/ruby/libsvn_swig_ruby
+ libs = libsvn_client libsvn_wc libsvn_delta libsvn_subr apriconv apr ruby swig
+-link-cmd = $(LINK) $(SWIG_RB_LIBS)
++link-cmd = $(LINK_LIB) $(SWIG_RB_LIBS)
+ install = swig-rb-lib
+ # need special build rule to include
+ compile-cmd = $(COMPILE_SWIG_RB)
+@@ -802,6 +802,7 @@
+ libs = libsvn_repos libsvn_fs libsvn_delta libsvn_wc libsvn_subr aprutil apriconv apr
+ msvc-static = yes
+ undefined-lib-symbols = yes
++link-cmd = $(LINK_TEST_LIB)
+ 
+ # ----------------------------------------------------------------------------
+ # Tests for libsvn_fs_base
+--- subversion-1.15.0/build/generator/gen_base.py.1
++++ subversion-1.15.0/build/generator/gen_base.py
+@@ -599,7 +599,7 @@
+     self.install = options.get('install')
+     self.compile_cmd = options.get('compile-cmd')
+     self.sources = options.get('sources', '*.c *.cpp')
+-    self.link_cmd = options.get('link-cmd', '$(LINK)')
++    self.link_cmd = options.get('link-cmd', '$(LINK_LIB)')
+ 
+     self.external_lib = options.get('external-lib')
+     self.external_project = options.get('external-project')
+@@ -657,6 +657,16 @@
+     self.manpages = options.get('manpages', '')
+     self.testing = options.get('testing')
+ 
++    if self.install in ['bin', 'tools']:
++      self.link_cmd = '$(LINK_EXE)'
++    elif "link-cmd" not in options:
++      if self.install == "test" or self.install.endswith("-test") \
++         or self.install.endswith("-test"):
++        self.link_cmd = '$(LINK_TEST)'
++      else:
++        raise GenError('ERROR: Unknown executable type for ' + self.name + \
++                       ': ' + self.link_cmd + ' (' + self.install + ')')
++
+   def add_dependencies(self):
+     TargetLinked.add_dependencies(self)
+ 
+@@ -717,13 +727,17 @@
+   def __init__(self, name, options, gen_obj):
+     TargetLib.__init__(self, name, options, gen_obj)
+ 
++    if name[:4] != "mod_":
++      raise Exception("Apache module targets must be named mod_*")
++
+     tfile = name + self.gen_obj._extension_map['lib', 'target']
+     self.filename = build_path_join(self.path, tfile)
+ 
++    modsyms = name[4:] + '_[^_].*'
+     # we have a custom linking rule
+     ### hmm. this is Makefile-specific
+     self.compile_cmd = '$(COMPILE_APACHE_MOD)'
+-    self.link_cmd = '$(LINK_APACHE_MOD)'
++    self.link_cmd = '$(LINK_APACHE_MOD) -export-symbols-regex ' + modsyms
+ 
+ class TargetSharedOnlyLib(TargetLib):
+ 
+--- subversion-1.15.0/Makefile.in.1
++++ subversion-1.15.0/Makefile.in
+@@ -269,11 +269,14 @@
+ COMPILE_SVNXX = $(LT_COMPILE_CXX) $(SVNXX_INCLUDES) -o $@ -c
+ COMPILE_SVNXX_TEST = $(LT_COMPILE_CXX) $(SVNXX_INCLUDES) $(BOOST_TEST_CPPFLAGS) -o $@ -c
+ 
+-LINK = $(LIBTOOL) $(LTFLAGS) --mode=link $(CC) $(LT_LDFLAGS) $(CFLAGS) $(LDFLAGS) -rpath $(libdir)
+-LINK_LIB = $(LINK) $(LT_SO_VERSION)
+-LINK_CXX = $(LIBTOOL) $(LTCXXFLAGS) --mode=link $(CXX) $(LT_LDFLAGS) $(CXXFLAGS) $(LDFLAGS) -rpath $(libdir)
+-LINK_CXX_LIB = $(LINK_CXX) $(LT_SO_VERSION)
+-LINK_SVNXX_TEST = $(LINK_CXX) $(BOOST_TEST_LDFLAGS)
++LINK = $(LIBTOOL) $(LTFLAGS) --mode=link $(CC) $(LT_LDFLAGS) $(CFLAGS) $(LDFLAGS)
++LINK_LIB = $(LINK) $(LT_SO_VERSION) -rpath $(libdir)
++LINK_CXX = $(LIBTOOL) $(LTCXXFLAGS) --mode=link $(CXX) $(LT_LDFLAGS) $(CXXFLAGS) $(LDFLAGS)
++LINK_CXX_LIB = $(LINK_CXX) $(LT_SO_VERSION) -rpath $(libdir)
++LINK_SVNXX_TEST = $(LINK_CXX) $(BOOST_TEST_LDFLAGS) -no-install
++LINK_TEST = $(LINK) -no-install
++LINK_TEST_LIB = $(LINK_TEST) -avoid-version
++LINK_EXE = $(LINK)
+ 
+ # special link rule for mod_dav_svn
+ LINK_APACHE_MOD = $(LIBTOOL) $(LTFLAGS) --mode=link $(CC) $(LT_LDFLAGS) $(CFLAGS) $(LDFLAGS) -rpath $(APACHE_LIBEXECDIR) -avoid-version -module $(APACHE_LDFLAGS) -shared

diff --git a/subversion-1.15.0-soversion.patch b/subversion-1.15.0-soversion.patch
new file mode 100644
index 0000000..df48bf1
--- /dev/null
+++ b/subversion-1.15.0-soversion.patch
@@ -0,0 +1,53 @@
+From d62023db7f5a9bc2c581f6acd40ee9ae98e082c4 Mon Sep 17 00:00:00 2001
+From: Joe Orton <jorton@apache.org>
+Date: Fri, 23 Jan 2026 11:57:40 +0000
+Subject: [PATCH] * configure.ac: Pass complete library version information to
+ libtool   via $SVN_LT_SOVERSION, so library filenames are unique to each  
+ release rather than constant, while keeping the sonames intact.   This follow
+ standard/best-practice for libtool library versioning.   Closes #34.
+
+  Examples for SVN 1.14.5:
+   Filename before:          libsvn_subr-1.so.0.0.0
+   Filename after:           libsvn_subr-1.so.0.14.5
+   SONAME before and after:  libsvn_subr-1.so.0
+
+
+git-svn-id: https://svn.apache.org/repos/asf/subversion/trunk@1931484 13f79535-47bb-0310-9956-ffa450edef68
+---
+ configure.ac | 23 ++++++++++++++++++++++-
+ 1 file changed, 22 insertions(+), 1 deletion(-)
+
+diff --git a/configure.ac b/configure.ac
+index 0ff553174e1fb..bcf6d7b031367 100644
+--- a/configure.ac
++++ b/configure.ac
+@@ -218,7 +218,28 @@ else
+   SVN_APR_MAJOR_VERSION=1
+ fi
+ AC_SUBST(SVN_APR_MAJOR_VERSION)
+-SVN_LT_SOVERSION="-version-info $svn_lib_ver"
++
++# For libtool library versioning, follow the interface rules at:
++# https://www.gnu.org/software/libtool/manual/html_node/Libtool-versioning.html
++# for SVN <major>.<minor>.<patch>:
++#
++# 1. the oldest version supported is always 0 (or 2 for the above APR2
++# variant), corresponding to the ABI at <major>.0.0; changes to
++# <major> are reflected in the library names like "libsvn_subr-1.la"
++#
++# 2. the current version and age of the ABI both equal <minor>, since
++# SVN minor versions always maintain backwards-compatibility to
++# <major>.0; in the APR2 variant, the current version is 2+<minor>.
++#
++# 3. the revision is equal to the <patch> number.
++
++m4_define([svn_ver_major], m4_bpatsubst(AC_PACKAGE_VERSION, [\([0-9]*\)\.\([0-9]*\)\.\([0-9]*\)], [\1]))
++m4_define([svn_ver_minor], m4_bpatsubst(AC_PACKAGE_VERSION, [\([0-9]*\)\.\([0-9]*\)\.\([0-9]*\)], [\2]))
++m4_define([svn_ver_patch], m4_bpatsubst(AC_PACKAGE_VERSION, [\([0-9]*\)\.\([0-9]*\)\.\([0-9]*\)], [\3]))
++svn_ver_current="`expr $svn_lib_ver + svn_ver_minor`"
++
++SVN_LT_SOVERSION="-version-info $svn_ver_current:svn_ver_patch:svn_ver_minor"
++
+ AC_SUBST(SVN_LT_SOVERSION)
+ AC_DEFINE_UNQUOTED(SVN_SOVERSION, $svn_lib_ver,
+                    [Subversion library major version])

diff --git a/subversion-1.15.0-testnomagic.patch b/subversion-1.15.0-testnomagic.patch
new file mode 100644
index 0000000..e9a1137
--- /dev/null
+++ b/subversion-1.15.0-testnomagic.patch
@@ -0,0 +1,14 @@
+
+Fix intermittent failures when "svn add" guesses a near-empty file is binary and hence
+the output is different.
+
+--- subversion-1.15.0/subversion/tests/cmdline/svntest/main.py.6
++++ subversion-1.15.0/subversion/tests/cmdline/svntest/main.py
+@@ -708,6 +708,7 @@
+ 
+ [miscellany]
+ interactive-conflicts = false
++enable-magic-file = no
+ 
+ [working-copy]
+ """

diff --git a/subversion-ruby-c99.patch b/subversion-ruby-c99.patch
deleted file mode 100644
index bab7ed8..0000000
--- a/subversion-ruby-c99.patch
+++ /dev/null
@@ -1,27 +0,0 @@
-The Ruby bindings apply the Ruby NIL_P macro to an apr_hash_t * value,
-which some compilers flag as a type error.
-
-Submitted upstream: <https://issues.apache.org/jira/browse/SVN-4915>
-
-diff --git a/subversion/bindings/swig/include/svn_containers.swg b/subversion/bindings/swig/include/svn_containers.swg
-index d3c6305a412b6505..47bc50a92bb8b433 100644
---- a/subversion/bindings/swig/include/svn_containers.swg
-+++ b/subversion/bindings/swig/include/svn_containers.swg
-@@ -299,7 +299,7 @@
-   $1 = svn_swig_rb_hash_to_apr_hash_svn_string($input, _global_pool);
-   _global_pool = NULL;
-   if (!NIL_P(rb_pool)) {
--    if (NIL_P($1)) {
-+    if ($1 == NULL) {
-       svn_swig_rb_destroy_pool(rb_pool);
-     } else {
-       svn_swig_rb_set_pool_for_no_swig_type($input, rb_pool);
-@@ -373,7 +373,7 @@
-     svn_swig_rb_hash_to_apr_hash_string($input, _global_pool);
-   _global_pool = NULL;
-   if (!NIL_P(rb_pool)) {
--    if (NIL_P($1)) {
-+    if ($1 == NULL) {
-       svn_swig_rb_destroy_pool(rb_pool);
-     } else {
-       svn_swig_rb_set_pool_for_no_swig_type($input, rb_pool);

diff --git a/subversion.spec b/subversion.spec
index 65b973b..7f7ec40 100644
--- a/subversion.spec
+++ b/subversion.spec
@@ -41,7 +41,7 @@
 
 Summary: A Modern Concurrent Version Control System
 Name: subversion
-Version: 1.14.5
+Version: 1.15.0
 Release: %autorelease
 License: Apache-2.0
 URL: https://subversion.apache.org/
@@ -53,22 +53,14 @@ Source5: psvn-init.el
 Source6: svnserve.service
 Source7: svnserve.tmpfiles
 Source8: svnserve.sysconf
-Patch1: subversion-1.12.0-linking.patch
+Patch1: subversion-1.15.0-linking.patch
 Patch2: subversion-1.14.0-testwarn.patch
-Patch3: subversion-1.14.2-soversion.patch
+Patch3: subversion-1.15.0-soversion.patch
 Patch4: subversion-1.8.0-rubybind.patch
 Patch5: subversion-1.8.5-swigplWall.patch
-Patch6: subversion-1.14.1-testnomagic.patch
-Patch7: subversion-1.14.2-modsyms.patch
+Patch6: subversion-1.15.0-testnomagic.patch
 # https://bugzilla.redhat.com/show_bug.cgi?id=2255746
 Patch8: subversion-1.14.3-zlib-ng.patch
-Patch9: subversion-1.14.5-progenv.patch
-# Fix tests with Python 3.14, https://github.com/apache/subversion/pull/30
-Patch10: subversion-1.14.5-python314.patch
-# https://github.com/apache/subversion/pull/28
-Patch11: subversion-1.14.5-davgetpath.patch
-# https://bugzilla.redhat.com/show_bug.cgi?id=2405291
-Patch12: subversion-1.14.5-r1929560.patch
 BuildRequires: make
 BuildRequires: libxcrypt-devel
 BuildRequires: autoconf, libtool, texinfo, which, gcc, gcc-c++

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2026-10-16  7:58 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-10-16  7:58 [rpms/subversion] rawhide: - rebase to 1.15.0 (#2547577) Joe Orton

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox