Made elspec the standard for elspec %post and %postun
This commit is contained in:
parent
d2e4841496
commit
431c79f46f
@ -55,7 +55,7 @@
|
|||||||
Name: tomcat6
|
Name: tomcat6
|
||||||
Epoch: 0
|
Epoch: 0
|
||||||
Version: %{major_version}.%{minor_version}.%{micro_version}
|
Version: %{major_version}.%{minor_version}.%{micro_version}
|
||||||
Release: 6%{?dist}
|
Release: 7%{?dist}
|
||||||
Summary: Apache Servlet/JSP Engine, RI for Servlet %{servletspec}/JSP %{jspspec} API
|
Summary: Apache Servlet/JSP Engine, RI for Servlet %{servletspec}/JSP %{jspspec} API
|
||||||
|
|
||||||
Group: Networking/Daemons
|
Group: Networking/Daemons
|
||||||
@ -455,7 +455,7 @@ done
|
|||||||
%{_javadir}/%{name}-servlet-%{servletspec}-api.jar 20500
|
%{_javadir}/%{name}-servlet-%{servletspec}-api.jar 20500
|
||||||
|
|
||||||
%post el-%{elspec}-api
|
%post el-%{elspec}-api
|
||||||
%{_sbindir}/update-alternatives --install %{_javadir}/el.jar elspec \
|
%{_sbindir}/update-alternatives --install %{_javadir}/elspec.jar elspec \
|
||||||
%{_javadir}/%{name}-el-%{elspec}-api.jar 20250
|
%{_javadir}/%{name}-el-%{elspec}-api.jar 20250
|
||||||
|
|
||||||
#%post webapps
|
#%post webapps
|
||||||
@ -502,7 +502,6 @@ fi
|
|||||||
if [ "$1" = "0" ]; then
|
if [ "$1" = "0" ]; then
|
||||||
%{_sbindir}/update-alternatives --remove elspec \
|
%{_sbindir}/update-alternatives --remove elspec \
|
||||||
%{_javadir}/%{name}-el-%{elspec}-api.jar
|
%{_javadir}/%{name}-el-%{elspec}-api.jar
|
||||||
el-%{elspec}-api.jar
|
|
||||||
fi
|
fi
|
||||||
|
|
||||||
%files
|
%files
|
||||||
@ -598,6 +597,9 @@ fi
|
|||||||
%{appdir}/sample
|
%{appdir}/sample
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Thu Jul 01 2010 David Knox <dknox@redhat.com> 0:6.0.26-7
|
||||||
|
- Made elspec the standard for elspec %post and %postun
|
||||||
|
|
||||||
* Tue Jun 29 2010 David Knox <dknox@redhat.com> 0:6.0.26-6
|
* Tue Jun 29 2010 David Knox <dknox@redhat.com> 0:6.0.26-6
|
||||||
- Completed package and file sections. Added el-spec. Fixed
|
- Completed package and file sections. Added el-spec. Fixed
|
||||||
- directory permission problems.
|
- directory permission problems.
|
||||||
|
Loading…
Reference in New Issue
Block a user