Accepting request 522429 from home:bmanojlovic
this is initial packaging for *suse based on rhel package - update to 3.4.15 - Update to 3.4.12 version - Update to 3.4.11 - Update to 3.4.10 - Update to 3.4.9 - Update to 3.4.8 - Update to 3.4.7 - Update to 3.4.4 - Update to 3.4.3 - Update to 3.4.1 - Update to 3.3.3 - Upstream release 3.1.3 - Update to 3.0.1 release - Update to 3.0.0 release - Update to 2.6.2 - use %license macro - disable tests - Update to 2.0.1 - rename to ansible-lint - new upstream 1.0.4 release which added LICENSE file. - Better add upstream LICENSE file, not present in tarball - Initial packaging OBS-URL: https://build.opensuse.org/request/show/522429 OBS-URL: https://build.opensuse.org/package/show/systemsmanagement/ansible-lint?expand=0&rev=1
This commit is contained in:
commit
f794f7db4b
23
.gitattributes
vendored
Normal file
23
.gitattributes
vendored
Normal file
@ -0,0 +1,23 @@
|
|||||||
|
## Default LFS
|
||||||
|
*.7z filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.bsp filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.bz2 filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.gem filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.gz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.jar filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.lz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.lzma filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.obscpio filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.oxt filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.pdf filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.png filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.rpm filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.tbz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.tbz2 filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.tgz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.ttf filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.txz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.whl filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.xz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.zip filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.zst filter=lfs diff=lfs merge=lfs -text
|
1
.gitignore
vendored
Normal file
1
.gitignore
vendored
Normal file
@ -0,0 +1 @@
|
|||||||
|
.osc
|
3
ansible-lint-3.4.15.tar.gz
Normal file
3
ansible-lint-3.4.15.tar.gz
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:a7a4eac2a3b0f8f8c1954693b1d8307f3c86a1a8dd506ec185b6e452f5069185
|
||||||
|
size 31804
|
116
ansible-lint.changes
Normal file
116
ansible-lint.changes
Normal file
@ -0,0 +1,116 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed Sep 6 08:18:15 UTC 2017 - boris@steki.net
|
||||||
|
|
||||||
|
- update to 3.4.15
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Mon Mar 20 00:00:00 UTC 2017 - Parag Nemade <pnemade AT redhat DOT com> - 3.4.12-1
|
||||||
|
|
||||||
|
- Update to 3.4.12 version
|
||||||
|
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Mon Feb 13 00:00:00 UTC 2017 - Parag Nemade <pnemade AT redhat DOT com> - 3.4.11-1
|
||||||
|
|
||||||
|
- Update to 3.4.11
|
||||||
|
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Mon Jan 16 00:00:00 UTC 2017 - Parag Nemade <pnemade AT redhat DOT com> - 3.4.10-1
|
||||||
|
|
||||||
|
- Update to 3.4.10
|
||||||
|
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Thu Dec 22 00:00:00 UTC 2016 - Parag Nemade <pnemade AT redhat DOT com> - 3.4.9-1
|
||||||
|
|
||||||
|
- Update to 3.4.9
|
||||||
|
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Fri Dec 16 00:00:00 UTC 2016 - Parag Nemade <pnemade AT redhat DOT com> - 3.4.8-1
|
||||||
|
|
||||||
|
- Update to 3.4.8
|
||||||
|
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Mon Dec 5 00:00:00 UTC 2016 - Parag Nemade <pnemade AT redhat DOT com> - 3.4.7-1
|
||||||
|
|
||||||
|
- Update to 3.4.7
|
||||||
|
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Tue Nov 15 00:00:00 UTC 2016 - Parag Nemade <pnemade AT redhat DOT com> - 3.4.4-1
|
||||||
|
|
||||||
|
- Update to 3.4.4
|
||||||
|
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Tue Nov 8 00:00:00 UTC 2016 - Parag Nemade <pnemade AT redhat DOT com> - 3.4.3-1
|
||||||
|
|
||||||
|
- Update to 3.4.3
|
||||||
|
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Fri Oct 28 00:00:00 UTC 2016 - Parag Nemade <pnemade AT redhat DOT com> - 3.4.1-1
|
||||||
|
|
||||||
|
- Update to 3.4.1
|
||||||
|
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Fri Sep 30 00:00:00 UTC 2016 - Parag Nemade <pnemade AT redhat DOT com> - 3.3.3-1
|
||||||
|
|
||||||
|
- Update to 3.3.3
|
||||||
|
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Fri Jul 15 00:00:00 UTC 2016 - Parag Nemade <pnemade AT redhat DOT com> - 3.1.3-1
|
||||||
|
|
||||||
|
- Upstream release 3.1.3
|
||||||
|
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Fri Jun 24 00:00:00 UTC 2016 - Parag Nemade <pnemade AT redhat DOT com> - 3.0.1-1
|
||||||
|
|
||||||
|
- Update to 3.0.1 release
|
||||||
|
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Thu Jun 23 00:00:00 UTC 2016 - Parag Nemade <pnemade AT redhat DOT com> - 3.0.0-1
|
||||||
|
|
||||||
|
- Update to 3.0.0 release
|
||||||
|
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Sat May 21 00:00:00 UTC 2016 - Parag Nemade <pnemade AT redhat DOT com> - 2.6.2-1
|
||||||
|
|
||||||
|
- Update to 2.6.2
|
||||||
|
- use %license macro
|
||||||
|
- disable tests
|
||||||
|
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Fri Dec 5 00:00:00 UTC 2014 - Parag Nemade <pnemade AT redhat DOT com> - 2.0.1-1
|
||||||
|
|
||||||
|
- Update to 2.0.1
|
||||||
|
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Mon Oct 27 00:00:00 UTC 2014 - Parag Nemade <pnemade AT redhat DOT com> - 1.0.4-1
|
||||||
|
|
||||||
|
- rename to ansible-lint
|
||||||
|
- new upstream 1.0.4 release which added LICENSE file.
|
||||||
|
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Sat Oct 25 00:00:00 UTC 2014 - Parag Nemade <pnemade AT redhat DOT com> - 1.0.2-2
|
||||||
|
|
||||||
|
- Better add upstream LICENSE file, not present in tarball
|
||||||
|
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed Sep 24 00:00:00 UTC 2014 - Parag Nemade <pnemade AT redhat DOT com> - 1.0.2-1
|
||||||
|
|
||||||
|
- Initial packaging
|
||||||
|
|
||||||
|
|
56
ansible-lint.spec
Normal file
56
ansible-lint.spec
Normal file
@ -0,0 +1,56 @@
|
|||||||
|
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
||||||
|
%global lib_name ansiblelint
|
||||||
|
|
||||||
|
Name: ansible-lint
|
||||||
|
Version: 3.4.15
|
||||||
|
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
|
||||||
|
|
||||||
|
%description
|
||||||
|
Checks playbooks for practices and behavior that could potentially be improved
|
||||||
|
|
||||||
|
%prep
|
||||||
|
%autosetup -n ansible-lint-%{version}
|
||||||
|
rm -rf *.egg-info
|
||||||
|
|
||||||
|
#find -name '*.py' | xargs sed -i '1s|^#!python|#!%%{__python2}|'
|
||||||
|
|
||||||
|
%build
|
||||||
|
%python_build
|
||||||
|
|
||||||
|
%install
|
||||||
|
%python_install
|
||||||
|
%python_clone -a %{buildroot}%{_bindir}/ansible-lint
|
||||||
|
%python_expand %fdupes -s %{buildroot}/%{$python_sitelib}
|
||||||
|
|
||||||
|
%post
|
||||||
|
%python_install_alternative ansible-lint
|
||||||
|
|
||||||
|
%postun
|
||||||
|
%python_uninstall_alternative ansible-lint
|
||||||
|
|
||||||
|
%check
|
||||||
|
%__python setup.py test
|
||||||
|
|
||||||
|
%files %python_files
|
||||||
|
%defattr(-,root,root,-)
|
||||||
|
%doc README.md
|
||||||
|
%python_alternative %{_bindir}/ansible-lint
|
||||||
|
%{python_sitelib}/*
|
||||||
|
|
||||||
|
%changelog
|
Loading…
Reference in New Issue
Block a user