Create a symlink to jansi shared object
Related: rhbz#1994935
This commit is contained in:
parent
f794663c9c
commit
38ea89eca3
@ -7,7 +7,7 @@
|
|||||||
Name: maven
|
Name: maven
|
||||||
Epoch: 1
|
Epoch: 1
|
||||||
Version: 3.6.3
|
Version: 3.6.3
|
||||||
Release: 12%{?dist}
|
Release: 13%{?dist}
|
||||||
Summary: Java project management and project comprehension tool
|
Summary: Java project management and project comprehension tool
|
||||||
# maven itself is ASL 2.0
|
# maven itself is ASL 2.0
|
||||||
# bundled slf4j is MIT
|
# bundled slf4j is MIT
|
||||||
@ -202,6 +202,9 @@ cp -a $M2_HOME/{bin,lib,boot} %{buildroot}%{homedir}/
|
|||||||
xmvn-subst -s -R %{buildroot} -s %{buildroot}%{homedir}
|
xmvn-subst -s -R %{buildroot} -s %{buildroot}%{homedir}
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
|
# maven uses this hardcoded path in its launcher to locate jansi so we symlink it
|
||||||
|
ln -s %{_prefix}/lib/jansi/libjansi.so %{buildroot}%{homedir}/lib/jansi-native/
|
||||||
|
|
||||||
install -p -m 644 %{SOURCE2} %{buildroot}%{homedir}/bin/
|
install -p -m 644 %{SOURCE2} %{buildroot}%{homedir}/bin/
|
||||||
gzip -9 %{buildroot}%{homedir}/bin/mvn.1
|
gzip -9 %{buildroot}%{homedir}/bin/mvn.1
|
||||||
install -p -m 644 %{SOURCE1} %{buildroot}%{_datadir}/bash-completion/completions/mvn%{?maven_version_suffix}
|
install -p -m 644 %{SOURCE1} %{buildroot}%{_datadir}/bash-completion/completions/mvn%{?maven_version_suffix}
|
||||||
@ -273,6 +276,10 @@ if [[ $1 -eq 0 ]]; then update-alternatives --remove mvn %{homedir}/bin/mvn; fi
|
|||||||
%config %{_javaconfdir}/maven.conf-openjdk11
|
%config %{_javaconfdir}/maven.conf-openjdk11
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Thu Aug 19 2021 Marian Koncek <mkoncek@redhat.com> - 1:3.6.3-13
|
||||||
|
- Create a symlink to jansi shared object
|
||||||
|
- Related: rhbz#1994935
|
||||||
|
|
||||||
* Mon Aug 09 2021 Mohan Boddu <mboddu@redhat.com> - 1:3.6.3-12
|
* Mon Aug 09 2021 Mohan Boddu <mboddu@redhat.com> - 1:3.6.3-12
|
||||||
- Rebuilt for IMA sigs, glibc 2.34, aarch64 flags
|
- Rebuilt for IMA sigs, glibc 2.34, aarch64 flags
|
||||||
Related: rhbz#1991688
|
Related: rhbz#1991688
|
||||||
|
Loading…
Reference in New Issue
Block a user