Update to upstream version 2.4.0

Resolves: rhbz#1985388
Related: rhbz#1995022
This commit is contained in:
Marian Koncek 2021-11-01 12:17:05 +01:00
parent 0333e5e805
commit 3ab61c76e4
4 changed files with 8 additions and 4 deletions

1
.gitignore vendored
View File

@ -10,3 +10,4 @@
/jansi-project-1.18.tar.gz /jansi-project-1.18.tar.gz
/jansi-2.1.1.tar.gz /jansi-2.1.1.tar.gz
/jansi-2.3.3.tar.gz /jansi-2.3.3.tar.gz
/jansi-2.4.0.tar.gz

View File

@ -6,7 +6,7 @@
} }
+ } else { + } else {
+ if (loadNativeLibrary(new File("@LIBDIR@/jansi", jansiNativeLibraryName))) { + if (loadNativeLibrary(new File("@LIBDIR@/jansi", jansiNativeLibraryName))) {
+ extracted = true; + loaded = true;
+ return; + return;
+ } + }
} }

View File

@ -1,8 +1,8 @@
%bcond_with bootstrap %bcond_with bootstrap
Name: jansi Name: jansi
Version: 2.3.3 Version: 2.4.0
Release: 3%{?dist} Release: 1%{?dist}
Summary: Generate and interpret ANSI escape sequences in Java Summary: Generate and interpret ANSI escape sequences in Java
License: ASL 2.0 License: ASL 2.0
URL: http://fusesource.github.io/jansi/ URL: http://fusesource.github.io/jansi/
@ -101,6 +101,9 @@ cp -p src/main/native/libjansi.so %{buildroot}%{_prefix}/lib/%{name}
%license license.txt %license license.txt
%changelog %changelog
* Mon Nov 01 2021 Marian Koncek <mkoncek@redhat.com> - 2.4.0-1
- Update to upstream version 2.4.0
* Fri Sep 24 2021 Marian Koncek <mkoncek@redhat.com> - 2.3.3-3 * Fri Sep 24 2021 Marian Koncek <mkoncek@redhat.com> - 2.3.3-3
- Install native artifact into a fixed location - Install native artifact into a fixed location
- Related: rhbz#1994935 - Related: rhbz#1994935

View File

@ -1 +1 @@
SHA512 (jansi-2.3.3.tar.gz) = 11a27519c05f762f5a6bb076f7f7eb57b6e1df9984df8039a24294cbbf341adc060cb04e66ebcf7d269842bbe599ec0d17be7b3dadeddbabbbd158895aabe8f7 SHA512 (jansi-2.4.0.tar.gz) = b52fbd371acbf98398c3720225f32c826b545cd598fdf0c327c477b416af11af3c78833998823e1e7aa92b91a31e2918d63f4a598618bbe2278c812b94217a12