summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--bin/openshift-ansible-cmds.spec34
-rw-r--r--rel-eng/packages/.readme3
-rw-r--r--rel-eng/tito.props5
3 files changed, 42 insertions, 0 deletions
diff --git a/bin/openshift-ansible-cmds.spec b/bin/openshift-ansible-cmds.spec
new file mode 100644
index 000000000..24705ae31
--- /dev/null
+++ b/bin/openshift-ansible-cmds.spec
@@ -0,0 +1,34 @@
+Summary: OpenShift Operations files for mirror
+Name: openshift-ansible-cmds
+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
+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}/usr/bin
+mkdir -p %{buildroot}%{python_sitelib}/openshift_ansible
+mkdir -p %{buildroot}/etc/bash_completion.d
+
+cp -p ossh oscp opssh %{buildroot}/usr/bin
+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/*
+/etc/bash_completion.d/*
+
+%changelog
diff --git a/rel-eng/packages/.readme b/rel-eng/packages/.readme
new file mode 100644
index 000000000..8999c8dbc
--- /dev/null
+++ b/rel-eng/packages/.readme
@@ -0,0 +1,3 @@
+the rel-eng/packages directory contains metadata files
+named after their packages. Each file has the latest tagged
+version and the project's relative directory.
diff --git a/rel-eng/tito.props b/rel-eng/tito.props
new file mode 100644
index 000000000..eab3f190d
--- /dev/null
+++ b/rel-eng/tito.props
@@ -0,0 +1,5 @@
+[buildconfig]
+builder = tito.builder.Builder
+tagger = tito.tagger.VersionTagger
+changelog_do_not_remove_cherrypick = 0
+changelog_format = %s (%ae)