diff --git a/libguestfs.spec b/libguestfs.spec index 493c900..3bbaae9 100644 --- a/libguestfs.spec +++ b/libguestfs.spec @@ -22,7 +22,7 @@ %define with_lua_bindings 1 %define with_python_bindings 1 %define with_perl 1 -%define with_ruby 1 +%define with_ruby_bindings 1 %define with_fuse 1 %define with_hivex 1 %define with_zerofree 1 @@ -34,7 +34,7 @@ %define with_ocaml_bindings 0 %define with_lua_bindings 0 %define with_python_bindings 0 -%define with_ruby 0 +%define with_ruby_bindings 0 %define with_hivex 0 %define with_zerofree 0 %endif @@ -248,7 +248,7 @@ Obsoletes: libguestfs-python < %{version} Allows Python scripts to directly use libguestfs. %endif # -%if %{with_ruby} +%if %{with_ruby_bindings} %package -n rubygem-libguestfs Summary: Ruby bindings for libguestfs Group: System/Filesystems @@ -643,7 +643,7 @@ rm -rf $RPM_BUILD_ROOT %{_libdir}/python%{pyver}/site-packages/* %endif # -%if %{with_ruby} +%if %{with_ruby_bindings} %files -n rubygem-libguestfs %defattr(-,root,root) %{_libdir}/ruby