Accepting request 1072433 from home:ojkastl_buildservice:Branch_systemsmanagement_ansible
remove wrong spec OBS-URL: https://build.opensuse.org/request/show/1072433 OBS-URL: https://build.opensuse.org/package/show/systemsmanagement:ansible/ansible-builder?expand=0&rev=3
This commit is contained in:
parent
d3bb9a6957
commit
0e5b020409
@ -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
|
|
Loading…
Reference in New Issue
Block a user