From b4ca288a7b416966f78bc5a8d55cd4e4f967bf44 Mon Sep 17 00:00:00 2001 From: Tim Bielawa Date: Mon, 16 Apr 2012 14:11:57 -0400 Subject: [PATCH] Set %config(noreplace) on /etc/ansible instead of /etc/ansible/* so the directory is removed on uninstall and its contents are considered config files. --- ansible.spec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ansible.spec b/ansible.spec index 5280eed8c97..4229d12f880 100644 --- a/ansible.spec +++ b/ansible.spec @@ -51,7 +51,7 @@ rm -rf $RPM_BUILD_ROOT %{python_sitelib}/ansible* %{_bindir}/ansible* %{_datadir}/ansible -%config(noreplace) %{_sysconfdir}/ansible/* +%config(noreplace) %{_sysconfdir}/ansible %doc README.md PKG-INFO %doc %{_mandir}/man1/ansible*