From 2428ad67b5b0f17c2c7aefa3d2ef7bad0fb4721c4fdd9b1e148ccdd912b55682 Mon Sep 17 00:00:00 2001 From: Lars Vogdt Date: Tue, 11 Sep 2018 09:52:10 +0000 Subject: [PATCH] - update to 3.4.23 + Fix bug with using comma-separated skip_list arguments + Allow include_role and import_role (willthames) + Support arbitrary number of exclude flags (KellerFuchs) + Fix task has name check for empty name fields (ekeih) + Allow vault encrypted variables in YAML files (mozz) + Octal permission check improvements - readability, test coverage and bug fixes (willthames) + Fix very weird bug with line numbers in some test environments (kouk) + Python 3 fixes for octal literals in tests (willthames) OBS-URL: https://build.opensuse.org/package/show/systemsmanagement/ansible-lint?expand=0&rev=4 --- ansible-lint-3.4.21.tar.gz | 3 -- ansible-lint-3.4.23.tar.gz | 3 ++ ansible-lint.changes | 14 +++++++++ ansible-lint.spec | 60 +++++++++++++++++++++++++------------- 4 files changed, 57 insertions(+), 23 deletions(-) delete mode 100644 ansible-lint-3.4.21.tar.gz create mode 100644 ansible-lint-3.4.23.tar.gz diff --git a/ansible-lint-3.4.21.tar.gz b/ansible-lint-3.4.21.tar.gz deleted file mode 100644 index 69e452d..0000000 --- a/ansible-lint-3.4.21.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:230f741382d4b86e726cf2c65e82c45636e84e334d2c751ff1876dd2f5794225 -size 34924 diff --git a/ansible-lint-3.4.23.tar.gz b/ansible-lint-3.4.23.tar.gz new file mode 100644 index 0000000..5f62397 --- /dev/null +++ b/ansible-lint-3.4.23.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:c5e1c6500d65fa9655ef155fecd67b775701b5e427d5d978a677e5d53d584ef4 +size 36922 diff --git a/ansible-lint.changes b/ansible-lint.changes index d03dca2..d7dca4e 100644 --- a/ansible-lint.changes +++ b/ansible-lint.changes @@ -1,3 +1,17 @@ +------------------------------------------------------------------- +Tue Sep 11 09:44:47 UTC 2018 - lars@linux-schulserver.de + +- update to 3.4.23 + + Fix bug with using comma-separated skip_list arguments + + Allow include_role and import_role (willthames) + + Support arbitrary number of exclude flags (KellerFuchs) + + Fix task has name check for empty name fields (ekeih) + + Allow vault encrypted variables in YAML files (mozz) + + Octal permission check improvements - readability, test + coverage and bug fixes (willthames) + + Fix very weird bug with line numbers in some test environments (kouk) + + Python 3 fixes for octal literals in tests (willthames) + ------------------------------------------------------------------- Mon May 7 11:05:23 UTC 2018 - lars@linux-schulserver.de diff --git a/ansible-lint.spec b/ansible-lint.spec index 4e9c54f..0c24b03 100644 --- a/ansible-lint.spec +++ b/ansible-lint.spec @@ -1,23 +1,40 @@ +# +# spec file for package ansible-lint +# +# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright 2018 by Lars Vogdt +# +# 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 http://bugs.opensuse.org/ +# + + %{?!python_module:%define python_module() python-%{**} python3-%{**}} %global lib_name ansiblelint -Name: ansible-lint -Version: 3.4.21 -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_module devel} -BuildRequires: %{python_module setuptools} -BuildRequires: ansible -BuildRequires: python-rpm-macros -BuildRequires: fdupes -Requires: ansible -Requires(post): update-alternatives +Name: ansible-lint +Version: 3.4.23 +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_module devel} +BuildRequires: %{python_module setuptools} +BuildRequires: ansible +BuildRequires: python-rpm-macros +BuildRequires: fdupes +Requires: ansible +Requires(post): update-alternatives Requires(postun): update-alternatives %python_subpackages @@ -28,8 +45,6 @@ Checks playbooks for practices and behavior that could potentially be improved %autosetup -n ansible-lint-%{version} rm -rf *.egg-info -#find -name '*.py' | xargs sed -i '1s|^#!python|#!%%{__python2}|' - %build %python_build @@ -48,8 +63,13 @@ rm -rf *.egg-info PYTHONPATH=%{buildroot}%{python2_sitelib} %__python setup.py test %files %python_files -%defattr(-,root,root,-) +%defattr(-,root,root) %doc README.md +%if 0%{?suse_version} >= 1500 +%license LICENSE +%else +%doc LICENSE +%endif %python_alternative %{_bindir}/ansible-lint %{python_sitelib}/*