commit f794f7db4b6489dea6d3a6ab1a1e38db4d7e60a873af197595848e1f4b66a501 Author: Klaus Kämpf Date: Sun Sep 10 06:42:53 2017 +0000 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 diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..9b03811 --- /dev/null +++ b/.gitattributes @@ -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 diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..57affb6 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +.osc diff --git a/ansible-lint-3.4.15.tar.gz b/ansible-lint-3.4.15.tar.gz new file mode 100644 index 0000000..009f582 --- /dev/null +++ b/ansible-lint-3.4.15.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:a7a4eac2a3b0f8f8c1954693b1d8307f3c86a1a8dd506ec185b6e452f5069185 +size 31804 diff --git a/ansible-lint.changes b/ansible-lint.changes new file mode 100644 index 0000000..0e44d7d --- /dev/null +++ b/ansible-lint.changes @@ -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 - 3.4.12-1 + +- Update to 3.4.12 version + + +------------------------------------------------------------------- +Mon Feb 13 00:00:00 UTC 2017 - Parag Nemade - 3.4.11-1 + +- Update to 3.4.11 + + +------------------------------------------------------------------- +Mon Jan 16 00:00:00 UTC 2017 - Parag Nemade - 3.4.10-1 + +- Update to 3.4.10 + + +------------------------------------------------------------------- +Thu Dec 22 00:00:00 UTC 2016 - Parag Nemade - 3.4.9-1 + +- Update to 3.4.9 + + +------------------------------------------------------------------- +Fri Dec 16 00:00:00 UTC 2016 - Parag Nemade - 3.4.8-1 + +- Update to 3.4.8 + + +------------------------------------------------------------------- +Mon Dec 5 00:00:00 UTC 2016 - Parag Nemade - 3.4.7-1 + +- Update to 3.4.7 + + +------------------------------------------------------------------- +Tue Nov 15 00:00:00 UTC 2016 - Parag Nemade - 3.4.4-1 + +- Update to 3.4.4 + + +------------------------------------------------------------------- +Tue Nov 8 00:00:00 UTC 2016 - Parag Nemade - 3.4.3-1 + +- Update to 3.4.3 + + +------------------------------------------------------------------- +Fri Oct 28 00:00:00 UTC 2016 - Parag Nemade - 3.4.1-1 + +- Update to 3.4.1 + + +------------------------------------------------------------------- +Fri Sep 30 00:00:00 UTC 2016 - Parag Nemade - 3.3.3-1 + +- Update to 3.3.3 + + +------------------------------------------------------------------- +Fri Jul 15 00:00:00 UTC 2016 - Parag Nemade - 3.1.3-1 + +- Upstream release 3.1.3 + + +------------------------------------------------------------------- +Fri Jun 24 00:00:00 UTC 2016 - Parag Nemade - 3.0.1-1 + +- Update to 3.0.1 release + + +------------------------------------------------------------------- +Thu Jun 23 00:00:00 UTC 2016 - Parag Nemade - 3.0.0-1 + +- Update to 3.0.0 release + + +------------------------------------------------------------------- +Sat May 21 00:00:00 UTC 2016 - Parag Nemade - 2.6.2-1 + +- Update to 2.6.2 +- use %license macro +- disable tests + + +------------------------------------------------------------------- +Fri Dec 5 00:00:00 UTC 2014 - Parag Nemade - 2.0.1-1 + +- Update to 2.0.1 + + +------------------------------------------------------------------- +Mon Oct 27 00:00:00 UTC 2014 - Parag Nemade - 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 - 1.0.2-2 + +- Better add upstream LICENSE file, not present in tarball + + +------------------------------------------------------------------- +Wed Sep 24 00:00:00 UTC 2014 - Parag Nemade - 1.0.2-1 + +- Initial packaging + + diff --git a/ansible-lint.spec b/ansible-lint.spec new file mode 100644 index 0000000..17a4db7 --- /dev/null +++ b/ansible-lint.spec @@ -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