Fix files permission

This commit is contained in:
Hui Wang 2023-08-04 21:55:14 +08:00
parent 335305ef4f
commit d26c29c4e8

View File

@ -56,7 +56,7 @@
Name: tomcat
Epoch: 1
Version: %{major_version}.%{minor_version}.%{micro_version}
Release: 3%{?dist}
Release: 4%{?dist}
Summary: Apache Servlet/JSP Engine, RI for Servlet %{servletspec}/JSP %{jspspec} API
License: ASL 2.0
@ -510,9 +510,11 @@ fi
%{appdir}/manager
%files docs-webapp
%defattr(-,root,root,-)
%{appdir}/docs
%files lib -f .mfiles
%defattr(-,root,root,-)
%dir %{libdir}
%{libdir}/*.jar
%{_javadir}/*.jar
@ -529,17 +531,20 @@ fi
%exclude %{_jnidir}/*
%files jsp-%{jspspec}-api -f .mfiles-tomcat-jsp-api
%defattr(-,root,root,-)
%{_javadir}/%{name}-jsp-%{jspspec}*.jar
%{libdir}/%{name}-jsp-%{jspspec}*.jar
%{_javadir}/%{name}-jsp-api.jar
%files servlet-%{servletspec}-api -f .mfiles-tomcat-servlet-api
%defattr(-,root,root,-)
%doc LICENSE
%{_javadir}/%{name}-servlet-%{servletspec}*.jar
%{libdir}/%{name}-servlet-%{servletspec}*.jar
%{_javadir}/%{name}-servlet-api.jar
%files el-%{elspec}-api -f .mfiles-tomcat-el-api
%defattr(-,root,root,-)
%doc LICENSE
%{_javadir}/%{name}-el-%{elspec}-api.jar
%{libdir}/%{name}-el-%{elspec}-api.jar
@ -550,6 +555,9 @@ fi
%{appdir}/ROOT
%changelog
* Fri Aug 04 2023 Hui Wang <huwang@redhat.com> - 1:9.0.78-4
- Fix files permission
* Wed Jul 26 2023 Hui Wang <huwang@redhat.com> - 1:9.0.78-3
- Exclude jnidir in the lib subpackage