- Require current dune macros

OBS-URL: https://build.opensuse.org/package/show/devel:languages:ocaml/ocaml-pcre?expand=0&rev=48
This commit is contained in:
Olaf Hering 2019-11-01 22:49:35 +00:00 committed by Git OBS Bridge
parent b5d49e77f7
commit 32bbe3c025
4 changed files with 11 additions and 32 deletions

View File

@ -2,8 +2,8 @@
<service name="tar_scm" mode="disabled">
<param name="url">git://github.com/mmottl/pcre-ocaml.git</param>
<param name="scm">git</param>
<param name="versionformat">7.4.1</param>
<param name="revision">7.4.1</param>
<param name="versionformat">@PARENT_TAG@</param>
<param name="revision">417829073b554a656e08f762a18cc963ae942d1d</param>
<param name="filename">ocaml-pcre</param>
</service>
<service name="recompress" mode="disabled">

View File

@ -1,27 +0,0 @@
---
_oasis | 2 +-
setup.ml | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
--- a/_oasis
+++ b/_oasis
@@ -32,7 +32,7 @@ Library pcre
BuildDepends: bytes
CCOpt: -g -O2 -fPIC -DPIC
if flag(strict) && ccomp_type(cc)
- CCOpt+: -Wall -pedantic -Wextra -Wunused -Wno-long-long -Wno-keyword-macro
+ CCOpt+: -Wall -pedantic -Wextra -Wunused -Wno-long-long
# Examples
--- a/setup.ml
+++ b/setup.ml
@@ -6786,7 +6786,7 @@ let setup_t =
"-Wextra";
"-Wunused";
"-Wno-long-long";
- "-Wno-keyword-macro"
+ "-Wno-keyword-macro";
])
];
bs_cclib = [(OASISExpr.EBool true, [])];

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Fri Nov 1 12:34:56 UTC 2019 - ohering@suse.de
- Require current dune macros
-------------------------------------------------------------------
Wed Oct 9 05:48:16 UTC 2019 - ohering@suse.de

View File

@ -13,7 +13,7 @@
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via http://bugs.opensuse.org/
# Please submit bugfixes or comments via https://bugs.opensuse.org/
#
@ -26,9 +26,9 @@ License: LGPL-2.0
Group: Development/Languages/OCaml
Url: http://mmottl.github.io/pcre-ocaml/
Source0: %{name}-%{version}.tar.xz
BuildRequires: ocaml
BuildRequires: ocaml(ocaml_base_version) >= 4.05
BuildRequires: ocaml-dune
BuildRequires: ocaml-rpm-macros >= 20191009
BuildRequires: ocaml-rpm-macros >= 20191101
BuildRequires: ocamlfind(base)
BuildRequires: ocamlfind(dune.configurator)
BuildRequires: pkg-config
@ -51,6 +51,7 @@ developing applications that use %{name}.
%autosetup -p1
%build
dune_release_pkgs='pcre'
%ocaml_dune_setup
%ocaml_dune_build