!3 [sync] PR-2: fix install error
From: @openeuler-sync-bot Reviewed-by: @licihua Signed-off-by: @licihua
This commit is contained in:
commit
2c41bf5d7b
@ -6,7 +6,7 @@
|
||||
Summary: Java XPath, XSLT 2.0 and XQuery implementation
|
||||
Name: saxon
|
||||
Version: 9.4.0.9
|
||||
Release: 1
|
||||
Release: 2
|
||||
License: MPLv1.0 and MPLv1.1 and ASL 1.1 and UCD and MIT
|
||||
URL: http://saxon.sourceforge.net/
|
||||
Source0: https://downloads.sourceforge.net/project/saxon/Saxon-HE/%{version_major_minor}/saxon%{version_str}source.zip
|
||||
@ -127,9 +127,13 @@ install -p -m644 %{SOURCE4} $RPM_BUILD_ROOT%{_mandir}/man1/%{name}.1
|
||||
install -p -m644 %{SOURCE5} $RPM_BUILD_ROOT%{_mandir}/man1/%{name}q.1
|
||||
|
||||
%post
|
||||
if [ -f "%{_javadir}/jaxp_transform_impl.jar" ]; then
|
||||
mv %{_javadir}/jaxp_transform_impl.jar{,.tmp} || :
|
||||
fi
|
||||
update-alternatives --remove jaxp_transform_impl %{_javadir}/saxon/%{artifact_id}.jar &>/dev/null || :
|
||||
if [ -f "%{_javadir}/jaxp_transform_impl.jar.tmp" ]; then
|
||||
mv %{_javadir}/jaxp_transform_impl.jar{.tmp,} || :
|
||||
fi
|
||||
|
||||
%files -f .mfiles
|
||||
%license mpl-1.0.txt mpl-1.1.txt
|
||||
@ -152,5 +156,8 @@ mv %{_javadir}/jaxp_transform_impl.jar{.tmp,} || :
|
||||
%{_mandir}/man1/%{name}q.1*
|
||||
|
||||
%changelog
|
||||
* Mon Jul 18 2022 liyanan <liyanan32@h-partners.com> - 9.4.0.9-2
|
||||
- fix install error
|
||||
|
||||
* Thu Jul 23 2020 Jeffery.Gao <gaojianxing@huawei.com> - 9.4.0.9-1
|
||||
- Package init
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user