From 6ab394dc7a253b8165a71e03817e9478c8043a3accec7c294b3481961e88f12b Mon Sep 17 00:00:00 2001 From: Lars Vogdt Date: Tue, 4 Dec 2018 15:20:39 +0000 Subject: [PATCH] Accepting request 653527 from home:zippy:jx:packages-tracking - added python-pyyaml and python-six dependencies as listed in setup.py (L22) - made the post-build test conditional as requires python2 - update to 3.5.1 + Use yaml.safe_load for loading the configuration fil - 3.5.0 + New ids and tags, add doc generator. Old tag names remain backwardly compatible (awcrosby) + Add more package formats to PackageIsNotLatestRule (simon04) + Improve handling of meta/main.yml dependencies (MatrixCrawler) + Correctly handle role argument trailing slash (zoredache) + Handle include_task and import_task (zeot) + Add a new rule to detect jinja in when clauses (greg-hellings) + Suggest replace as another alternative to sed (inponomarev) + YAML syntax highlighting for false positives (gundalow) OBS-URL: https://build.opensuse.org/request/show/653527 OBS-URL: https://build.opensuse.org/package/show/systemsmanagement/ansible-lint?expand=0&rev=5 --- ansible-lint-3.4.23.tar.gz | 3 --- ansible-lint-3.5.1.tar.gz | 3 +++ ansible-lint.changes | 19 +++++++++++++++++++ ansible-lint.spec | 19 +++++++++++++++---- 4 files changed, 37 insertions(+), 7 deletions(-) delete mode 100644 ansible-lint-3.4.23.tar.gz create mode 100644 ansible-lint-3.5.1.tar.gz diff --git a/ansible-lint-3.4.23.tar.gz b/ansible-lint-3.4.23.tar.gz deleted file mode 100644 index 5f62397..0000000 --- a/ansible-lint-3.4.23.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:c5e1c6500d65fa9655ef155fecd67b775701b5e427d5d978a677e5d53d584ef4 -size 36922 diff --git a/ansible-lint-3.5.1.tar.gz b/ansible-lint-3.5.1.tar.gz new file mode 100644 index 0000000..82b891c --- /dev/null +++ b/ansible-lint-3.5.1.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:2c6c42fc65b88c51b1eb35ab6688dfe6cf99abafdfeb300fd146955e6aac496d +size 40717 diff --git a/ansible-lint.changes b/ansible-lint.changes index d7dca4e..f86ff2c 100644 --- a/ansible-lint.changes +++ b/ansible-lint.changes @@ -1,3 +1,22 @@ +------------------------------------------------------------------- +Fri Nov 23 13:58:39 UTC 2018 - Jon Brightwell + +- added python-pyyaml and python-six dependencies as listed in setup.py (L22) +- made the post-build test conditional as requires python2 + +- update to 3.5.1 + + Use yaml.safe_load for loading the configuration fil + - 3.5.0 + + New ids and tags, add doc generator. Old tag names remain backwardly compatible (awcrosby) + + Add more package formats to PackageIsNotLatestRule (simon04) + + Improve handling of meta/main.yml dependencies (MatrixCrawler) + + Correctly handle role argument trailing slash (zoredache) + + Handle include_task and import_task (zeot) + + Add a new rule to detect jinja in when clauses (greg-hellings) + + Suggest replace as another alternative to sed (inponomarev) + + YAML syntax highlighting for false positives (gundalow) + + ------------------------------------------------------------------- Tue Sep 11 09:44:47 UTC 2018 - lars@linux-schulserver.de diff --git a/ansible-lint.spec b/ansible-lint.spec index 0c24b03..deab082 100644 --- a/ansible-lint.spec +++ b/ansible-lint.spec @@ -17,23 +17,34 @@ # -%{?!python_module:%define python_module() python-%{**} python3-%{**}} %global lib_name ansiblelint +%{?!python_module:%define python_module() python-%{**} python3-%{**}} + +%if 0%{?suse_version} >= 1500 + %define skip_python2 1 +%endif + Name: ansible-lint -Version: 3.4.23 +Version: 3.5.1 Release: 1%{?dist} Summary: Best practices checker for Ansible License: MIT Url: https://github.com/willthames/ansible-lint Source0: https://github.com/willthames/ansible-lint/archive/v%{version}/ansible-lint-%{version}.tar.gz + BuildArch: noarch +BuildRequires: python-rpm-macros BuildRequires: %{python_module devel} BuildRequires: %{python_module setuptools} +BuildRequires: %{python_module PyYAML} +BuildRequires: %{python_module six} BuildRequires: ansible -BuildRequires: python-rpm-macros BuildRequires: fdupes + Requires: ansible +Requires: %{python_module PyYAML} +Requires: %{python_module six} Requires(post): update-alternatives Requires(postun): update-alternatives %python_subpackages @@ -60,7 +71,7 @@ rm -rf *.egg-info %python_uninstall_alternative ansible-lint %check -PYTHONPATH=%{buildroot}%{python2_sitelib} %__python setup.py test +%python2_only PYTHONPATH=%{buildroot}%{python_sitelib} %__python2 setup.py test %files %python_files %defattr(-,root,root)