From 7422d089e4bb7d6eb7bc2e307cbf422b4fc7e2f486b0d37a3cc5ab504419b0c0 Mon Sep 17 00:00:00 2001 From: Marcus Rueckert Date: Tue, 26 Aug 2008 15:48:44 +0000 Subject: [PATCH] OBS-URL: https://build.opensuse.org/package/show/devel:languages:ruby:extensions/rubygem-eventmachine?expand=0&rev=2 --- rubygem-eventmachine.rpmlintrc | 4 ++++ rubygem-eventmachine.spec | 3 ++- 2 files changed, 6 insertions(+), 1 deletion(-) create mode 100644 rubygem-eventmachine.rpmlintrc diff --git a/rubygem-eventmachine.rpmlintrc b/rubygem-eventmachine.rpmlintrc new file mode 100644 index 0000000..346c60e --- /dev/null +++ b/rubygem-eventmachine.rpmlintrc @@ -0,0 +1,4 @@ +# we package gems as it would have been installed via gem. so we also ship the source code +addFilter("devel-file-in-non-devel-package") +# using fdupes on gems breaks the debuginfo package +addFilter("files-duplicated-waste") diff --git a/rubygem-eventmachine.spec b/rubygem-eventmachine.spec index 78c965b..15e5bf5 100644 --- a/rubygem-eventmachine.spec +++ b/rubygem-eventmachine.spec @@ -21,12 +21,13 @@ License: GPL # BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRequires: rubygems_with_buildroot_patch -BuildRequires: gcc-c++ +BuildRequires: gcc-c++ openssl-devel Requires: rubygems >= 0.9 # Url: http://rubyeventmachine.com/ # http://rubyforge.org/projects/eventmachine Source: http://rubyforge.org/frs/download.php/37853/eventmachine-0.12.0.gem +Source1: rubygem-eventmachine.rpmlintrc # Summary: Ruby/EventMachine socket engine library %description