Set %config(noreplace) on /etc/ansible instead of /etc/ansible/* so
the directory is removed on uninstall and its contents are considered config files.
This commit is contained in:
parent
2d26d1fd71
commit
b4ca288a7b
1 changed files with 1 additions and 1 deletions
|
@ -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*
|
||||
|
||||
|
|
Loading…
Reference in a new issue