Compare commits
3 commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
5a78f2d206 |
||
|
|
8de50a372a |
||
|
|
1bbf23b7ec |
3 changed files with 21 additions and 2 deletions
1
.gitignore
vendored
1
.gitignore
vendored
|
|
@ -74,3 +74,4 @@
|
|||
/v5.3.0.tar.gz
|
||||
/v5.3.1.tar.gz
|
||||
/v5.3.2.tar.gz
|
||||
/v5.4.0.tar.gz
|
||||
|
|
|
|||
|
|
@ -3,7 +3,7 @@
|
|||
|
||||
Name: %{archive_name}
|
||||
Epoch: 1
|
||||
Version: 5.3.2
|
||||
Version: 5.4.0
|
||||
Release: 2%{?dist}
|
||||
Summary: Best practices checker for Ansible
|
||||
|
||||
|
|
@ -14,6 +14,11 @@ Source0: https://github.com/willthames/%{archive_name}/archive/v%{version
|
|||
BuildArch: noarch
|
||||
BuildRequires: pyproject-rpm-macros
|
||||
|
||||
#Below dependencies are needed for checking if this module is importable
|
||||
#this will help during build only if this build is usable or not
|
||||
BuildRequires: ansible-core
|
||||
BuildRequires: python3dist(pytest)
|
||||
|
||||
%description
|
||||
Checks playbooks for practices and behavior that could potentially be improved.
|
||||
|
||||
|
|
@ -23,6 +28,9 @@ Summary: %{summary}
|
|||
Obsoletes: python2-%{archive_name} < 3.4.23-6
|
||||
Provides: %{archive_name} = %{version}-%{release}
|
||||
|
||||
# Finally fixing this https://bugzilla.redhat.com/show_bug.cgi?id=1949362
|
||||
Requires: /usr/bin/ansible
|
||||
|
||||
%description -n python3-%{archive_name}
|
||||
Python3 module for ansible-lint.
|
||||
|
||||
|
|
@ -41,6 +49,10 @@ Python3 module for ansible-lint.
|
|||
# ansible-lint => Python 3
|
||||
# ansible-lint-3 => Python 3 (to avoid breaking anyone's scripts)
|
||||
ln -sr %{buildroot}%{_bindir}/%{name}{,-3}
|
||||
%pyproject_save_files %{lib_name}
|
||||
|
||||
%check
|
||||
%pyproject_check_import
|
||||
|
||||
%files -n python3-%{archive_name}
|
||||
%doc README.rst examples
|
||||
|
|
@ -51,6 +63,12 @@ ln -sr %{buildroot}%{_bindir}/%{name}{,-3}
|
|||
%{python3_sitelib}/ansible_lint-%{version}.dist-info/
|
||||
|
||||
%changelog
|
||||
* Thu Sep 08 2022 Parag Nemade <pnemade AT redhat DOT com> - 1:5.4.0-2
|
||||
- Add check import to make sure new releases are working
|
||||
|
||||
* Sun Feb 13 2022 Parag Nemade <pnemade AT redhat DOT com> - 1:5.4.0-1
|
||||
- Update to 5.4.0 version (#2053887)
|
||||
|
||||
* Wed Jan 19 2022 Fedora Release Engineering <releng@fedoraproject.org> - 1:5.3.2-2
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
|
||||
|
||||
|
|
|
|||
2
sources
2
sources
|
|
@ -1 +1 @@
|
|||
SHA512 (v5.3.2.tar.gz) = f364bff0ae261f44281757447726fdd4db388ea68bee1260afec4f02c49fe53236fac116dea9cff35aab233530cef2b9871eac18a12290f4302684e94f85bc8e
|
||||
SHA512 (v5.4.0.tar.gz) = f1bbbb49eb77991d60b6087646c695a938d328d719bba67707af4ed858de857d383b78490bcf0930cffebd13a0b0abde20269a47e47e4713a37da715a28c5da0
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue