Blob Blame Raw
From aabecaa542bc4c5a7b230441690600981f6021bf Mon Sep 17 00:00:00 2001
From: Martin Kutlak <mkutlak@redhat.com>
Date: Thu, 7 Dec 2017 11:02:12 +0100
Subject: [PATCH 08/22] spec: fix unowned directories

Unistalling python{2,3}-libreport, libreport-filesystem leaves behind these directories in the system.

Resolves #514

Signed-off-by: Martin Kutlak <mkutlak@redhat.com>
---
 libreport.spec.in | 11 +++++++----
 1 file changed, 7 insertions(+), 4 deletions(-)

diff --git a/libreport.spec.in b/libreport.spec.in
index 9589c8f0..056586e2 100644
--- a/libreport.spec.in
+++ b/libreport.spec.in
@@ -472,6 +472,9 @@ gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
 %dir %{_sysconfdir}/%{name}/events.d/
 %dir %{_sysconfdir}/%{name}/events/
 %dir %{_sysconfdir}/%{name}/workflows.d/
+%dir %{_datadir}/%{name}/
+%dir %{_datadir}/%{name}/conf.d/
+%dir %{_datadir}/%{name}/conf.d/plugins/
 %dir %{_datadir}/%{name}/events/
 %dir %{_datadir}/%{name}/workflows/
 %dir %{_sysconfdir}/%{name}/plugins/
@@ -515,12 +518,12 @@ gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
 %{_libdir}/pkgconfig/libreport-web.pc
 
 %files -n python2-libreport
-%{python_sitearch}/report/*
-%{python_sitearch}/reportclient/*
+%{python_sitearch}/report/
+%{python_sitearch}/reportclient/
 
 %files -n python3-libreport
-%{python3_sitearch}/report/*
-%{python3_sitearch}/reportclient/*
+%{python3_sitearch}/report/
+%{python3_sitearch}/reportclient/
 
 %files cli
 %{_bindir}/report-cli
-- 
2.14.3