summaryrefslogtreecommitdiffstats
path: root/bin
diff options
context:
space:
mode:
authorThomas Wiest <twiest@redhat.com>2015-03-24 13:15:53 -0400
committerThomas Wiest <twiest@redhat.com>2015-03-24 14:55:24 -0400
commit96729907e131f0cef6f37bcca062e9b092e67d29 (patch)
tree4a94cff42ab5aea52d3c7584b80ea0a2efd9a495 /bin
parenta7e3b2363935fc090ce7a41853ba27ba0050dc23 (diff)
downloadopenshift-96729907e131f0cef6f37bcca062e9b092e67d29.tar.gz
openshift-96729907e131f0cef6f37bcca062e9b092e67d29.tar.bz2
openshift-96729907e131f0cef6f37bcca062e9b092e67d29.tar.xz
openshift-96729907e131f0cef6f37bcca062e9b092e67d29.zip
Added spec files and tito configs.
Diffstat (limited to 'bin')
-rw-r--r--bin/README_BUILD25
-rw-r--r--bin/openshift-ansible-bin.spec14
2 files changed, 7 insertions, 32 deletions
diff --git a/bin/README_BUILD b/bin/README_BUILD
deleted file mode 100644
index 50010e562..000000000
--- a/bin/README_BUILD
+++ /dev/null
@@ -1,25 +0,0 @@
-# openshift-ansible-bin RPM Build instructions
-We use tito to make building and tracking revisions easy.
-
-For more information on tito, please see the [Tito home page](http://rm-rf.ca/tito "Tito home page").
-
-
-## Build a test package (no tagging needed)
-```
-tito build --test --rpm
-```
-
-
-## Tag a new build (bumps version number and adds log entries)
-```
-tito tag
-```
-
-Follow the on screen tito instructions.
-
-
-
-## Build a new package based on the latest tag information
-```
-tito build --rpm
-```
diff --git a/bin/openshift-ansible-bin.spec b/bin/openshift-ansible-bin.spec
index 2b83a7d0b..7ca0cbe9d 100644
--- a/bin/openshift-ansible-bin.spec
+++ b/bin/openshift-ansible-bin.spec
@@ -1,11 +1,11 @@
-Summary: OpenShift Operations files for mirror
+Summary: OpenShift Ansible Scripts for working with metadata hosts
Name: openshift-ansible-bin
-Version: 0.0.1
+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
+Requires: python2, openshift-ansible-inventory
BuildRequires: python2-devel
BuildArch: noarch
@@ -18,17 +18,17 @@ Scripts to make it nicer when working with hosts that are defined only by metada
%build
%install
-mkdir -p %{buildroot}/usr/bin
+mkdir -p %{buildroot}%{_bindir}
mkdir -p %{buildroot}%{python_sitelib}/openshift_ansible
mkdir -p %{buildroot}/etc/bash_completion.d
-cp -p ossh oscp opssh %{buildroot}/usr/bin
+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
-/usr/bin/*
-%{python_sitelib}/openshift_ansible/*
+%{_bindir}/*
+%{python_sitelib}/openshift_ansible/
/etc/bash_completion.d/*
%changelog