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}
|
cp -pr build/docs/api/* %{buildroot}%{_javadocdir}/%{name}
|
||||||
# alternatives
|
# alternatives
|
||||||
mkdir -p %{buildroot}%{_sysconfdir}/alternatives/
|
mkdir -p %{buildroot}%{_sysconfdir}/alternatives/
|
||||||
ln -s %{_javadir}/%{name}-%{version}.jar %{buildroot}%{_sysconfdir}/alternatives/servlet.jar
|
ln -sf %{_sysconfdir}/alternatives/servlet.jar %{buildroot}%{_javadir}/servlet.jar
|
||||||
ln -s %{_sysconfdir}/alternatives/servlet.jar %{buildroot}%{_javadir}/servlet.jar
|
|
||||||
|
|
||||||
%post
|
%post
|
||||||
update-alternatives --install %{_javadir}/servlet.jar servlet %{_javadir}/%{name}-%{version}.jar 40
|
update-alternatives --install %{_javadir}/servlet.jar servlet %{_javadir}/%{name}-%{version}.jar 40
|
||||||
|
Loading…
Reference in New Issue
Block a user