projects
/
platform
/
upstream
/
libsolv.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9ba0ea2
)
- fedora installs ruby stuff into site_ruby. sigh.
author
Michael Schroeder
<mls@suse.de>
Mon, 18 Jul 2011 15:52:11 +0000
(17:52 +0200)
committer
Michael Schroeder
<mls@suse.de>
Mon, 18 Jul 2011 15:52:11 +0000
(17:52 +0200)
package/libsolv.spec.in
patch
|
blob
|
history
diff --git
a/package/libsolv.spec.in
b/package/libsolv.spec.in
index
c767645
..
deec7b3
100644
(file)
--- a/
package/libsolv.spec.in
+++ b/
package/libsolv.spec.in
@@
-47,7
+47,11
@@
BuildRequires: perl-devel
BuildRequires: swig
%endif
%if %{with ruby_binding}
+%if 0%{?fedora_version}
+%global ruby_vendorarch %(ruby -rrbconfig -e 'puts Config::CONFIG["sitearchdir"]')
+%else
%global ruby_vendorarch %(ruby -rrbconfig -e 'puts Config::CONFIG["vendorarchdir"]')
+%endif
BuildRequires: ruby ruby-devel
BuildRequires: swig
%endif