diff --git a/ansible-lint-6.16.1.tar.gz b/ansible-lint-6.16.1.tar.gz deleted file mode 100644 index e105c49..0000000 --- a/ansible-lint-6.16.1.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:7c8a9e122079201f8850f1c976118ff5c366e28c5f43f22a19cb712f55f57a43 -size 418438 diff --git a/ansible-lint-6.16.2.tar.gz b/ansible-lint-6.16.2.tar.gz new file mode 100644 index 0000000..d841ec2 --- /dev/null +++ b/ansible-lint-6.16.2.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:dc11ac1879d9d1ed0a5ca43dd779069e5bd8ec67264d838e5f7f4de809b29c14 +size 421872 diff --git a/ansible-lint.changes b/ansible-lint.changes index 51a6fc9..0754ef0 100644 --- a/ansible-lint.changes +++ b/ansible-lint.changes @@ -1,3 +1,37 @@ +------------------------------------------------------------------- +Mon May 22 05:39:01 UTC 2023 - Johannes Kastl + +- update to 6.16.2: + * Bugfixes + - Update test dependencies (#3470) @ssbarnea + - Fix and document installing of requirements.yml files (#3471) + @ssbarnea + - Do not ever exclude files given as arguments (#3468) + @ssbarnea + - Ensure we return error if argument gives are not present + (#3467) @ssbarnea + - Allow rules to expose all tags they can produce (#3464) + @ssbarnea + - Enable var-name rule to detect read-only variables (#3462) + @ssbarnea + - Add Oracle Enterprise Linux 7.* (#3463) @Rylon + - Fix for var-naming rule to not break on include_tasks and + vars (#3458) @ajinkyau + - var-naming now prevents use of Ansible reserved names (#3460) + @ssbarnea + - Ensure that we also lint files from git submodules (#3431) + @ssbarnea + - Adding 2.16 to the list of allowed ansible-core versions in + meta-runtime rule (#3455) @alisonlhart + +------------------------------------------------------------------- +Wed May 17 09:06:08 UTC 2023 - Johannes Kastl + +- adjust BuildRequires and Requires to actual requirements, + especially python-ansible-compat >= 4.0.1 +- properly set the version, so 'ansible-lint --version' gives the + right information + ------------------------------------------------------------------- Tue May 16 09:10:11 UTC 2023 - Johannes Kastl diff --git a/ansible-lint.spec b/ansible-lint.spec index b27cbb4..4fef575 100644 --- a/ansible-lint.spec +++ b/ansible-lint.spec @@ -40,7 +40,7 @@ %global lib_name ansiblelint %{?python_enable_dependency_generator} Name: ansible-lint -Version: 6.16.1 +Version: 6.16.2 Release: 0%{?dist} Summary: Best practices checker for Ansible License: MIT @@ -67,36 +67,39 @@ BuildRequires: %{ansible_python}-flake8 # Add runtime requirements (unless required for tests) # to make sure this only builds if they are present -BuildRequires: ansible-core >= 2.14 -BuildRequires: %{ansible_python}-ansible-compat >= 2.2.5 -BuildRequires: %{ansible_python}-enrich >= 1.2.6 -BuildRequires: %{ansible_python}-filelock >= 3.8.0 -BuildRequires: %{ansible_python}-jsonschema >= 4.17.0 +# https://github.com/ansible/ansible-lint/blob/main/.config/requirements-lock.txt +BuildRequires: ansible-core >= 2.15 +BuildRequires: %{ansible_python}-ansible-compat >= 4.0.1 +BuildRequires: %{ansible_python}-black >= 23.3.0 +BuildRequires: %{ansible_python}-enrich >= 1.2.7 +BuildRequires: %{ansible_python}-filelock >= 3.12.0 +BuildRequires: %{ansible_python}-jsonschema >= 4.17.3 BuildRequires: %{ansible_python}-packaging >= 21.3 -BuildRequires: %{ansible_python}-PyYAML >= 5.4.1 -BuildRequires: %{ansible_python}-rich >= 12.0.0 -BuildRequires: (%{ansible_python}-ruamel.yaml >= 0.17.21 and %{ansible_python}-ruamel.yaml < 0.18) -BuildRequires: %{ansible_python}-subprocess-tee +BuildRequires: %{ansible_python}-PyYAML >= 6.0 +BuildRequires: %{ansible_python}-rich >= 13.3.5 +BuildRequires: (%{ansible_python}-ruamel.yaml >= 0.17.26 and %{ansible_python}-ruamel.yaml < 0.18) +BuildRequires: %{ansible_python}-subprocess-tee >= 0.4.1 BuildRequires: %{ansible_python}-tenacity -BuildRequires: %{ansible_python}-wcmatch >= 8.3.2 -BuildRequires: %{ansible_python}-yamllint >= 1.26.3 +BuildRequires: %{ansible_python}-wcmatch >= 8.4.1 +BuildRequires: %{ansible_python}-yamllint >= 1.31.0 # -Requires: ansible-core >= 2.14 -Requires: %{ansible_python}-ansible-compat >= 2.2.5 -Requires: %{ansible_python}-black >= 22.8.0 -Requires: %{ansible_python}-bracex +# https://github.com/ansible/ansible-lint/blob/main/.config/requirements-lock.txt +Requires: ansible-core >= 2.15 +Requires: %{ansible_python}-ansible-compat >= 4.0.1 +Requires: %{ansible_python}-black >= 23.3.0 +Requires: %{ansible_python}-bracex >= 2.2.1 Requires: %{ansible_python}-enrich >= 1.2.6 -Requires: %{ansible_python}-filelock +Requires: %{ansible_python}-filelock >= 3.12.0 Requires: %{ansible_python}-jsonschema >= 4.17.0 Requires: %{ansible_python}-packaging >= 21.3 -Requires: %{ansible_python}-PyYAML >= 5.4.1 -Requires: %{ansible_python}-rich >= 12.0.0 -Requires: (%{ansible_python}-ruamel.yaml >= 0.17.21 and %{ansible_python}-ruamel.yaml < 0.18) -Requires: %{ansible_python}-subprocess-tee +Requires: %{ansible_python}-PyYAML >= 6.0 +Requires: %{ansible_python}-rich >= 13.3.5 +Requires: (%{ansible_python}-ruamel.yaml >= 0.17.26 and %{ansible_python}-ruamel.yaml < 0.18) +Requires: %{ansible_python}-subprocess-tee >= 0.4.1 Requires: %{ansible_python}-tenacity -Requires: %{ansible_python}-wcmatch >= 8.3.2 -Requires: %{ansible_python}-yamllint >= 1.26.3 +Requires: %{ansible_python}-wcmatch >= 8.4.1 +Requires: %{ansible_python}-yamllint >= 1.31.0 %description Checks playbooks for practices and behavior that could potentially be improved. @@ -106,6 +109,7 @@ Checks playbooks for practices and behavior that could potentially be improved. sed -i '/^dynamic/d' 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 %build %{ansible_python_executable} -mpip wheel --no-deps --disable-pip-version-check --use-pep517 --no-build-isolation --progress-bar off --verbose --wheel-dir ./build/ .