From 0dce3f6f45c7753bd619737b9768bdcc7a636f32 Mon Sep 17 00:00:00 2001 From: Andy Li Date: Mon, 14 May 2018 10:45:00 +0800 Subject: [PATCH] New upstream release (RHBZ#1572211). --- .gitignore | 1 + obuild-arg-parsing.patch | 34 ---------------------------------- ocaml-obuild.spec | 7 +++++-- sources | 2 +- 4 files changed, 7 insertions(+), 37 deletions(-) delete mode 100644 obuild-arg-parsing.patch diff --git a/.gitignore b/.gitignore index 3a390e2..0048169 100644 --- a/.gitignore +++ b/.gitignore @@ -1,2 +1,3 @@ /ocaml-obuild-0.1.8.tar.gz /ocaml-obuild-0.1.9.tar.gz +/ocaml-obuild-0.1.10.tar.gz diff --git a/obuild-arg-parsing.patch b/obuild-arg-parsing.patch deleted file mode 100644 index b5b0964..0000000 --- a/obuild-arg-parsing.patch +++ /dev/null @@ -1,34 +0,0 @@ -From 6bdda41644e9b5e5dd059885a0f3bacdfa946f9a Mon Sep 17 00:00:00 2001 -From: Andy Li -Date: Sun, 19 Nov 2017 21:26:07 +0800 -Subject: [PATCH] do not call set_target_options when just parsing -g -pg - ---- - src/main.ml | 14 ++++++++------ - 1 file changed, 8 insertions(+), 6 deletions(-) - -diff --git a/src/main.ml b/src/main.ml -index 67fd4b0..cae01d8 100644 ---- a/src/main.ml -+++ b/src/main.ml -@@ -42,12 +42,14 @@ let configure argv = - ("--flag", Arg.String user_set_flags, "enable or disable a project's flag"); - ("--executable-as-obj", Arg.Unit (set_target_options "executable-as-obj" true), "output executable as obj file"); - ("--annot", Arg.Unit (set_target_options "annot" true), "generate .annot files"); -- ("-g", Arg.Unit ( -- (set_target_options "library-debugging" true) (); -- (set_target_options "executable-debugging" true)), "compilation with debugging"); -- ("-pg", Arg.Unit ( -- (set_target_options "library-profiling" true) (); -- (set_target_options "executable-profiling" true)), "compilation with profiling") -+ ("-g", Arg.Unit (fun () -> -+ (set_target_options "library-debugging" true)(); -+ (set_target_options "executable-debugging" true)(); -+ ), "compilation with debugging"); -+ ("-pg", Arg.Unit (fun () -> -+ (set_target_options "library-profiling" true)(); -+ (set_target_options "executable-profiling" true)(); -+ ), "compilation with profiling") - ] in - Arg.parse_argv (Array.of_list argv) ( - enable_disable_opt "library-bytecode" "library compilation as bytecode" diff --git a/ocaml-obuild.spec b/ocaml-obuild.spec index 3709c04..ea39073 100644 --- a/ocaml-obuild.spec +++ b/ocaml-obuild.spec @@ -1,8 +1,8 @@ %global debug_package %{nil} Name: ocaml-obuild -Version: 0.1.9 -Release: 2%{?dist} +Version: 0.1.10 +Release: 1%{?dist} Summary: Simple package build system for OCaml License: BSD @@ -63,6 +63,9 @@ help2man \ %changelog +* Mon May 14 2018 Andy Li - 0.1.10-1 +- New upstream release (RHBZ#1572211). + * Thu Feb 08 2018 Fedora Release Engineering - 0.1.9-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild diff --git a/sources b/sources index 39cbcf8..4e7a2fe 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (ocaml-obuild-0.1.9.tar.gz) = b1030d0e71d2a35c0837fbeca9bab076dde59d25ff3b52751522afe6b93cf6806c7d09c59de6c46f9208d8c4c41a1c6f850daa06da0c1c60a0a691575e3d8454 +SHA512 (ocaml-obuild-0.1.10.tar.gz) = 23667213ec7de6610fd5b3c7e0c5f98c081d0244619ed0c833ad13647b9a40561f21e862574488454993eab84a8467f4b2caa3288293451bb54f08b92d280175