#1 Rebuild for ocaml-lwt 5.3.0
Merged 3 years ago by rjones. Opened 3 years ago by defolos.
rpms/ defolos/ocaml-curl master  into  master

file modified
+8 -5
@@ -1,6 +1,6 @@ 

  Name:           ocaml-curl

  Version:        0.9.1

- Release:        3%{?dist}

+ Release:        4%{?dist}

  Summary:        OCaml Curl library (ocurl)

  License:        MIT

  
@@ -42,7 +42,7 @@ 

  chmod 0755 configure install-sh

  

  # Link with debuginfo and RPM_LD_FLAGS

- sed -i "s|\$(OCAMLMKLIB)|& -g -ldopt '$RPM_LD_FLAGS'|" Makefile.in

+ sed -i "s|\$(OCAMLMKLIB)|& -g -ldopt '%build_ldflags'|" Makefile.in

  

  

  %build
@@ -53,7 +53,7 @@ 

  # /usr/bin/ld: /usr/lib64/ocaml/curl/libcurl-helper.a(curl-helper.o):

  # relocation R_X86_64_32S against `.rodata' can not be used when

  # making a shared object; recompile with -fPIC

- CFLAGS="%{optflags} -fPIC" \

+ CFLAGS="%{build_cflags} -fPIC" \

  %configure --libdir=%{_libdir} --with-findlib

  

  make
@@ -61,8 +61,8 @@ 

  

  

  %install

- export DESTDIR=$RPM_BUILD_ROOT

- export OCAMLFIND_DESTDIR=$RPM_BUILD_ROOT%{_libdir}/ocaml

+ export DESTDIR=%buildroot

+ export OCAMLFIND_DESTDIR=%buildroot%{_libdir}/ocaml

  mkdir -p $OCAMLFIND_DESTDIR $OCAMLFIND_DESTDIR/stublibs

  make install

  
@@ -94,6 +94,9 @@ 

  

  

  %changelog

+ * Wed Jun 17 2020 Jerry James <loganjerry@gmail.com> - 0.9.1-4

+ - Rebuild for ocaml-lwt 5.3.0

+ 

  * Tue May 05 2020 Richard W.M. Jones <rjones@redhat.com> - 0.9.1-3

  - OCaml 4.11.0+dev2-2020-04-22 rebuild

  

no initial comment

Please wait with rebuilding until the lwt update is actually in (or until the F33 mass rebuild, provided that the lwt update gets in in time)

Pull-Request has been merged by rjones

3 years ago