mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-10-20 19:13:59 -07:00
Fixes for better RPM packaging
Spec file installs default example hosts files Spec file marks the contents of /etc/ansible as %config(noreplace) Example hosts file now with instructional comments
This commit is contained in:
parent
3f245498c4
commit
dce6074a81
4 changed files with 41 additions and 13 deletions
|
@ -34,6 +34,7 @@ make docs
|
|||
%install
|
||||
python setup.py install -O1 --root=$RPM_BUILD_ROOT --record=INSTALLED_FILES
|
||||
mkdir -p $RPM_BUILD_ROOT/etc/ansible/
|
||||
cp examples/hosts $RPM_BUILD_ROOT/etc/ansible/
|
||||
|
||||
%clean
|
||||
rm -rf $RPM_BUILD_ROOT
|
||||
|
@ -45,7 +46,8 @@ rm -rf $RPM_BUILD_ROOT
|
|||
%{python_sitelib}/*
|
||||
%{_bindir}/ansible*
|
||||
%{_datadir}/ansible/*
|
||||
%{_sysconfdir}/ansible/
|
||||
%config(noreplace) %{_sysconfdir}/ansible/
|
||||
|
||||
|
||||
%changelog
|
||||
* Sat Mar 10 2012 <tbielawa@redhat.com> - 0.0.1-1
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue