File cfn-lint.spec of Package cfn-lint.10095
#
# spec file for package cfn-lint
#
# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via http://bugs.opensuse.org/
Name: cfn-lint
Version: 0.12.1
Release: 0
License: MIT
Summary: Validator for AWS CloudFormation YAML/JSON files
Url: https://github.com/awslabs/cfn-python-lint
Group: Development/Tools/Other
Source: https://files.pythonhosted.org/packages/source/c/cfn-lint/cfn-lint-%{version}.tar.gz
Patch: cl_drop-compatible-releases-operator.patch
BuildRequires: python3-setuptools
BuildRequires: python3-aws-sam-translator >= 1.8.0
BuildRequires: python3-jsonpatch
BuildRequires: python3-jsonschema >= 2.6
BuildRequires: python3-jsonschema < 3.0
BuildRequires: python3-PyYAML
BuildRequires: python3-requests >= 2.15.0
BuildRequires: python3-six >= 1.11
BuildRequires: python3-six < 2.0
BuildRequires: fdupes
BuildRequires: python-rpm-macros
Requires: python3-aws-sam-translator >= 1.8.0
Requires: python3-jsonpatch
Requires: python3-jsonschema >= 2.6
Requires: python3-jsonschema < 3.0
Requires: python3-PyYAML
Requires: python3-requests >= 2.15.0
Requires: python3-six >= 1.11
Requires: python3-six < 2.0
Suggests: python3-pathlib2 >= 2.3.0
BuildArch: noarch
%description
Validate CloudFormation YAML/JSON templates against the
CloudFormation spec and additional checks. Includes
checking valid values for resource properties and best practices.
%prep
%setup -q -n cfn-lint-%{version}
%patch -p1
%build
%python3_build
%install
%python3_install
%fdupes %{buildroot}%{python3_sitelib}
%files
%doc README.md
%{_bindir}/cfn-lint
%{python3_sitelib}/*
%changelog