SHA256
1
0
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:
Olaf Hering 2012-11-19 20:19:52 +00:00 committed by Git OBS Bridge
parent 7d49b08650
commit b1b9b62606

View File

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