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
This commit is contained in:
Lars Vogdt 2018-12-04 15:20:39 +00:00 committed by Git OBS Bridge
parent 2428ad67b5
commit 6ab394dc7a
4 changed files with 37 additions and 7 deletions

View File

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

View File

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

View File

@ -1,3 +1,22 @@
-------------------------------------------------------------------
Fri Nov 23 13:58:39 UTC 2018 - Jon Brightwell <jon.brightwell@zpg.co.uk>
- 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 Tue Sep 11 09:44:47 UTC 2018 - lars@linux-schulserver.de

View File

@ -17,23 +17,34 @@
# #
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
%global lib_name ansiblelint %global lib_name ansiblelint
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
%if 0%{?suse_version} >= 1500
%define skip_python2 1
%endif
Name: ansible-lint Name: ansible-lint
Version: 3.4.23 Version: 3.5.1
Release: 1%{?dist} Release: 1%{?dist}
Summary: Best practices checker for Ansible Summary: Best practices checker for Ansible
License: MIT License: MIT
Url: https://github.com/willthames/ansible-lint Url: https://github.com/willthames/ansible-lint
Source0: https://github.com/willthames/ansible-lint/archive/v%{version}/ansible-lint-%{version}.tar.gz Source0: https://github.com/willthames/ansible-lint/archive/v%{version}/ansible-lint-%{version}.tar.gz
BuildArch: noarch BuildArch: noarch
BuildRequires: python-rpm-macros
BuildRequires: %{python_module devel} BuildRequires: %{python_module devel}
BuildRequires: %{python_module setuptools} BuildRequires: %{python_module setuptools}
BuildRequires: %{python_module PyYAML}
BuildRequires: %{python_module six}
BuildRequires: ansible BuildRequires: ansible
BuildRequires: python-rpm-macros
BuildRequires: fdupes BuildRequires: fdupes
Requires: ansible Requires: ansible
Requires: %{python_module PyYAML}
Requires: %{python_module six}
Requires(post): update-alternatives Requires(post): update-alternatives
Requires(postun): update-alternatives Requires(postun): update-alternatives
%python_subpackages %python_subpackages
@ -60,7 +71,7 @@ rm -rf *.egg-info
%python_uninstall_alternative ansible-lint %python_uninstall_alternative ansible-lint
%check %check
PYTHONPATH=%{buildroot}%{python2_sitelib} %__python setup.py test %python2_only PYTHONPATH=%{buildroot}%{python_sitelib} %__python2 setup.py test
%files %python_files %files %python_files
%defattr(-,root,root) %defattr(-,root,root)