- Update-alternatives love.
OBS-URL: https://build.opensuse.org/package/show/Java:packages/xalan-j2?expand=0&rev=16
This commit is contained in:
parent
420ddabb8a
commit
2e85831e9f
@ -1,3 +1,8 @@
|
||||
-------------------------------------------------------------------
|
||||
Mon Jul 21 08:44:29 UTC 2014 - tchvatal@suse.com
|
||||
|
||||
- Update-alternatives love.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Jun 23 07:58:37 UTC 2014 - tchvatal@suse.com
|
||||
|
||||
|
@ -157,9 +157,8 @@ cp -pr samples %{buildroot}%{_datadir}/%{name}
|
||||
|
||||
# alternatives
|
||||
mkdir -p %{buildroot}%{_sysconfdir}/alternatives
|
||||
touch %{buildroot}/%{_sysconfdir}/alternatives/jaxp_transform_impl.jar
|
||||
ln -sf %{_sysconfdir}/alternatives/jaxp_transform_impl.jar \
|
||||
%{buildroot}%{_javadir}/jaxp_transform_impl.jar
|
||||
ln -s %{_javadir}/%{name}.jar %{buildroot}/%{_sysconfdir}/alternatives/jaxp_transform_impl.jar
|
||||
ln -s %{_sysconfdir}/alternatives/jaxp_transform_impl.jar %{buildroot}%{_javadir}/jaxp_transform_impl.jar
|
||||
|
||||
# bnc#485299
|
||||
install -d -m 0755 %{buildroot}/%{_sysconfdir}/ant.d/
|
||||
@ -184,7 +183,7 @@ update-alternatives --install %{_javadir}/jaxp_transform_impl.jar \
|
||||
%{_javadir}/%{name}-serializer.jar
|
||||
%config %{_sysconfdir}/ant.d/serializer
|
||||
%ghost %{_sysconfdir}/alternatives/jaxp_transform_impl.jar
|
||||
%ghost %{_javadir}/jaxp_transform_impl.jar
|
||||
%{_javadir}/jaxp_transform_impl.jar
|
||||
|
||||
%files xsltc
|
||||
%defattr(0644,root,root,0755)
|
||||
|
Loading…
Reference in New Issue
Block a user