[ruby] Filter automatically generated provides of private libraries (rhbz#947408).

Vít Ondruch vondruch at fedoraproject.org
Tue Apr 30 12:53:23 UTC 2013


commit 4f6b4d4bb45f5c265dcdd927280b01ff1506f972
Author: Vít Ondruch <vondruch at redhat.com>
Date:   Tue Apr 30 14:41:22 2013 +0200

    Filter automatically generated provides of private libraries (rhbz#947408).

 ruby.spec |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/ruby.spec b/ruby.spec
index 9a0c93e..5d8bd7c 100644
--- a/ruby.spec
+++ b/ruby.spec
@@ -167,6 +167,8 @@ BuildRequires: %{_bindir}/dtrace
 # virtual provide. It can be installed as dependency of rubypick.
 Provides: ruby(runtime_executable) = %{ruby_release}
 
+%global __provides_exclude_from ^(%{ruby_libarchdir}|%{gem_archdir})/.*\\.so$
+
 %description
 Ruby is the interpreted scripting language for quick and easy
 object-oriented programming.  It has many features to process text


More information about the scm-commits mailing list