From f84e3be0a249ac9195f3eec5702645bb3514cb38edc7e3dc847672387e12843a Mon Sep 17 00:00:00 2001 From: Olaf Hering Date: Wed, 31 May 2017 07:38:09 +0000 Subject: [PATCH] - Replace tabs with spaces in generated _oasis file OBS-URL: https://build.opensuse.org/package/show/devel:languages:ocaml/ocaml-parmap?expand=0&rev=16 --- ocaml-parmap.changes | 5 +++++ ocaml-parmap.spec | 48 ++++++++++++++++++++++---------------------- 2 files changed, 29 insertions(+), 24 deletions(-) diff --git a/ocaml-parmap.changes b/ocaml-parmap.changes index 0128188..ce333c1 100644 --- a/ocaml-parmap.changes +++ b/ocaml-parmap.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Wed May 31 07:07:33 UTC 2017 - olaf@aepfle.de + +- Replace tabs with spaces in generated _oasis file + ------------------------------------------------------------------- Sat Jun 4 19:52:34 UTC 2016 - jeffm@suse.com diff --git a/ocaml-parmap.spec b/ocaml-parmap.spec index b4aeccc..3a4f38c 100644 --- a/ocaml-parmap.spec +++ b/ocaml-parmap.spec @@ -1,7 +1,7 @@ # # spec file for package ocaml-parmap # -# Copyright (c) 2016 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 # remain the property of their copyright owners, unless otherwise agreed @@ -15,14 +15,15 @@ # Please submit bugfixes or comments via http://bugs.opensuse.org/ # + Name: ocaml-parmap Version: 20160605.10e2437 -%{ocaml_preserve_bytecode} Release: 0 -License: LGPL-2.0 +%{ocaml_preserve_bytecode} Summary: Exploit multicore architectures for OCaml programs with minimal modifications -Url: http://rdicosmo.github.io/parmap/ +License: LGPL-2.0 Group: Development/Libraries/Other +Url: http://rdicosmo.github.io/parmap/ Source: %{name}-%{version}.tar.xz BuildRequires: ocaml BuildRequires: ocaml-oasis @@ -75,37 +76,36 @@ rm -fv setup.ml myocamlbuild.ml META* _* */_* sh -c "sed 's/^Version.*/Version: %{version}/' | tee _oasis" <<_EOF_ OASISFormat: 0.4 Name: parmap -Version: 20160605.10e2437 +Version: 0 Synopsis: library to exploit multicore architectures (parallel programming) Authors: Marco Danelutto and Roberto Di Cosmo -License: LGPL-2 +License: %{license} LicenseFile: LICENSE Plugins: META(`oasis version`) BuildTools: ocamlbuild Library parmap - Path: . - Install: true - Modules: Parmap - CSources: bytearray_stubs.c, setcore_stubs.c, config.h - CCOpt: -Wall -O2 -g -I$PWD -Werror -D_GNU_SOURCE + Path: . + Install: true + Modules: Parmap + CSources: bytearray_stubs.c, setcore_stubs.c, config.h + CCOpt: -Wall -O2 -g -I$PWD -Werror -D_GNU_SOURCE Document parmap - Title: API reference for parmap - Type: ocamlbuild - BuildTools+: ocamldoc - InstallDir: \$htmldir - Install: true - XOCamlbuildPath: . - XOCamlbuildLibraries: parmap + Title: API reference for parmap + Type: ocamlbuild + BuildTools+: ocamldoc + InstallDir: \$htmldir + Install: true + XOCamlbuildPath: . + XOCamlbuildLibraries: parmap Executable "%{name}-mandels" - Install: true - Path: example - MainIs: mandels.ml - CompiledObject: best - BuildDepends: parmap, graphics, unix, bigarray - + Install: true + Path: example + MainIs: mandels.ml + CompiledObject: best + BuildDepends: parmap, graphics, unix, bigarray _EOF_ %oasis_setup %ocaml_oasis_configure --enable-docs