Accepting request 1087763 from home:ojkastl_buildservice:Branch_systemsmanagement_ansible
- fix 'ansible-builder --version' not reporting the right version OBS-URL: https://build.opensuse.org/request/show/1087763 OBS-URL: https://build.opensuse.org/package/show/systemsmanagement:ansible/ansible-builder?expand=0&rev=6
This commit is contained in:
parent
8706ef6f04
commit
fff380e070
@ -1,3 +1,8 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Thu May 18 08:31:38 UTC 2023 - Johannes Kastl <kastl@b1-systems.de>
|
||||||
|
|
||||||
|
- fix 'ansible-builder --version' not reporting the right version
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Mon May 15 20:12:30 UTC 2023 - Johannes Kastl <kastl@b1-systems.de>
|
Mon May 15 20:12:30 UTC 2023 - Johannes Kastl <kastl@b1-systems.de>
|
||||||
|
|
||||||
|
@ -45,17 +45,18 @@ License: Apache-2.0
|
|||||||
URL: https://github.com/ansible/ansible-builder
|
URL: https://github.com/ansible/ansible-builder
|
||||||
Source: https://files.pythonhosted.org/packages/source/a/ansible-builder/ansible-builder-%{version}.tar.gz
|
Source: https://files.pythonhosted.org/packages/source/a/ansible-builder/ansible-builder-%{version}.tar.gz
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
BuildRequires: %{ansible_python}-base >= 3.8
|
# https://github.com/ansible/ansible-builder/blob/devel/setup.cfg#L41
|
||||||
|
BuildRequires: %{ansible_python}-base >= 3.9
|
||||||
BuildRequires: %{ansible_python}-pip
|
BuildRequires: %{ansible_python}-pip
|
||||||
BuildRequires: %{ansible_python}-setuptools
|
BuildRequires: %{ansible_python}-setuptools
|
||||||
BuildRequires: %{ansible_python}-wheel
|
BuildRequires: %{ansible_python}-wheel
|
||||||
BuildRequires: ansible-core
|
BuildRequires: ansible-core
|
||||||
BuildRequires: python-rpm-macros
|
BuildRequires: python-rpm-macros
|
||||||
# https://github.com/ansible/ansible-builder/blob/devel/requirements.txt
|
# https://github.com/ansible/ansible-builder/blob/devel/requirements.txt
|
||||||
BuildRequires: %{ansible_python}-pbr
|
|
||||||
BuildRequires: %{ansible_python}-PyYAML
|
BuildRequires: %{ansible_python}-PyYAML
|
||||||
BuildRequires: %{ansible_python}-bindep
|
BuildRequires: %{ansible_python}-bindep
|
||||||
BuildRequires: %{ansible_python}-jsonschema
|
BuildRequires: %{ansible_python}-jsonschema
|
||||||
|
BuildRequires: %{ansible_python}-pbr
|
||||||
BuildRequires: %{ansible_python}-requirements-parser
|
BuildRequires: %{ansible_python}-requirements-parser
|
||||||
#
|
#
|
||||||
# Tests require podman, but also require connectivity to pull container images
|
# Tests require podman, but also require connectivity to pull container images
|
||||||
@ -86,6 +87,7 @@ https://ansible-builder.readthedocs.io/en/latest/
|
|||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q -n ansible-builder-%{version}
|
%setup -q -n ansible-builder-%{version}
|
||||||
|
sed -i '/return importlib.metadata.version/ s/return.*$/return "%{version}"/' src/ansible_builder/cli.py
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%pyproject_wheel
|
%pyproject_wheel
|
||||||
|
Loading…
Reference in New Issue
Block a user