File rubygem-dawnscanner.spec of Package rubygem-dawnscanner

#
# spec file for package rubygem-dawnscanner
#
# Copyright (c) 2021 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:           rubygem-dawnscanner
Version:        2.2.0
Release:        0
%define mod_name dawnscanner
%define mod_full_name %{mod_name}-%{version}
BuildRoot:      %{_tmppath}/%{name}-%{version}-build
BuildRequires:  ruby-macros >= 5
BuildRequires:  %{ruby >= 3.0.0}
BuildRequires:  %{rubygem gem2rpm}
BuildRequires:  update-alternatives
Url:            https://rubygems.org/gems/dawnscanner
Source:         https://rubygems.org/gems/%{mod_full_name}.gem
Summary:        Dawnscanner is a security source code scanner for ruby powered code
License:        MIT
Group:          Development/Languages/Ruby
PreReq:         update-alternatives

%description
dawn is a security source code scanner for ruby powered code. It is especially
designed for web applications, but it works also with general purpose ruby
scripts. Dawn supports all major MVC frameworks like ruby on rails, padrino and
sinatra; it provides more than 680 security checks with their own mitigation
suggestion.

%prep

%build

%install
%gem_install \
  --symlink-binaries \
  --doc-files="Changelog.md LICENSE.txt README.md" \
  -f

%gem_packages

%changelog
openSUSE Build Service is sponsored by