From 890f2c5d039a501966eedbf8c7bb7b7e9b50464a Mon Sep 17 00:00:00 2001 From: Thomas Wiest Date: Fri, 15 May 2015 14:48:55 -0400 Subject: fixed the openshift-ansible-bin build --- bin/openshift-ansible-bin.spec | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'bin/openshift-ansible-bin.spec') diff --git a/bin/openshift-ansible-bin.spec b/bin/openshift-ansible-bin.spec index 87c0079f2..9336681d1 100644 --- a/bin/openshift-ansible-bin.spec +++ b/bin/openshift-ansible-bin.spec @@ -25,6 +25,12 @@ mkdir -p %{buildroot}/etc/openshift_ansible cp -p ossh oscp opssh opscp ohi %{buildroot}%{_bindir} cp -pP openshift_ansible/* %{buildroot}%{python_sitelib}/openshift_ansible + +# Make it so we can load multi_ec2.py as a library. +rm %{buildroot}%{python_sitelib}/openshift_ansible/multi_ec2.py* +ln -sf /usr/share/ansible/inventory/multi_ec2.py %{buildroot}%{python_sitelib}/openshift_ansible/multi_ec2.py +ln -sf /usr/share/ansible/inventory/multi_ec2.pyc %{buildroot}%{python_sitelib}/openshift_ansible/multi_ec2.pyc + cp -p ossh_bash_completion %{buildroot}/etc/bash_completion.d cp -p openshift_ansible.conf.example %{buildroot}/etc/openshift_ansible/openshift_ansible.conf @@ -36,12 +42,6 @@ cp -p openshift_ansible.conf.example %{buildroot}/etc/openshift_ansible/openshif %config(noreplace) /etc/openshift_ansible/ %changelog -* Fri May 15 2015 Kenny Woodson 0.0.16-1 -- - -* Fri May 15 2015 Kenny Woodson 0.0.15-1 -- - * Fri May 15 2015 Thomas Wiest 0.0.14-1 - Command line tools import multi_ec2 as lib (kwoodson@redhat.com) - Adding cache location for multi ec2 (kwoodson@redhat.com) -- cgit v1.2.3