This commit is contained in:
parent
3ef2d32530
commit
35406fe663
@ -71,8 +71,7 @@ install -d -m 755 %{buildroot}%{_javadocdir}/%{name}
|
||||
cp -pr build/docs/api/* %{buildroot}%{_javadocdir}/%{name}
|
||||
# alternatives
|
||||
mkdir -p %{buildroot}%{_sysconfdir}/alternatives/
|
||||
ln -s %{_javadir}/%{name}-%{version}.jar %{buildroot}%{_sysconfdir}/alternatives/servlet.jar
|
||||
ln -s %{_sysconfdir}/alternatives/servlet.jar %{buildroot}%{_javadir}/servlet.jar
|
||||
ln -sf %{_sysconfdir}/alternatives/servlet.jar %{buildroot}%{_javadir}/servlet.jar
|
||||
|
||||
%post
|
||||
update-alternatives --install %{_javadir}/servlet.jar servlet %{_javadir}/%{name}-%{version}.jar 40
|
||||
|
Loading…
Reference in New Issue
Block a user