Fix missing jaxp_parser_impl symlink after upgrade
This commit is contained in:
parent
5b6e9b861b
commit
0f0249ca7c
@ -4,7 +4,7 @@
|
||||
|
||||
Name: xerces-j2
|
||||
Version: 2.11.0
|
||||
Release: 27%{?dist}
|
||||
Release: 28%{?dist}
|
||||
Summary: Java XML parser
|
||||
License: ASL 2.0
|
||||
URL: http://xerces.apache.org/xerces2-j/
|
||||
@ -182,6 +182,8 @@ cp -pr data %{buildroot}%{_datadir}/%{name}
|
||||
%post
|
||||
# alternatives suppoort removed in f26
|
||||
update-alternatives --remove jaxp_parser_impl %{_javadir}/%{name}.jar >/dev/null 2>&1 || :
|
||||
# it deletes the link, set it up again
|
||||
ln -sf %{name}.jar %{_javadir}/jaxp_parser_impl.jar
|
||||
|
||||
%files -f .mfiles
|
||||
%doc LICENSE NOTICE README
|
||||
@ -195,6 +197,9 @@ update-alternatives --remove jaxp_parser_impl %{_javadir}/%{name}.jar >/dev/null
|
||||
%{_datadir}/%{name}
|
||||
|
||||
%changelog
|
||||
* Wed Mar 08 2017 Michael Simacek <msimacek@redhat.com> - 2.11.0-28
|
||||
- Fix missing jaxp_parser_impl symlink after upgrade
|
||||
|
||||
* Thu Feb 23 2017 Michael Simacek <msimacek@redhat.com> - 2.11.0-27
|
||||
- Remove alternatives, there is no other provider
|
||||
- Specfile cleanup
|
||||
|
Loading…
Reference in New Issue
Block a user