From 277a8d80cd6b4ce6127138eab51afc19feb602a7b7761ab10c5d8274cbb01558 Mon Sep 17 00:00:00 2001 From: Theo Chatzimichos Date: Sun, 28 Jan 2018 15:04:38 +0000 Subject: [PATCH] OBS-URL: https://build.opensuse.org/package/show/devel:languages:ruby:extensions/rubygem-rdiscount?expand=0&rev=21 --- gem2rpm.yml | 3 ++- rubygem-rdiscount-rpmlintrc | 1 + rubygem-rdiscount.spec | 2 -- 3 files changed, 3 insertions(+), 3 deletions(-) create mode 100644 rubygem-rdiscount-rpmlintrc diff --git a/gem2rpm.yml b/gem2rpm.yml index aead4f5..772b27c 100644 --- a/gem2rpm.yml +++ b/gem2rpm.yml @@ -29,7 +29,8 @@ # foo.patch: -p1 # bar.patch: # ## used by gem2rpm -# :sources: +:sources: + - rubygem-rdiscount-rpmlintrc # - foo.desktop # - bar.desktop # :gem_install_args: '....' diff --git a/rubygem-rdiscount-rpmlintrc b/rubygem-rdiscount-rpmlintrc new file mode 100644 index 0000000..67d25fd --- /dev/null +++ b/rubygem-rdiscount-rpmlintrc @@ -0,0 +1 @@ +addFilter("devel-file-in-non-devel-package") diff --git a/rubygem-rdiscount.spec b/rubygem-rdiscount.spec index c72ef86..3a81366 100644 --- a/rubygem-rdiscount.spec +++ b/rubygem-rdiscount.spec @@ -34,11 +34,9 @@ Conflicts: ruby = 1.9.2 # and ">" operators. Otherwise it won't build. # This is a manual hack until the != operator for ruby gets correctly # translated by gem2rpm -#BuildRequires: ruby-devel > 1.9.2 # /MANUAL BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRequires: ruby-macros >= 5 -#BuildRequires: %{rubydevel < 1.9.2} BuildRequires: %{rubydevel > 1.9.2} BuildRequires: %{rubygem gem2rpm} BuildRequires: update-alternatives