SHA256
1
0
forked from pool/libguestfs

- disable python when building for SLES11

OBS-URL: https://build.opensuse.org/package/show/Virtualization/libguestfs?expand=0&rev=150
This commit is contained in:
Olaf Hering 2012-11-13 22:41:05 +00:00 committed by Git OBS Bridge
parent a0c4ad6a79
commit f99fc1e425
2 changed files with 9 additions and 3 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Tue Nov 13 23:40:45 CET 2012 - ohering@suse.de
- disable python when building for SLES11
-------------------------------------------------------------------
Tue Nov 13 15:42:54 CET 2012 - ohering@suse.de

View File

@ -19,7 +19,7 @@
%define with_ocaml_tools 1
%define with_ocaml_bindings 1
%define with_python 1
%define with_python_bindings 1
%define with_perl 1
%define with_ruby 1
%define with_fuse 1
@ -31,6 +31,7 @@
# leave features enabled in OBS main repo
%else
%define with_ocaml_bindings 0
%define with_python_bindings 0
%define with_ruby 0
%define with_hivex 0
%define with_zerofree 0
@ -233,7 +234,7 @@ Obsoletes: libguestfs-perl < %{version}
Allows Perl scripts to directly use libguestfs.
%endif
#
%if %{with_python}
%if %{with_python_bindings}
%package -n python-libguestfs
Summary: Provides Python support for libguestfs
Group: System/Filesystems
@ -629,7 +630,7 @@ rm -rf $RPM_BUILD_ROOT
%defattr(-,root,root)
%endif
#
%if %{with_python}
%if %{with_python_bindings}
%files -n python-libguestfs
%defattr(-,root,root)
%{_libdir}/python%{pyver}/site-packages/*