]> git.pld-linux.org Git - packages/ocaml-curl.git/commitdiff
- updated BRs and opt patch, rel 4 auto/th/ocaml-curl-0.9.1-4
authorJan Rękorajski <baggins@pld-linux.org>
Mon, 22 Nov 2021 08:03:43 +0000 (09:03 +0100)
committerJan Rękorajski <baggins@pld-linux.org>
Mon, 22 Nov 2021 08:04:01 +0000 (09:04 +0100)
ocaml-curl.spec
ocaml_opt.patch

index d04ad1d38ca4dc440328c6c7d4325182aad2d801..4759640cb07b269b3d4b7aaac4929c8a29ca90fa 100644 (file)
@@ -12,7 +12,7 @@
 Summary:       OCaml Curl library (ocurl)
 Name:          ocaml-%{pkgname}
 Version:       0.9.1
 Summary:       OCaml Curl library (ocurl)
 Name:          ocaml-%{pkgname}
 Version:       0.9.1
-Release:       3
+Release:       4
 License:       MIT
 Group:         Libraries
 Source0:       https://github.com/ygrek/ocurl/releases/download/%{version}/ocurl-%{version}.tar.gz
 License:       MIT
 Group:         Libraries
 Source0:       https://github.com/ygrek/ocurl/releases/download/%{version}/ocurl-%{version}.tar.gz
@@ -23,6 +23,8 @@ BuildRequires:        curl-devel >= 7.12.0
 BuildRequires: gawk
 BuildRequires: ocaml >= 3.10.0-7
 BuildRequires: ocaml-findlib-devel
 BuildRequires: gawk
 BuildRequires: ocaml >= 3.10.0-7
 BuildRequires: ocaml-findlib-devel
+BuildRequires: ocaml-lwt-devel
+BuildRequires: ocaml-lwt-ppx-devel
 # Explicitly require Curl (fixes RHBZ#711261). Since ocaml-curl uses
 # -custom rather than ocamlmklib, automatic detection is infeasible.
 Requires:      curl-devel >= 7.12.0
 # Explicitly require Curl (fixes RHBZ#711261). Since ocaml-curl uses
 # -custom rather than ocamlmklib, automatic detection is infeasible.
 Requires:      curl-devel >= 7.12.0
@@ -94,6 +96,7 @@ rm -rf $RPM_BUILD_ROOT
 %doc examples/*
 %{_libdir}/ocaml/curl/*.a
 %{_libdir}/ocaml/curl/*.cmi
 %doc examples/*
 %{_libdir}/ocaml/curl/*.a
 %{_libdir}/ocaml/curl/*.cmi
+%{_libdir}/ocaml/curl/*.cmo
 %{_libdir}/ocaml/curl/*.cmt
 %{_libdir}/ocaml/curl/*.cmti
 %if %{with ocaml_opt}
 %{_libdir}/ocaml/curl/*.cmt
 %{_libdir}/ocaml/curl/*.cmti
 %if %{with ocaml_opt}
index 1c4c67534185691ab057a125ba339bc13711e40a..d21c171150c1f4c5b0d073274d9881d597225cc5 100644 (file)
@@ -1,6 +1,11 @@
---- ocurl-0.7.1/Makefile.in~   2014-05-12 22:10:26.000000000 +0200
-+++ ocurl-0.7.1/Makefile.in    2015-07-25 14:46:23.107163100 +0200
-@@ -32,7 +32,10 @@
+--- ocurl-0.9.1/Makefile.in.orig       2020-02-13 23:53:48.000000000 +0100
++++ ocurl-0.9.1/Makefile.in    2021-11-22 09:01:46.344220377 +0100
+@@ -41,16 +41,19 @@
+ ifeq (@OCAMLBEST@,opt)
+ TARGETS += curl.cmxa curl.cmx curl.cmxs
+ ifneq (@OCAML_PKG_lwt_unix@,no)
+-TARGETS += curl_lwt.cmx curl_lwt.cmxs
++TARGETS += curl_lwt.cmx curl_lwt.cmxs curl_lwt$(EXT_OBJ)
  endif
  endif
  
  endif
  endif
  
  ifeq (@OCAML_HAS_BIN_ANNOT@,yes)
  INSTALL_TARGETS += curl.cmt curl.cmti
  endif
  ifeq (@OCAML_HAS_BIN_ANNOT@,yes)
  INSTALL_TARGETS += curl.cmt curl.cmti
  endif
-@@ -97,10 +97,10 @@
+ ifneq (@OCAML_PKG_lwt_unix@,no)
+-INSTALL_TARGETS += curl_lwt.cmi curl_lwt.mli curl_lwt$(EXT_OBJ)
++INSTALL_TARGETS += curl_lwt.cmi curl_lwt.mli
+ ifeq (@OCAML_HAS_BIN_ANNOT@,yes)
+ INSTALL_TARGETS += curl_lwt.cmt curl_lwt.cmti
+ endif
+@@ -134,10 +137,10 @@
                mkdir -p $(INSTALLDIR)
                $(INSTALLDATA) curl.cma $(INSTALLDIR)
  ifeq (@OCAMLBEST@,opt)
                mkdir -p $(INSTALLDIR)
                $(INSTALLDATA) curl.cma $(INSTALLDIR)
  ifeq (@OCAMLBEST@,opt)
This page took 0.069223 seconds and 4 git commands to generate.