Change-Id: I3b67610ddcc9c2342d265e3a47a6790169bff9c3
Reviewed-on: http://photon-jenkins.eng.vmware.com:8082/3797
Reviewed-by: Anish Swaminathan <anishs@vmware.com>
Tested-by: Anish Swaminathan <anishs@vmware.com>
| ... | ... |
@@ -1,7 +1,7 @@ |
| 1 | 1 |
Summary: Apache Tomcat |
| 2 | 2 |
Name: apache-tomcat |
| 3 | 3 |
Version: 8.5.20 |
| 4 |
-Release: 2%{?dist}
|
|
| 4 |
+Release: 3%{?dist}
|
|
| 5 | 5 |
License: Apache |
| 6 | 6 |
URL: http://tomcat.apache.org |
| 7 | 7 |
Group: Applications/System |
| ... | ... |
@@ -34,17 +34,16 @@ find . -type f \( -name "*.bat" -o -name "*.class" -o -name Thumbs.db -o -name " |
| 34 | 34 |
-name "*.jar" -o -name "*.war" -o -name "*.zip" \) -delete |
| 35 | 35 |
|
| 36 | 36 |
%build |
| 37 |
-mkdir -p -m 700 %{_prefix}
|
|
| 38 | 37 |
ant -Dbase.path="." deploy dist-prepare dist-source javadoc |
| 39 | 38 |
|
| 40 | 39 |
%install |
| 41 | 40 |
install -vdm 755 %{buildroot}%{_prefix}
|
| 42 | 41 |
install -vdm 755 %{buildroot}%{_bindir}
|
| 43 | 42 |
install -vdm 755 %{buildroot}%{_libdir}
|
| 44 |
-install -vdm 644 %{buildroot}%{_confdir}
|
|
| 45 |
-install -vdm 644 %{buildroot}%{_webappsdir}
|
|
| 46 |
-install -vdm 644 %{buildroot}%{_logsdir}
|
|
| 47 |
-install -vdm 644 %{buildroot}%{_tempdir}
|
|
| 43 |
+install -vdm 755 %{buildroot}%{_confdir}
|
|
| 44 |
+install -vdm 755 %{buildroot}%{_webappsdir}
|
|
| 45 |
+install -vdm 755 %{buildroot}%{_logsdir}
|
|
| 46 |
+install -vdm 755 %{buildroot}%{_tempdir}
|
|
| 48 | 47 |
cp -r %{_builddir}/%{name}-%{version}-src/output/build/bin/* %{buildroot}%{_bindir}
|
| 49 | 48 |
cp -r %{_builddir}/%{name}-%{version}-src/output/build/lib/* %{buildroot}%{_libdir}
|
| 50 | 49 |
cp -r %{_builddir}/%{name}-%{version}-src/output/build/conf/* %{buildroot}%{_confdir}
|
| ... | ... |
@@ -87,6 +86,8 @@ rm -rf %{buildroot}/*
|
| 87 | 87 |
%{_logsdir}/catalina.out
|
| 88 | 88 |
|
| 89 | 89 |
%changelog |
| 90 |
+* Wed Sep 18 2017 Harish Udaiya Kumar <hudaiyakumar@vmware.com> 8.5.20-3 |
|
| 91 |
+- Updated the permissions on _prefix. |
|
| 90 | 92 |
* Wed Sep 13 2017 Harish Udaiya Kumar <hudaiyakumar@vmware.com> 8.5.20-2 |
| 91 | 93 |
- Updated the permissions on directories packaged |
| 92 | 94 |
* Tue Aug 15 2017 Anish Swaminathan <anishs@vmware.com> 8.5.20-1 |