From b1b9b62606e56457094ae9495f5bb62a3ff893652d286ee99369ab928a621db3 Mon Sep 17 00:00:00 2001 From: Olaf Hering Date: Mon, 19 Nov 2012 20:19:52 +0000 Subject: [PATCH] rename with_ruby to with_ruby_bindings OBS-URL: https://build.opensuse.org/package/show/Virtualization/libguestfs?expand=0&rev=160 --- libguestfs.spec | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) 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