diff --git a/python-ansible-builder.spec b/python-ansible-builder.spec deleted file mode 100644 index 839bca9..0000000 --- a/python-ansible-builder.spec +++ /dev/null @@ -1,71 +0,0 @@ -# -# spec file for package python-ansible-builder -# -# Copyright (c) 2023 SUSE LLC -# -# All modifications and additions to the file contributed by third parties -# remain the property of their copyright owners, unless otherwise agreed -# upon. The license for this file, and modifications and additions to the -# file, is the same license as for the pristine package itself (unless the -# license for the pristine package is not an Open Source License, in which -# case the license is the MIT License). An "Open Source License" is a -# license that conforms to the Open Source Definition (Version 1.9) -# published by the Open Source Initiative. - -# Please submit bugfixes or comments via https://bugs.opensuse.org/ -# - - -%{?!python_module:%define python_module() python-%{**} python3-%{**}} -Name: python-ansible-builder -Version: 1.2.0 -Release: 0 -Summary: "A tool for building Ansible Execution Environments" -License: FIXME-UNKNOWN -URL: https://ansible-builder.readthedocs.io -Source: https://files.pythonhosted.org/packages/source/a/ansible-builder/ansible-builder-%{version}.tar.gz -BuildRequires: python-rpm-macros -BuildRequires: %{python_module setuptools} -BuildRequires: %{python_module pbr} -# SECTION test requirements -BuildRequires: %{python_module bindep} -BuildRequires: %{python_module PyYAML} -BuildRequires: %{python_module requirements-parser} -# /SECTION -BuildRequires: fdupes -Requires: python-bindep -Requires: python-PyYAML -Requires: python-requirements-parser -BuildArch: noarch -%python_subpackages - -%description -"A tool for building Ansible Execution Environments" - -%prep -%setup -q -n ansible-builder-%{version} - -%build -%python_build - -%install -%python_install -%python_clone -a %{buildroot}%{_bindir}/ansible-builder -%python_expand %fdupes %{buildroot}%{$python_sitelib} - -%check -CHOOSE: %pytest OR %pyunittest -v OR CUSTOM - -%post -%python_install_alternative ansible-builder - -%postun -%python_uninstall_alternative ansible-builder - -%files %{python_files} -%doc AUTHORS ChangeLog README.md -%license LICENSE.md -%python_alternative %{_bindir}/ansible-builder -%{python_sitelib}/* - -%changelog