Enable tests; Revert one of Ruby 2.2 fixes
This commit is contained in:
parent
a8b52ca121
commit
ae530f1de4
13
subversion-1.9.4-ruby22-fixes.rb
Normal file
13
subversion-1.9.4-ruby22-fixes.rb
Normal file
@ -0,0 +1,13 @@
|
|||||||
|
Index: subversion/bindings/swig/ruby/test/test_repos.rb
|
||||||
|
===================================================================
|
||||||
|
--- subversion/bindings/swig/ruby/test/test_repos.rb (revision 1671099)
|
||||||
|
+++ subversion/bindings/swig/ruby/test/test_repos.rb (working copy)
|
||||||
|
@@ -679,7 +679,7 @@
|
||||||
|
dest_path = File.join(@tmp_path, "dest")
|
||||||
|
Svn::Repos.create(dest_path) do |repos|
|
||||||
|
assert_raises(NoMethodError) do
|
||||||
|
- repos.load_fs(nil)
|
||||||
|
+ repos.load_fs(Object.new)
|
||||||
|
end
|
||||||
|
end
|
||||||
|
|
@ -1,5 +1,5 @@
|
|||||||
# set to zero to avoid running test suite
|
# set to zero to avoid running test suite
|
||||||
%define make_check 0
|
%define make_check 1
|
||||||
|
|
||||||
%define with_java 1
|
%define with_java 1
|
||||||
%define with_kwallet 1
|
%define with_kwallet 1
|
||||||
@ -20,7 +20,7 @@
|
|||||||
Summary: A Modern Concurrent Version Control System
|
Summary: A Modern Concurrent Version Control System
|
||||||
Name: subversion
|
Name: subversion
|
||||||
Version: 1.9.4
|
Version: 1.9.4
|
||||||
Release: 2%{?dist}
|
Release: 3%{?dist}
|
||||||
License: ASL 2.0
|
License: ASL 2.0
|
||||||
Group: Development/Tools
|
Group: Development/Tools
|
||||||
URL: http://subversion.apache.org/
|
URL: http://subversion.apache.org/
|
||||||
@ -39,6 +39,8 @@ Patch3: subversion-1.9.4-kwallet.patch
|
|||||||
Patch4: subversion-1.8.0-rubybind.patch
|
Patch4: subversion-1.8.0-rubybind.patch
|
||||||
Patch5: subversion-1.8.5-swigplWall.patch
|
Patch5: subversion-1.8.5-swigplWall.patch
|
||||||
Patch6: subversion-1.8.13-swigpython.patch
|
Patch6: subversion-1.8.13-swigpython.patch
|
||||||
|
# Revert one of Ruby 2.2 fixes which is necessary also for 1.9.4
|
||||||
|
Patch7: subversion-1.9.4-ruby22-fixes.rb
|
||||||
|
|
||||||
BuildRequires: autoconf, libtool, python, python-devel, texinfo, which
|
BuildRequires: autoconf, libtool, python, python-devel, texinfo, which
|
||||||
BuildRequires: libdb-devel >= 4.1.25, swig >= 1.3.24, gettext
|
BuildRequires: libdb-devel >= 4.1.25, swig >= 1.3.24, gettext
|
||||||
@ -183,6 +185,7 @@ This package includes supplementary tools for use with Subversion.
|
|||||||
%patch4 -p1 -b .rubybind
|
%patch4 -p1 -b .rubybind
|
||||||
%patch5 -p1 -b .swigplWall
|
%patch5 -p1 -b .swigplWall
|
||||||
%patch6 -p1 -b .swigpython
|
%patch6 -p1 -b .swigpython
|
||||||
|
%patch7 -p0 -b .ruby22-fixes
|
||||||
|
|
||||||
%build
|
%build
|
||||||
# Regenerate the buildsystem, so that:
|
# Regenerate the buildsystem, so that:
|
||||||
@ -467,6 +470,10 @@ make check-javahl
|
|||||||
%endif
|
%endif
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Wed May 25 2016 Jitka Plesnikova <jplesnik@redhat.com> - 1.9.4-3
|
||||||
|
- Enable tests
|
||||||
|
- Revert one of Ruby 2.2 fixes
|
||||||
|
|
||||||
* Tue May 17 2016 Jitka Plesnikova <jplesnik@redhat.com> - 1.9.4-2
|
* Tue May 17 2016 Jitka Plesnikova <jplesnik@redhat.com> - 1.9.4-2
|
||||||
- Perl 5.24 rebuild
|
- Perl 5.24 rebuild
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user