SHA256
1
0
forked from pool/ansible-lint

- 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
This commit is contained in:
Lars Vogdt 2018-09-11 09:52:10 +00:00 committed by Git OBS Bridge
parent fe16452fea
commit 2428ad67b5
4 changed files with 57 additions and 23 deletions

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:230f741382d4b86e726cf2c65e82c45636e84e334d2c751ff1876dd2f5794225
size 34924

View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:c5e1c6500d65fa9655ef155fecd67b775701b5e427d5d978a677e5d53d584ef4
size 36922

View File

@ -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

View File

@ -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}/*