Created
March 23, 2016 16:16
-
-
Save snmishra/e34c29aa34e2f064f3b0 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- subversion-1.9.x.spec 2015-12-08 08:59:20.000000000 -0800 | |
+++ subversion-1.9.x.spec 2015-12-15 20:09:01.000000000 -0800 | |
@@ -10,6 +10,10 @@ | |
%define swig_version 1.3.29 | |
%define apache_dir /usr | |
%define pyver 2.6 | |
+%define svn_version 1.9.3 | |
+%define svn_source subversion-%{svn_version}.tar.gz | |
+%define svn_rc "" | |
+%define svn_release 1 | |
%define perl_siteprefix %(eval "`%{__perl} -V:installarchlib`"; echo $installarchlib) | |
@@ -24,10 +28,13 @@ | |
Source: %{svn_source} | |
Source1: sqlite-amalgamation-3071602.zip | |
Source2: subversion.conf | |
+Source3: capsulethunk.h | |
%if %{with timestamp} | |
Patch0: timestamp-replication-v5-1.8.txt | |
%endif | |
+Patch1: capsulethunk.patch | |
+Patch2: find_python.patch | |
Vendor: WANdisco Inc | |
Packager: WANdisco Inc <[email protected]> | |
@@ -73,7 +80,7 @@ | |
*** Note: This is a relocatable package; it can be installed anywhere you like | |
with the "rpm -Uvh --prefix /your/favorite/path" command. This is useful | |
-if you don't have root access on your machine but would like to use this | |
+if you do not have root access on your machine but would like to use this | |
package. | |
%if !%{without devel} | |
@@ -147,6 +154,9 @@ | |
%prep | |
%setup -n subversion-%{version}%{svn_rc} | |
%{?_with_timestamp:%patch0 -p0} | |
+cp %SOURCE3 subversion/bindings/swig/python/libsvn_swig_py/ | |
+%patch1 -p0 | |
+%patch2 -p0 | |
echo "Putting SQLite in to place" | |
rm -rf sqlite-amalgamation | |
@@ -170,7 +180,7 @@ | |
--with-apache-libexecdir=yes \ | |
--with-gnome-keyring \ | |
--enable-javahl \ | |
- --with-jdk=/opt/jdk \ | |
+ --with-jdk=/usr/java/latest \ | |
--without-jikes \ | |
--with-sqlite=sqlite-amalgamation/sqlite3.c \ | |
--enable-runtime-module-search \ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment