diff --git a/rubygem-puma.changes b/rubygem-puma.changes index 793d2f5..1d55444 100644 --- a/rubygem-puma.changes +++ b/rubygem-puma.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Mon Jun 5 01:16:01 UTC 2017 - mrueckert@suse.de + +- fix gem2rpm.yml syntax + ------------------------------------------------------------------- Tue Jun 6 05:40:02 UTC 2017 - coolo@suse.com diff --git a/rubygem-puma.spec b/rubygem-puma.spec index 793fde8..edc40ac 100644 --- a/rubygem-puma.spec +++ b/rubygem-puma.spec @@ -32,14 +32,15 @@ Release: 0 BuildRequires: openssl-devel # /MANUAL BuildRoot: %{_tmppath}/%{name}-%{version}-build +BuildRequires: ruby-macros >= 5 BuildRequires: %{rubydevel >= 1.9.3} BuildRequires: %{rubygem gem2rpm} BuildRequires: %{rubygem rdoc > 3.10} -BuildRequires: ruby-macros >= 5 BuildRequires: update-alternatives Url: http://puma.io Source: http://rubygems.org/gems/%{mod_full_name}.gem -Source1: gem2rpm.yml +Source1: rubygem-puma-rpmlintrc +Source2: gem2rpm.yml Summary: Puma is a simple, fast, threaded, and highly concurrent HTTP 1.1 License: BSD-3-Clause Group: Development/Languages/Ruby diff --git a/gem2rpm.yml b/gem2rpm.yml index 7796931..bab5e03 100644 --- a/gem2rpm.yml +++ b/gem2rpm.yml @@ -15,8 +15,6 @@ # ## used by gem2rpm # :disable_automatic_rdoc_dep: true # ## used by gem2rpm - :preamble: |- - BuildRequires: openssl-devel # BuildRequires: foobar # Requires: foobar # ## used by gem2rpm @@ -69,3 +67,7 @@ # :post: |- # /bin/echo foo # +:preamble: |- + BuildRequires: openssl-devel +:sources: +- rubygem-puma-rpmlintrc diff --git a/rubygem-puma-rpmlintrc b/rubygem-puma-rpmlintrc new file mode 100644 index 0000000..67d25fd --- /dev/null +++ b/rubygem-puma-rpmlintrc @@ -0,0 +1 @@ +addFilter("devel-file-in-non-devel-package")