[packages/ansible] disable py_postclean, code uses .py to locate plugins
glen
glen at pld-linux.org
Tue May 7 20:35:53 CEST 2013
commit 69f04fcfcea5ba8868e90a8bfc3599df5c75728d
Author: Elan Ruusamäe <glen at delfi.ee>
Date: Tue May 7 21:35:35 2013 +0300
disable py_postclean, code uses .py to locate plugins
ansible.spec | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/ansible.spec b/ansible.spec
index 70ad3e1..17555c7 100644
--- a/ansible.spec
+++ b/ansible.spec
@@ -1,7 +1,7 @@
Summary: Minimal SSH command and control
Name: ansible
Version: 1.1
-Release: 0.2
+Release: 0.4
License: GPL v3+
Group: Development/Libraries
Source0: https://github.com/ansible/ansible/archive/release%{version}.tar.gz
@@ -36,7 +36,7 @@ rm -rf $RPM_BUILD_ROOT
--optimize=2 \
--root=$RPM_BUILD_ROOT
-%py_postclean
+#py_postclean
install -d $RPM_BUILD_ROOT{%{_sysconfdir}/%{name},%{_datadir}/%{name},%{_mandir}/man1}
sed -re '/^#/ !s,[^#]+$,#&,' examples/hosts > $RPM_BUILD_ROOT%{_sysconfdir}/%{name}/hosts
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/ansible.git/commitdiff/69f04fcfcea5ba8868e90a8bfc3599df5c75728d
More information about the pld-cvs-commit
mailing list