Browse code

Fixed cleaning up of directories installed by apache-tomcat

PR 1853589

Change-Id: I98004fe66683005375cdad884c48828990f45ba6
Reviewed-on: http://photon-jenkins.eng.vmware.com:8082/2465
Tested-by: gerrit-photon <photon-checkins@vmware.com>
Reviewed-by: Priyesh Padmavilasom <ppadmavilasom@vmware.com>

dthaluru authored on 2017/04/18 18:45:39
Showing 1 changed files
... ...
@@ -1,7 +1,7 @@
1 1
 Summary:	Apache Tomcat
2 2
 Name:		apache-tomcat
3 3
 Version:	8.5.13
4
-Release:	1%{?dist}
4
+Release:	2%{?dist}
5 5
 License:	Apache
6 6
 URL:		http://tomcat.apache.org
7 7
 Group:		Applications/System
... ...
@@ -60,6 +60,11 @@ rm -rf %{buildroot}/*
60 60
 
61 61
 %files
62 62
 %defattr(-,root,root)
63
+%dir %{_prefix}
64
+%dir %{_bindir}
65
+%dir %{_libdir}
66
+%dir %{_confdir}
67
+%dir %{_webappsdir}
63 68
 %{_prefix}/LICENSE
64 69
 %{_prefix}/NOTICE
65 70
 %{_bindir}/*
... ...
@@ -68,6 +73,8 @@ rm -rf %{buildroot}/*
68 68
 %{_webappsdir}/*
69 69
 
70 70
 %changelog
71
+*   Tue Apr 18 2017 Divya Thaluru <dthaluru@vmware.com> 8.5.13-2
72
+-   Added logic to package directories
71 73
 *   Mon Apr 10 2017 Divya Thaluru <dthaluru@vmware.com> 8.5.13-1
72 74
 -   Upgraded to version 8.5.13 and also added logic to build binaries from source
73 75
 *   Tue Nov 22 2016 Anish Swaminathan <anishs@vmware.com> 8.5.8-1