diff --git a/gem2rpm.yml b/gem2rpm.yml index 01b0245..d39cd85 100644 --- a/gem2rpm.yml +++ b/gem2rpm.yml @@ -1,6 +1,5 @@ -# --- -# ## used by gem2rpm -# :summary: this is a custom summary +--- +:summary: Ruby module for reading and writing zip files # ## used by gem2rpm # :description: |- # this is a custom description diff --git a/rubygem-rubyzip.changes b/rubygem-rubyzip.changes index 75d1788..6cd25d5 100644 --- a/rubygem-rubyzip.changes +++ b/rubygem-rubyzip.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Fri Feb 28 09:21:54 UTC 2020 - Stephan Kulow + +- Fix rpmlint complains (removing rubygem-rubyzip.rpmlintrc) + ------------------------------------------------------------------- Mon Feb 3 08:25:11 UTC 2020 - Dan Čermák diff --git a/rubygem-rubyzip.rpmlintrc b/rubygem-rubyzip.rpmlintrc deleted file mode 100644 index 38189b6..0000000 --- a/rubygem-rubyzip.rpmlintrc +++ /dev/null @@ -1 +0,0 @@ -addFilter("summary-not-capitalized.*") diff --git a/rubygem-rubyzip.spec b/rubygem-rubyzip.spec index 26307eb..5009997 100644 --- a/rubygem-rubyzip.spec +++ b/rubygem-rubyzip.spec @@ -16,26 +16,28 @@ # -%define mod_name rubyzip -%define mod_full_name %{mod_name}-%{version} # # This file was generated with a gem2rpm.yml and not just plain gem2rpm. # All sections marked as MANUAL, license headers, summaries and descriptions # can be maintained in that file. Please consult this file before editing any # of those fields # + Name: rubygem-rubyzip Version: 2.2.0 Release: 0 -Summary: rubyzip is a ruby module for reading and writing zip files -License: BSD-2-Clause -Group: Development/Languages/Ruby -URL: https://github.com/rubyzip/rubyzip -Source: https://rubygems.org/gems/%{mod_full_name}.gem -Source1: gem2rpm.yml +%define mod_name rubyzip +%define mod_full_name %{mod_name}-%{version} +BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRequires: %{ruby >= 2.4} BuildRequires: %{rubygem gem2rpm} BuildRequires: ruby-macros >= 5 +URL: http://github.com/rubyzip/rubyzip +Source: https://rubygems.org/gems/%{mod_full_name}.gem +Source1: gem2rpm.yml +Summary: Ruby module for reading and writing zip files +License: BSD-2-Clause +Group: Development/Languages/Ruby %description rubyzip is a ruby module for reading and writing zip files.