[eclipse-jgit/f21] Update to upstream 3.7.0.

Roland Grunberg rgrunber at fedoraproject.org
Tue Mar 3 16:39:53 UTC 2015


commit ccde70fa27c8dfb6e3e449bb3a1d4e510f0dafeb
Author: Roland Grunberg <rgrunber at redhat.com>
Date:   Mon Mar 2 12:20:39 2015 -0500

    Update to upstream 3.7.0.

 eclipse-jgit.spec | 15 +++++++++++++--
 fix_jgit_sh.patch |  2 +-
 sources           |  2 +-
 3 files changed, 15 insertions(+), 4 deletions(-)
---
diff --git a/eclipse-jgit.spec b/eclipse-jgit.spec
index f0c1bce..78b81ee 100644
--- a/eclipse-jgit.spec
+++ b/eclipse-jgit.spec
@@ -1,11 +1,11 @@
 %global install_loc    %{_datadir}/eclipse/dropins/jgit
-%global version_suffix 201501210735-r
+%global version_suffix 201502260915-r
 
 %{?scl:%scl_package eclipse-jgit}
 %{!?scl:%global pkg_name %{name}}
 
 Name:           %{?scl_prefix}eclipse-jgit
-Version:        3.6.2
+Version:        3.7.0
 Release:        1%{?dist}
 Summary:        Eclipse JGit
 
@@ -33,12 +33,14 @@ BuildRequires:  javaewah
 BuildRequires:  mvn(org.codehaus.mojo:build-helper-maven-plugin)
 BuildRequires:  feclipse-maven-plugin >= 0.0.3
 BuildRequires:  jacoco-maven-plugin
+BuildRequires:  slf4j-log4j12
 %{?scl:Requires: %scl_runtime}
 Requires: %{?scl_prefix}eclipse-platform >= 3.5.0
 Requires:  javaewah
 Requires:  args4j
 Requires:  apache-commons-compress
 Requires:  xz-java
+Requires:  slf4j-log4j12
 
 %description
 A pure Java implementation of the Git version control system.
@@ -93,6 +95,12 @@ sed -i -e 's/0.7.9,0.8.0/0.7.9,0.9.0/g' org.eclipse.jgit.test/META-INF/MANIFEST.
 sed -i -e 's/o.hidden()/o.help(),o.hidden()/g' org.eclipse.jgit.pgm/src/org/eclipse/jgit/pgm/opt/CmdLineParser.java
 
 
+# org.slf4j.api -> slf4j.api
+# org.slf4j.impl.log4j12 -> slf4j.log4j12
+sed -i 's/org\.slf4j\.api/slf4j\.api/
+        s/org\.slf4j\.impl\.log4j12/slf4j\.log4j12/' \
+org.eclipse.jgit.packaging/org.eclipse.jgit.feature/feature.xml
+
 %build
 xmvn -o -Dmaven.repo.local=$(pwd)/.m2 -Dmaven.test.skip=true install
 xmvn -o -Dmaven.test.skip=true -f org.eclipse.jgit.packaging/pom.xml verify
@@ -166,6 +174,9 @@ install -m 755 org.eclipse.jgit.pgm/jgit.sh %{buildroot}%{_bindir}/jgit
 %doc README.md
 
 %changelog
+* Mon Mar 02 2015 Roland Grunberg <rgrunber at redhat.com> - 3.7.0-1
+- Update to upstream 3.7.0.
+
 * Fri Jan 23 2015 Alexander Kurtakov <akurtako at redhat.com> 3.6.2-1
 - Update to upstream 3.6.2 release.
 
diff --git a/fix_jgit_sh.patch b/fix_jgit_sh.patch
index c519dbe..8ccf895 100644
--- a/fix_jgit_sh.patch
+++ b/fix_jgit_sh.patch
@@ -6,6 +6,6 @@
  cp=$this_script
 -
 +export JGIT_CLASSPATH="/usr/share/java/jgit/*:/usr/share/java/args4j.jar:/usr/share/java/jsch.jar:/usr/share/java/commons-compress.jar:/usr/share/java/xz-java.jar:/usr/share/java/javaewah/JavaEWAH.jar"
+ platform="`uname`"
  if [ -n "$JGIT_CLASSPATH" ]
  then
- 	cp="$cp:$JGIT_CLASSPATH"
diff --git a/sources b/sources
index 8b77a25..3fbf410 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-b2d98a51459827cbbc8b39d4854ea917  jgit-3.6.2.201501210735-r.tar.bz2
+580f856e0c6ae63f403d917d05178e08  jgit-3.7.0.201502260915-r.tar.bz2


More information about the scm-commits mailing list