Accepting request 1045199 from systemsmanagement:ansible
OBS-URL: https://build.opensuse.org/request/show/1045199 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/ansible-lint?expand=0&rev=14
This commit is contained in:
commit
a97291cccd
3
ansible-lint-6.10.0.tar.gz
Normal file
3
ansible-lint-6.10.0.tar.gz
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:32f365c989ffd1044a09f04448e4e058aee46f4081c0155a0a749e808897009a
|
||||
size 395805
|
@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:fdda60c0a622679adad1623aae3b96bef6df29f839db9d4476544cfc6bd0adb3
|
||||
size 388343
|
@ -1,3 +1,27 @@
|
||||
-------------------------------------------------------------------
|
||||
Fri Dec 16 12:46:39 UTC 2022 - Johannes Kastl <kastl@b1-systems.de>
|
||||
|
||||
- convert from setup.cfg to pyproject.toml
|
||||
- update to 6.10.0:
|
||||
* Minor Changes
|
||||
- Add schema for Antsibull changelogs (#2814) @ssbarnea
|
||||
- Add a rule to validate module options (#2749) @ganeshrn
|
||||
- Add meta-unsupported-ansible rule for checking requires_ansible values (#2770) @alisonlhart
|
||||
* Bugfixes
|
||||
- Avoid running lookup filters while evaluating jinja2 (#2821) @ssbarnea
|
||||
- Update schema to accept a list for 'listen' (#2817) @zigarn
|
||||
- Update changelog schema etag (#2818) @ssbarnea
|
||||
- Fix args validation with setup module (#2813) @ssbarnea
|
||||
- Adopt PEP-621 packaging (#2807) @ssbarnea
|
||||
- Restore classic behavior of offline mode (#2806) @ssbarnea
|
||||
- Avoid false positive with name[casing] (#2800) @ssbarnea
|
||||
- Use JSON Schema to validate own config file (#2797) @ssbarnea
|
||||
- Add has_jinja and has_glob to text module (#2794) @ssbarnea
|
||||
- Update schema etags (#2791) @ssbarnea
|
||||
- Fix redirected links (#2790) @ssbarnea
|
||||
- Correct schema refresh logic (#2785) @ssbarnea
|
||||
- Add OracleLinux to supported platforms and include version 8.7 and 9.1 (#2783) @facorazza
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Dec 5 09:14:15 UTC 2022 - Johannes Kastl <kastl@b1-systems.de>
|
||||
|
||||
|
@ -31,7 +31,7 @@
|
||||
%global lib_name ansiblelint
|
||||
%{?python_enable_dependency_generator}
|
||||
Name: ansible-lint
|
||||
Version: 6.9.1
|
||||
Version: 6.10.0
|
||||
Release: 0%{?dist}
|
||||
Summary: Best practices checker for Ansible
|
||||
License: MIT
|
||||
@ -98,17 +98,23 @@ Checks playbooks for practices and behavior that could potentially be improved.
|
||||
|
||||
%prep
|
||||
%setup -n %{name}-%{version}
|
||||
sed -ri 's/(\[metadata\])/\1\nversion = %{version}/' setup.cfg
|
||||
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
|
||||
|
||||
%build
|
||||
%{ansible_python_executable} -mpip wheel --no-deps --disable-pip-version-check --use-pep517 --no-build-isolation --progress-bar off --verbose . -w build/
|
||||
%{ansible_python_executable} -mpip wheel --no-deps --disable-pip-version-check --use-pep517 --no-build-isolation --progress-bar off --verbose --wheel-dir ./build/ .
|
||||
mkdir -p ./dist
|
||||
cp ./build/ansible_lint-*-none-any.whl ./dist/
|
||||
|
||||
%install
|
||||
%{ansible_python_executable} -mpip install --root %{buildroot} --disable-pip-version-check --no-compile --no-deps --progress-bar off build/ansible_lint-*.whl
|
||||
|
||||
%{ansible_python_executable} -mpip install --root %{buildroot} --disable-pip-version-check --no-compile --no-deps --progress-bar off --ignore-installed --no-index --verbose --find-links build/ansible_lint-*.whl ansible_lint==%{version}
|
||||
find %{buildroot}/%{ansible_python_sitelib} -name '*.pyc' -delete
|
||||
%{ansible_python_executable} -m compileall %{buildroot}/%{ansible_python_sitelib}
|
||||
%{ansible_python_executable} -O -m compileall %{buildroot}/%{ansible_python_sitelib}
|
||||
cp -vr src/ansiblelint/schemas %{buildroot}/%{ansible_python_sitelib}/%{lib_name}/
|
||||
cp -vr src/ansiblelint/data %{buildroot}/%{ansible_python_sitelib}/%{lib_name}/
|
||||
|
||||
%fdupes -s %{buildroot}/%{ansible_python_sitelib}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user