!14 Add item to classpath to resolve NoClassDefFoundError

From: @wang--ge 
Reviewed-by: @caodongxia 
Signed-off-by: @caodongxia
This commit is contained in:
openeuler-ci-bot 2023-03-29 09:03:34 +00:00 committed by Gitee
commit 0a1f8fdca1
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F

View File

@ -2,9 +2,9 @@
%bcond_with tests
Name: jgit
Version: 5.11.0
Release: 1
Release: 2
Summary: A pure java implementation of git
License: BSD
License: BSD-3-Clause
URL: https://www.eclipse.org/jgit/
Source0: https://git.eclipse.org/c/jgit/jgit.git/snapshot/jgit-%{gittag}.tar.xz
Patch0: 0001-Ensure-the-correct-classpath-is-set-for-the-jgit-com.patch
@ -80,6 +80,7 @@ sed -i -e '/\.test<\/module>/d' pom.xml
%else
%mvn_build -- -Pjavac -Dmaven.test.failure.ignore=true
%endif
sed -i 's/sshd-sftp/sshd-sftp glassfish-servlet-api jetty/g' org.eclipse.jgit.pgm/jgit.sh
%install
%mvn_install
@ -100,6 +101,9 @@ EOF
%license LICENSE
%changelog
* Wed Mar 29 2023 Ge Wang <wangge20@h-partners.com> - 5.11.0-2
- Add classpath to resolve NoClassDefFoundError
* Fri Nov 25 2022 yaoxin <yaoxin30@h-partners.com> - 5.11.0-1
- Update to 5.11.0