ref: refs/heads/master
commit 7ca7756cb2711ad1769e6e8a9ea380afc42cf77c
Author: Michael Schroeder
Date: Wed Jul 22 12:50:13 2009 +0200
- add ruby module to filelist for fedora
---
package/libsatsolver.spec.in | 4 ++++
1 files changed, 4 insertions(+), 0 deletions(-)
diff --git a/package/libsatsolver.spec.in b/package/libsatsolver.spec.in
index 1f1761a..4713f0f 100644
--- a/package/libsatsolver.spec.in
+++ b/package/libsatsolver.spec.in
@@ -41,6 +41,7 @@ Summary: A new approach to package dependency solving
%if 0%{?fedora_version}
%{!?py_sitedir: %define py_sitedir %(%__python -c "from distutils.sysconfig import get_python_lib; print get_python_lib(1)")}
%{!?py_requires: %define py_requires Requires: python}
+%{!?ruby_sitearch: %global ruby_sitearch %(ruby -rrbconfig -e 'puts Config::CONFIG["sitearchdir"] ')}
%endif
%description
@@ -204,6 +205,9 @@ rm -rf "$RPM_BUILD_ROOT"
%if 0%{?mandriva_version}
%{ruby_sitearchdir}/satsolver.so
%endif
+%if 0%{?fedora_version}
+%{ruby_sitearch}/satsolver.so
+%endif
%doc bindings/ruby/html
%files -n python-satsolver
--
To unsubscribe, e-mail: zypp-commit+unsubscribe@opensuse.org
For additional commands, e-mail: zypp-commit+help@opensuse.org