!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
13
saxon.spec
13
saxon.spec
@ -6,7 +6,7 @@
|
|||||||
Summary: Java XPath, XSLT 2.0 and XQuery implementation
|
Summary: Java XPath, XSLT 2.0 and XQuery implementation
|
||||||
Name: saxon
|
Name: saxon
|
||||||
Version: 9.4.0.9
|
Version: 9.4.0.9
|
||||||
Release: 1
|
Release: 2
|
||||||
License: MPLv1.0 and MPLv1.1 and ASL 1.1 and UCD and MIT
|
License: MPLv1.0 and MPLv1.1 and ASL 1.1 and UCD and MIT
|
||||||
URL: http://saxon.sourceforge.net/
|
URL: http://saxon.sourceforge.net/
|
||||||
Source0: https://downloads.sourceforge.net/project/saxon/Saxon-HE/%{version_major_minor}/saxon%{version_str}source.zip
|
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
|
install -p -m644 %{SOURCE5} $RPM_BUILD_ROOT%{_mandir}/man1/%{name}q.1
|
||||||
|
|
||||||
%post
|
%post
|
||||||
mv %{_javadir}/jaxp_transform_impl.jar{,.tmp} || :
|
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 || :
|
update-alternatives --remove jaxp_transform_impl %{_javadir}/saxon/%{artifact_id}.jar &>/dev/null || :
|
||||||
mv %{_javadir}/jaxp_transform_impl.jar{.tmp,} || :
|
if [ -f "%{_javadir}/jaxp_transform_impl.jar.tmp" ]; then
|
||||||
|
mv %{_javadir}/jaxp_transform_impl.jar{.tmp,} || :
|
||||||
|
fi
|
||||||
|
|
||||||
%files -f .mfiles
|
%files -f .mfiles
|
||||||
%license mpl-1.0.txt mpl-1.1.txt
|
%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*
|
%{_mandir}/man1/%{name}q.1*
|
||||||
|
|
||||||
%changelog
|
%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
|
* Thu Jul 23 2020 Jeffery.Gao <gaojianxing@huawei.com> - 9.4.0.9-1
|
||||||
- Package init
|
- Package init
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user