New upstream release (RHBZ#1572211).

This commit is contained in:
Andy Li 2018-05-14 10:45:00 +08:00
parent afe8559e24
commit 0dce3f6f45
4 changed files with 7 additions and 37 deletions

1
.gitignore vendored
View File

@ -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

View File

@ -1,34 +0,0 @@
From 6bdda41644e9b5e5dd059885a0f3bacdfa946f9a Mon Sep 17 00:00:00 2001
From: Andy Li <andy@onthewings.net>
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"

View File

@ -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 <andy@onthewings.net> - 0.1.10-1
- New upstream release (RHBZ#1572211).
* Thu Feb 08 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.1.9-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild

View File

@ -1 +1 @@
SHA512 (ocaml-obuild-0.1.9.tar.gz) = b1030d0e71d2a35c0837fbeca9bab076dde59d25ff3b52751522afe6b93cf6806c7d09c59de6c46f9208d8c4c41a1c6f850daa06da0c1c60a0a691575e3d8454
SHA512 (ocaml-obuild-0.1.10.tar.gz) = 23667213ec7de6610fd5b3c7e0c5f98c081d0244619ed0c833ad13647b9a40561f21e862574488454993eab84a8467f4b2caa3288293451bb54f08b92d280175