Blame SPECS/rhc-worker-playbook.spec

a15b07
Name:       rhc-worker-playbook
a15b07
Summary:    Red Hat connect worker for launching Ansible Runner
a15b07
Version:    0.1.2
a15b07
Release:    4%{?dist}
a15b07
License:    GPLv2+
a15b07
Source:     rhc-worker-playbook-0.1.2.tar.gz
a15b07
a15b07
%{?__python3:Requires: %{__python3}}
a15b07
BuildRequires: python3-devel
a15b07
BuildRequires: platform-python-pip
a15b07
BuildRequires: openssl-devel
a15b07
BuildRequires: c-ares-devel
a15b07
BuildRequires: zlib-devel
a15b07
BuildRequires: python3dist(cython)
a15b07
a15b07
%description
a15b07
Python-based worker for Red Hat connect, used to launch Ansible playbooks via Ansible Runner.
a15b07
a15b07
%prep
a15b07
%setup -q
a15b07
a15b07
%install
a15b07
export GRPC_PYTHON_BUILD_WITH_CYTHON=True
a15b07
export GRPC_PYTHON_BUILD_SYSTEM_OPENSSL=True
a15b07
export GRPC_PYTHON_BUILD_SYSTEM_ZLIB=True
a15b07
export GRPC_PYTHON_BUILD_SYSTEM_CARES=True
a15b07
export GRPC_PYTHON_DISABLE_LIBC_COMPATIBILITY=True
a15b07
%{make_install} BUILDROOT=%{buildroot} PREFIX=%{_prefix} LIBDIR=%{_libdir} LIBEXECDIR=%{_libexecdir} PYTHON=%{__python3}
a15b07
a15b07
%post
a15b07
a15b07
%preun
a15b07
a15b07
%postun
a15b07
a15b07
%clean
a15b07
rm -rf %{buildroot}
a15b07
a15b07
%files
a15b07
%{_libexecdir}/rhc/rhc-worker-playbook.worker
a15b07
%{python3_sitelib}/rhc_worker_playbook/
a15b07
%{python3_sitelib}/rhc_worker_playbook*.egg-info/
a15b07
%{_libdir}/rhc-worker-playbook/
a15b07
a15b07
%doc
a15b07
a15b07
%changelog
a15b07