ac7d03
From 6f2708e350a096a8d3ea4feb177370d9cb1afa81 Mon Sep 17 00:00:00 2001
ac7d03
From: Martin Basti <mbasti@redhat.com>
ac7d03
Date: Wed, 10 May 2017 18:39:22 +0200
ac7d03
Subject: [PATCH] ipaclient: fix missing RPM ownership
ac7d03
ac7d03
FreeIPA package should own all subdirectories to work properly with
ac7d03
3rd party packages/plugins.
ac7d03
ac7d03
https://pagure.io/freeipa/issue/6927
ac7d03
ac7d03
Reviewed-By: Pavel Vomacka <pvomacka@redhat.com>
ac7d03
---
ac7d03
 freeipa.spec.in | 16 ++++++++++++++--
ac7d03
 1 file changed, 14 insertions(+), 2 deletions(-)
ac7d03
ac7d03
diff --git a/freeipa.spec.in b/freeipa.spec.in
ac7d03
index 3a5a9b4087d2394d6e8556d62da46a3dc922c913..0335a9970be82e80e98696f3d7fd4ec64894ef5f 100644
ac7d03
--- a/freeipa.spec.in
ac7d03
+++ b/freeipa.spec.in
ac7d03
@@ -1404,14 +1404,20 @@ fi
ac7d03
 %doc README.md Contributors.txt
ac7d03
 %license COPYING
ac7d03
 %dir %{python_sitelib}/ipaclient
ac7d03
-%dir %{python_sitelib}/ipaclient/plugins
ac7d03
 %{python_sitelib}/ipaclient/*.py*
ac7d03
+%dir %{python_sitelib}/ipaclient/install
ac7d03
 %{python_sitelib}/ipaclient/install/*.py*
ac7d03
+%dir %{python_sitelib}/ipaclient/plugins
ac7d03
 %{python_sitelib}/ipaclient/plugins/*.py*
ac7d03
+%dir %{python_sitelib}/ipaclient/remote_plugins
ac7d03
 %{python_sitelib}/ipaclient/remote_plugins/*.py*
ac7d03
 %{python_sitelib}/ipaclient/remote_plugins/2_*/*.py*
ac7d03
+%dir %{python_sitelib}/ipaclient/csrgen
ac7d03
+%dir %{python_sitelib}/ipaclient/csrgen/profiles
ac7d03
 %{python_sitelib}/ipaclient/csrgen/profiles/*.json
ac7d03
+%dir %{python_sitelib}/ipaclient/csrgen/rules
ac7d03
 %{python_sitelib}/ipaclient/csrgen/rules/*.json
ac7d03
+%dir %{python_sitelib}/ipaclient/csrgen/templates
ac7d03
 %{python_sitelib}/ipaclient/csrgen/templates/*.tmpl
ac7d03
 %{python_sitelib}/ipaclient-*.egg-info
ac7d03
 
ac7d03
@@ -1423,19 +1429,25 @@ fi
ac7d03
 %doc README.md Contributors.txt
ac7d03
 %license COPYING
ac7d03
 %dir %{python3_sitelib}/ipaclient
ac7d03
-%dir %{python3_sitelib}/ipaclient/plugins
ac7d03
 %{python3_sitelib}/ipaclient/*.py
ac7d03
 %{python3_sitelib}/ipaclient/__pycache__/*.py*
ac7d03
+%dir %{python3_sitelib}/ipaclient/install
ac7d03
 %{python3_sitelib}/ipaclient/install/*.py
ac7d03
 %{python3_sitelib}/ipaclient/install/__pycache__/*.py*
ac7d03
+%dir %{python3_sitelib}/ipaclient/plugins
ac7d03
 %{python3_sitelib}/ipaclient/plugins/*.py
ac7d03
 %{python3_sitelib}/ipaclient/plugins/__pycache__/*.py*
ac7d03
+%dir %{python3_sitelib}/ipaclient/remote_plugins
ac7d03
 %{python3_sitelib}/ipaclient/remote_plugins/*.py
ac7d03
 %{python3_sitelib}/ipaclient/remote_plugins/__pycache__/*.py*
ac7d03
 %{python3_sitelib}/ipaclient/remote_plugins/2_*/*.py
ac7d03
 %{python3_sitelib}/ipaclient/remote_plugins/2_*/__pycache__/*.py*
ac7d03
+%dir %{python3_sitelib}/ipaclient/csrgen
ac7d03
+%dir %{python3_sitelib}/ipaclient/csrgen/profiles
ac7d03
 %{python3_sitelib}/ipaclient/csrgen/profiles/*.json
ac7d03
+%dir %{python3_sitelib}/ipaclient/csrgen/rules
ac7d03
 %{python3_sitelib}/ipaclient/csrgen/rules/*.json
ac7d03
+%dir %{python3_sitelib}/ipaclient/csrgen/templates
ac7d03
 %{python3_sitelib}/ipaclient/csrgen/templates/*.tmpl
ac7d03
 %{python3_sitelib}/ipaclient-*.egg-info
ac7d03
 
ac7d03
-- 
ac7d03
2.9.3
ac7d03