Revert "Removed log4j sub-package with bundled log4j (replaced by system symlink)"
This reverts commit 5746174c03
.
Conflicts:
tomcat6.spec
This commit is contained in:
parent
cee7beed0a
commit
e4eaf9df8e
15
tomcat.spec
15
tomcat.spec
@ -175,6 +175,13 @@ Requires(postun): chkconfig
|
|||||||
%description jsp-%{jspspec}-api
|
%description jsp-%{jspspec}-api
|
||||||
Apache Tomcat JSP API implementation classes.
|
Apache Tomcat JSP API implementation classes.
|
||||||
|
|
||||||
|
%package log4j
|
||||||
|
Group: Applications/Internet
|
||||||
|
Summary: Log4j support for Apache Tomcat
|
||||||
|
Requires: log4j
|
||||||
|
|
||||||
|
%description log4j
|
||||||
|
Log4j support for Apache Tomcat
|
||||||
|
|
||||||
%package lib
|
%package lib
|
||||||
Group: Development/Libraries
|
Group: Development/Libraries
|
||||||
@ -596,6 +603,8 @@ fi
|
|||||||
%{homedir}/logs
|
%{homedir}/logs
|
||||||
%{homedir}/conf
|
%{homedir}/conf
|
||||||
|
|
||||||
|
%exclude %{confdir}/log4j.properties
|
||||||
|
|
||||||
%files admin-webapps
|
%files admin-webapps
|
||||||
%defattr(0664,root,tomcat,0755)
|
%defattr(0664,root,tomcat,0755)
|
||||||
%{appdir}/host-manager
|
%{appdir}/host-manager
|
||||||
@ -616,6 +625,11 @@ fi
|
|||||||
%{_mavenpomdir}/JPP-%{name}-jsp-api.pom
|
%{_mavenpomdir}/JPP-%{name}-jsp-api.pom
|
||||||
%{_mavendepmapfragdir}/%{name}-tomcat-jsp-api
|
%{_mavendepmapfragdir}/%{name}-tomcat-jsp-api
|
||||||
|
|
||||||
|
%files log4j
|
||||||
|
%defattr(0664,root,tomcat,0755)
|
||||||
|
%config(noreplace) %{confdir}/log4j.properties
|
||||||
|
%{libdir}/log4j.jar
|
||||||
|
|
||||||
%files lib
|
%files lib
|
||||||
%defattr(-,root,root,-)
|
%defattr(-,root,root,-)
|
||||||
%{libdir}
|
%{libdir}
|
||||||
@ -635,6 +649,7 @@ fi
|
|||||||
|
|
||||||
|
|
||||||
%exclude %{libdir}/%{name}-el-%{elspec}-api.jar
|
%exclude %{libdir}/%{name}-el-%{elspec}-api.jar
|
||||||
|
%exclude %{libdir}/log4j.jar
|
||||||
|
|
||||||
%files servlet-%{servletspec}-api
|
%files servlet-%{servletspec}-api
|
||||||
%defattr(-,root,root,-)
|
%defattr(-,root,root,-)
|
||||||
|
Loading…
Reference in New Issue
Block a user