X-Git-Url: http://git.pld-linux.org/?p=packages%2Focaml-curl.git;a=blobdiff_plain;f=ocaml-curl.spec;h=355d4eff29d36ac0891aa8b1d27d4f67ee07889a;hp=042acebb840f74ef1e07acd74a6be16791b2fbb8;hb=9ed0416;hpb=5750614e40eb6c6a0828c126a7f96b9d9ec806ac diff --git a/ocaml-curl.spec b/ocaml-curl.spec index 042aceb..355d4ef 100644 --- a/ocaml-curl.spec +++ b/ocaml-curl.spec @@ -11,12 +11,12 @@ %define pkgname curl Summary: OCaml Curl library (ocurl) Name: ocaml-%{pkgname} -Version: 0.7.1 -Release: 2 +Version: 0.9.1 +Release: 1 License: MIT Group: Libraries -Source0: https://forge.ocamlcore.org/frs/download.php/1400/ocurl-%{version}.tar.gz -# Source0-md5: d138fd78538ae3bd008d6e9c2993d240 +Source0: https://github.com/ygrek/ocurl/releases/download/%{version}/ocurl-%{version}.tar.gz +# Source0-md5: 1ff6b12803fa0c6e9a4358dd29b83910 Patch0: ocaml_opt.patch URL: http://ocurl.forge.ocamlcore.org/ BuildRequires: curl-devel >= 7.12.0 @@ -62,8 +62,7 @@ install -d $OCAMLFIND_DESTDIR $OCAMLFIND_DESTDIR/stublibs # Install curl.mli cp -p curl.mli $OCAMLFIND_DESTDIR/curl -install -d $RPM_BUILD_ROOT%{_libdir}/ocaml/site-lib/curl -cat > $RPM_BUILD_ROOT%{_libdir}/ocaml/site-lib/curl/META < $RPM_BUILD_ROOT%{_libdir}/ocaml/curl/META <