diff options
author | Thomas Wiest <twiest@users.noreply.github.com> | 2015-03-24 14:57:28 -0400 |
---|---|---|
committer | Thomas Wiest <twiest@users.noreply.github.com> | 2015-03-24 14:57:28 -0400 |
commit | 38c621e71ba8fe5e351da184eaf16d589d948d93 (patch) | |
tree | 4a94cff42ab5aea52d3c7584b80ea0a2efd9a495 /bin | |
parent | 1c1df6a5733626865efc607d063f2a2a9b80499b (diff) | |
parent | 96729907e131f0cef6f37bcca062e9b092e67d29 (diff) | |
download | openshift-38c621e71ba8fe5e351da184eaf16d589d948d93.tar.gz openshift-38c621e71ba8fe5e351da184eaf16d589d948d93.tar.bz2 openshift-38c621e71ba8fe5e351da184eaf16d589d948d93.tar.xz openshift-38c621e71ba8fe5e351da184eaf16d589d948d93.zip |
Merge pull request #122 from twiest/tito
Added tito build stuff
Diffstat (limited to 'bin')
-rw-r--r-- | bin/openshift-ansible-bin.spec | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/bin/openshift-ansible-bin.spec b/bin/openshift-ansible-bin.spec new file mode 100644 index 000000000..7ca0cbe9d --- /dev/null +++ b/bin/openshift-ansible-bin.spec @@ -0,0 +1,34 @@ +Summary: OpenShift Ansible Scripts for working with metadata hosts +Name: openshift-ansible-bin +Version: 0.0.0 +Release: 1%{?dist} +License: ASL 2.0 +URL: https://github.com/openshift/openshift-ansible +Source0: %{name}-%{version}.tar.gz +Requires: python2, openshift-ansible-inventory +BuildRequires: python2-devel +BuildArch: noarch + +%description +Scripts to make it nicer when working with hosts that are defined only by metadata. + +%prep +%setup -q + +%build + +%install +mkdir -p %{buildroot}%{_bindir} +mkdir -p %{buildroot}%{python_sitelib}/openshift_ansible +mkdir -p %{buildroot}/etc/bash_completion.d + +cp -p ossh oscp opssh %{buildroot}%{_bindir} +cp -p awsutil.py %{buildroot}%{python_sitelib}/openshift_ansible +cp -p ossh_bash_completion %{buildroot}/etc/bash_completion.d + +%files +%{_bindir}/* +%{python_sitelib}/openshift_ansible/ +/etc/bash_completion.d/* + +%changelog |