SHA256
1
0
forked from pool/ansible-lint

Accepting request 1008345 from home:ojkastl_buildservice:Branch_systemsmanagement_ansible

fix wrong source URLs

OBS-URL: https://build.opensuse.org/request/show/1008345
OBS-URL: https://build.opensuse.org/package/show/systemsmanagement:ansible/ansible-lint?expand=0&rev=6
This commit is contained in:
Johannes Kastl 2022-10-06 07:24:46 +00:00 committed by Git OBS Bridge
parent 4c9a3688d1
commit 506dcfa192
4 changed files with 10 additions and 5 deletions

View File

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

View File

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

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Thu Oct 6 07:09:51 UTC 2022 - Johannes Kastl <kastl@b1-systems.de>
- fix wrong source URLs
-------------------------------------------------------------------
Sun Sep 25 12:28:22 UTC 2022 - Johannes Kastl <kastl@b1-systems.de>

View File

@ -25,7 +25,7 @@ Release: 0%{?dist}
Summary: Best practices checker for Ansible
License: MIT
URL: https://github.com/ansible-community/ansible-lint
Source0: https://github.com/ansible-community/ansible-lint/archive/v%{version}/ansible-lint-%{version}.tar.gz#/ansible-lint-v%{version}.tar.gz
Source0: https://github.com/ansible-community/ansible-lint/archive/v%{version}/ansible-lint-%{version}.tar.gz#/ansible-lint-%{version}.tar.gz
BuildArch: noarch
BuildRequires: python-rpm-macros
BuildRequires: python3-PyYAML
@ -68,7 +68,7 @@ Requires: python3-yamllint >= 1.25.0
Checks playbooks for practices and behavior that could potentially be improved.
%prep
%setup -n %{name}-v%{version}
%setup -n %{name}-%{version}
sed -ri 's/(\[metadata\])/\1\nversion = %{version}/' setup.cfg
sed -i '1{/\/usr\/bin\/env python/d;}' src/ansiblelint/__main__.py