From 70c96e4095b1a6083f4d9f7f167f40c7e0892d52 Mon Sep 17 00:00:00 2001 From: lingsheng Date: Fri, 15 Oct 2021 10:12:03 +0800 Subject: [PATCH] delete some directories when uninstalling (cherry picked from commit 664e2db0ca331438c2cfd13fc8beeacf24a441fb) --- oozie.spec | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/oozie.spec b/oozie.spec index 05518ec..6587164 100644 --- a/oozie.spec +++ b/oozie.spec @@ -1,6 +1,6 @@ Name: oozie Version: 5.2.1 -Release: 3 +Release: 4 Summary: A work-flow scheduling system for Apache Hadoop License: Apache 2.0 URL: http://oozie.apache.org @@ -170,8 +170,15 @@ install -m 0644 %{SOURCE2} %{buildroot}/%{_sysconfdir}/logrotate.d/%{name} %attr(0775,root,tomcat) %dir %{_sysconfdir}/%{name}/tomcat %attr(0775,root,tomcat) %dir %{_sysconfdir}/%{name}/tomcat/Catalina %attr(0775,root,tomcat) %dir %{_sysconfdir}/%{name}/tomcat/Catalina/localhost +%dir %{_datadir}/doc/%{name} +%dir %{_mavenpomdir}/%{name} +%dir %{_datadir}/%{name} +%dir %{_datadir}/java/%{name} %changelog +* Thu Oct 14 2021 lingsheng - 5.2.1-4 +- delete some directories when uninstalling + * Sat Oct 9 2021 liyanan - 5.2.1-3 - fix ooziedb command not found jar path -- Gitee