forked from pool/libguestfs
rename with_ruby to with_ruby_bindings
OBS-URL: https://build.opensuse.org/package/show/Virtualization/libguestfs?expand=0&rev=160
This commit is contained in:
parent
7d49b08650
commit
b1b9b62606
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user