[packages/ansible/DEVEL] update poldek and systemd patches; pacakge ansible.cfg

glen glen at pld-linux.org
Mon May 20 21:58:22 CEST 2013


commit 9131127799aa72f7a7b390c3146a8cb35f3c501d
Author: Elan Ruusamäe <glen at delfi.ee>
Date:   Mon May 20 22:58:00 2013 +0300

    update poldek and systemd patches; pacakge ansible.cfg

 ansible.spec | 8 +++++---
 1 file changed, 5 insertions(+), 3 deletions(-)
---
diff --git a/ansible.spec b/ansible.spec
index 78a701c..71fb818 100644
--- a/ansible.spec
+++ b/ansible.spec
@@ -1,15 +1,15 @@
 Summary:	Minimal SSH command and control
 Name:		ansible
 Version:	1.2
-Release:	0.10
+Release:	0.11
 License:	GPL v3+
 Group:		Development/Libraries
 Source0:	https://github.com/ansible/ansible/archive/devel.tar.gz?/%{version}-dev.tgz
 # Source0-md5:	7dcb52644cbe4e9dc998246e69ca3edc
 Patch0:		https://github.com/glensc/ansible/compare/pm-poldek.patch
-# Patch0-md5:	da4815872cf281741afa01a88a18da95
+# Patch0-md5:	91dd49cb9c64c52615aec95341c40128
 Patch1:		https://github.com/glensc/ansible/compare/rc.d-systemd.patch
-# Patch1-md5:	58add52a8243e9c8daf5ddce56d5385b
+# Patch1-md5:	a51f047c5514124dc29221f3336be402
 URL:		http://ansible.github.com/
 BuildRequires:	python-modules >= 1:2.6
 BuildRequires:	rpm-pythonprov
@@ -50,6 +50,7 @@ rm -rf $RPM_BUILD_ROOT
 
 install -d $RPM_BUILD_ROOT{%{_sysconfdir}/%{name},%{_datadir}/%{name},%{_mandir}}
 sed -re '/^#/ !s,[^#]+$,#&,' examples/hosts > $RPM_BUILD_ROOT%{_sysconfdir}/%{name}/hosts
+cp -p examples/ansible.cfg $RPM_BUILD_ROOT%{_sysconfdir}/%{name}
 cp -a docs/man/* $RPM_BUILD_ROOT%{_mandir}
 cp -a library/* $RPM_BUILD_ROOT%{_datadir}/%{name}
 
@@ -64,6 +65,7 @@ rm -rf $RPM_BUILD_ROOT
 %doc VERSION *.md
 %dir %{_sysconfdir}/%{name}
 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}/hosts
+%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}/%{name}.cfg
 %attr(755,root,root) %{_bindir}/ansible
 %attr(755,root,root) %{_bindir}/ansible-doc
 %attr(755,root,root) %{_bindir}/ansible-playbook
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/ansible.git/commitdiff/7de60d6f74540e34d7cf42ab8da0b977e217fdfb



More information about the pld-cvs-commit mailing list