1
0
forked from pool/ocaml-libvirt

- Replace tabs with spaces in generated _oasis file

OBS-URL: https://build.opensuse.org/package/show/devel:languages:ocaml/ocaml-libvirt?expand=0&rev=14
This commit is contained in:
Olaf Hering 2017-05-31 07:36:09 +00:00 committed by Git OBS Bridge
parent 0240bed888
commit e31e168979
2 changed files with 43 additions and 38 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Wed May 31 07:07:33 UTC 2017 - olaf@aepfle.de
- Replace tabs with spaces in generated _oasis file
------------------------------------------------------------------- -------------------------------------------------------------------
Mon May 30 06:39:17 UTC 2016 - ohering@suse.de Mon May 30 06:39:17 UTC 2016 - ohering@suse.de

View File

@ -1,7 +1,7 @@
# #
# spec file for package ocaml-libvirt # spec file for package ocaml-libvirt
# #
# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany. # Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
# #
# All modifications and additions to the file contributed by third parties # All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed # remain the property of their copyright owners, unless otherwise agreed
@ -82,59 +82,59 @@ popd
sh -c "sed 's/^Version.*/Version: %{version}/' | tee _oasis" <<_EOF_ sh -c "sed 's/^Version.*/Version: %{version}/' | tee _oasis" <<_EOF_
OASISFormat: 0.4 OASISFormat: 0.4
Name: libvirt Name: libvirt
Version: 20160605.10e2437 Version: 0
Synopsis: binding for libvirt Synopsis: binding for libvirt
Authors: Richard W.M. Jones Authors: Richard W.M. Jones
License: LGPL-2.0+ License: %{license}
Plugins: META(`oasis version`) Plugins: META(`oasis version`)
BuildTools: ocamlbuild BuildTools: ocamlbuild
Library mllibvirt Library mllibvirt
Path: libvirt Path: libvirt
Install: true Install: true
Modules: Libvirt, Libvirt_version Modules: Libvirt, Libvirt_version
FindlibName: libvirt FindlibName: libvirt
BuildDepends: unix BuildDepends: unix
CSources: libvirt_c.c CSources: libvirt_c.c
CCOpt: -Wall -O2 -g -I$PWD -I$PWD/libvirt -Werror -D_GNU_SOURCE ${libvirt_cflags} CCOpt: -Wall -O2 -g -I$PWD -I$PWD/libvirt -Werror -D_GNU_SOURCE ${libvirt_cflags}
CCLib: ${libvirt_libs} CCLib: ${libvirt_libs}
Document libvirt Document libvirt
Title: API reference for libvirt Title: API reference for libvirt
Type: ocamlbuild Type: ocamlbuild
BuildTools+: ocamldoc BuildTools+: ocamldoc
InstallDir: \$htmldir InstallDir: \$htmldir
Install: true Install: true
XOCamlbuildPath: . XOCamlbuildPath: .
XOCamlbuildLibraries: libvirt XOCamlbuildLibraries: libvirt
Executable "%{name}-domain_events" Executable "%{name}-domain_events"
Install: true Install: true
Path: examples Path: examples
MainIs: domain_events.ml MainIs: domain_events.ml
CompiledObject: best CompiledObject: best
BuildDepends: libvirt BuildDepends: libvirt
Executable "%{name}-get_cpu_stats" Executable "%{name}-get_cpu_stats"
Install: true Install: true
Path: examples Path: examples
MainIs: get_cpu_stats.ml MainIs: get_cpu_stats.ml
CompiledObject: best CompiledObject: best
BuildDepends: libvirt BuildDepends: libvirt
Executable "%{name}-list_domains" Executable "%{name}-list_domains"
Install: true Install: true
Path: examples Path: examples
MainIs: list_domains.ml MainIs: list_domains.ml
CompiledObject: best CompiledObject: best
BuildDepends: libvirt BuildDepends: libvirt
Executable "%{name}-node_info" Executable "%{name}-node_info"
Install: true Install: true
Path: examples Path: examples
MainIs: node_info.ml MainIs: node_info.ml
CompiledObject: best CompiledObject: best
BuildDepends: libvirt BuildDepends: libvirt
_EOF_ _EOF_
%oasis_setup %oasis_setup
%ocaml_oasis_configure --enable-docs %ocaml_oasis_configure --enable-docs