# Created by pyp2rpm-3.3.8 %global pypi_name obsah %global pypi_version 0.0.2 Name: python-%{pypi_name} Version: %{pypi_version} Release: 1%{?dist} Summary: packaging wrapper using ansible License: None URL: https://github.com/theforeman/obsah Source0: %{pypi_source} BuildArch: noarch BuildRequires: python3-devel BuildRequires: python3dist(setuptools) %description obsah - easily build CLI applications using ansible playbooks[![Documentation Status]( is an Ansible wrapper that will help you to build CLI applications by writing Ansible playbooks. necessary tools- python (2 or 3) - ansible %package -n python3-%{pypi_name} Summary: %{summary} %{?python_provide:%python_provide python3-%{pypi_name}} Requires: python3dist(ansible) >= 2.5 Requires: python3dist(argcomplete) Requires: python3dist(setuptools) %description -n python3-%{pypi_name} obsah - easily build CLI applications using ansible playbooks[![Documentation Status]( is an Ansible wrapper that will help you to build CLI applications by writing Ansible playbooks. necessary tools- python (2 or 3) - ansible %prep %autosetup -n %{pypi_name}-%{pypi_version} # Remove bundled egg-info rm -rf %{pypi_name}.egg-info %build %py3_build %install %py3_install %files -n python3-%{pypi_name} %license LICENSE %doc README.md %{_bindir}/obsah %{python3_sitelib}/%{pypi_name} %{python3_sitelib}/%{pypi_name}-%{pypi_version}-py%{python3_version}.egg-info %changelog * Thu Sep 15 2022 mockbuilder - 0.0.2-1 - Initial package.