|
@@ -1,11 +1,11 @@
|
|
-Summary: OpenShift Operations files for mirror
|
|
|
|
|
|
+Summary: OpenShift Ansible Scripts for working with metadata hosts
|
|
Name: openshift-ansible-bin
|
|
Name: openshift-ansible-bin
|
|
-Version: 0.0.1
|
|
|
|
|
|
+Version: 0.0.0
|
|
Release: 1%{?dist}
|
|
Release: 1%{?dist}
|
|
License: ASL 2.0
|
|
License: ASL 2.0
|
|
URL: https://github.com/openshift/openshift-ansible
|
|
URL: https://github.com/openshift/openshift-ansible
|
|
Source0: %{name}-%{version}.tar.gz
|
|
Source0: %{name}-%{version}.tar.gz
|
|
-Requires: python2
|
|
|
|
|
|
+Requires: python2, openshift-ansible-inventory
|
|
BuildRequires: python2-devel
|
|
BuildRequires: python2-devel
|
|
BuildArch: noarch
|
|
BuildArch: noarch
|
|
|
|
|
|
@@ -18,17 +18,17 @@ Scripts to make it nicer when working with hosts that are defined only by metada
|
|
%build
|
|
%build
|
|
|
|
|
|
%install
|
|
%install
|
|
-mkdir -p %{buildroot}/usr/bin
|
|
|
|
|
|
+mkdir -p %{buildroot}%{_bindir}
|
|
mkdir -p %{buildroot}%{python_sitelib}/openshift_ansible
|
|
mkdir -p %{buildroot}%{python_sitelib}/openshift_ansible
|
|
mkdir -p %{buildroot}/etc/bash_completion.d
|
|
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 awsutil.py %{buildroot}%{python_sitelib}/openshift_ansible
|
|
cp -p ossh_bash_completion %{buildroot}/etc/bash_completion.d
|
|
cp -p ossh_bash_completion %{buildroot}/etc/bash_completion.d
|
|
|
|
|
|
%files
|
|
%files
|
|
-/usr/bin/*
|
|
|
|
-%{python_sitelib}/openshift_ansible/*
|
|
|
|
|
|
+%{_bindir}/*
|
|
|
|
+%{python_sitelib}/openshift_ansible/
|
|
/etc/bash_completion.d/*
|
|
/etc/bash_completion.d/*
|
|
|
|
|
|
%changelog
|
|
%changelog
|