SHA256
1
0
forked from pool/ansible-lint

Accepting request 1177353 from home:jbaier_cz:branches:systemsmanagement:ansible

- update Requires to include new dependency
- fix dynamic requirements inclusion

OBS-URL: https://build.opensuse.org/request/show/1177353
OBS-URL: https://build.opensuse.org/package/show/systemsmanagement:ansible/ansible-lint?expand=0&rev=53
This commit is contained in:
Johannes Kastl 2024-05-29 11:10:52 +00:00 committed by Git OBS Bridge
parent a3c34d8785
commit 871dbbd176
2 changed files with 8 additions and 1 deletions

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Tue May 28 11:51:56 UTC 2024 - Jan Baier <jbaier@suse.com>
- update Requires to include new dependency
- fix dynamic requirements inclusion
-------------------------------------------------------------------
Sat May 18 08:43:45 UTC 2024 - Johannes Kastl <opensuse_buildservice@ojkastl.de>

View File

@ -92,6 +92,7 @@ Requires: %{ansible_python}-black >= 23.10.1
Requires: %{ansible_python}-bracex >= 2.2.1
Requires: %{ansible_python}-enrich >= 1.2.7
Requires: %{ansible_python}-filelock >= 3.3.0
Requires: %{ansible_python}-importlib-metadata
Requires: %{ansible_python}-jsonschema >= 4.17.3
Requires: %{ansible_python}-packaging >= 23.1
Requires: %{ansible_python}-PyYAML >= 6.0.1
@ -108,7 +109,7 @@ Checks playbooks for practices and behavior that could potentially be improved.
%prep
%setup -n %{name}-%{version}
sed -i '/^dynamic/d' pyproject.toml
sed -i '/^dynamic/ s/"version", //' pyproject.toml
sed -i '/^description/a version = "%{version}"' pyproject.toml
sed -i '1{/\/usr\/bin\/env python/d;}' src/ansiblelint/__main__.py
sed -i '/__version__ =/ s/0.1.dev1/%{version}/' src/ansiblelint/version.py