- 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:
parent
a0c4ad6a79
commit
f99fc1e425
@ -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
|
Tue Nov 13 15:42:54 CET 2012 - ohering@suse.de
|
||||||
|
|
||||||
|
@ -19,7 +19,7 @@
|
|||||||
|
|
||||||
%define with_ocaml_tools 1
|
%define with_ocaml_tools 1
|
||||||
%define with_ocaml_bindings 1
|
%define with_ocaml_bindings 1
|
||||||
%define with_python 1
|
%define with_python_bindings 1
|
||||||
%define with_perl 1
|
%define with_perl 1
|
||||||
%define with_ruby 1
|
%define with_ruby 1
|
||||||
%define with_fuse 1
|
%define with_fuse 1
|
||||||
@ -31,6 +31,7 @@
|
|||||||
# leave features enabled in OBS main repo
|
# leave features enabled in OBS main repo
|
||||||
%else
|
%else
|
||||||
%define with_ocaml_bindings 0
|
%define with_ocaml_bindings 0
|
||||||
|
%define with_python_bindings 0
|
||||||
%define with_ruby 0
|
%define with_ruby 0
|
||||||
%define with_hivex 0
|
%define with_hivex 0
|
||||||
%define with_zerofree 0
|
%define with_zerofree 0
|
||||||
@ -233,7 +234,7 @@ Obsoletes: libguestfs-perl < %{version}
|
|||||||
Allows Perl scripts to directly use libguestfs.
|
Allows Perl scripts to directly use libguestfs.
|
||||||
%endif
|
%endif
|
||||||
#
|
#
|
||||||
%if %{with_python}
|
%if %{with_python_bindings}
|
||||||
%package -n python-libguestfs
|
%package -n python-libguestfs
|
||||||
Summary: Provides Python support for libguestfs
|
Summary: Provides Python support for libguestfs
|
||||||
Group: System/Filesystems
|
Group: System/Filesystems
|
||||||
@ -629,7 +630,7 @@ rm -rf $RPM_BUILD_ROOT
|
|||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
%endif
|
%endif
|
||||||
#
|
#
|
||||||
%if %{with_python}
|
%if %{with_python_bindings}
|
||||||
%files -n python-libguestfs
|
%files -n python-libguestfs
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
%{_libdir}/python%{pyver}/site-packages/*
|
%{_libdir}/python%{pyver}/site-packages/*
|
||||||
|
Loading…
x
Reference in New Issue
Block a user