From 39c63bb8a429e15eaff03056a907950556a625cf Mon Sep 17 00:00:00 2001 From: Silvan Calarco Date: Sat, 6 Jan 2024 08:04:21 +0100 Subject: [PATCH] rebuilt with ocaml-ctypes-devel 0.20.0-2mamba [release 0.6.1-2mamba;Wed Feb 09 2022] --- ocaml-unix-errno.spec | 30 +++++++++++++++++++----------- 1 file changed, 19 insertions(+), 11 deletions(-) diff --git a/ocaml-unix-errno.spec b/ocaml-unix-errno.spec index 58cda93..cb18fb7 100644 --- a/ocaml-unix-errno.spec +++ b/ocaml-unix-errno.spec @@ -1,22 +1,25 @@ %define ocamlpck unix-errno Name: ocaml-unix-errno -Version: 0.5.2 -Release: 1mamba +Version: 0.6.1 +Release: 2mamba Summary: Unix errno types, maps, and support for OCaml Group: System/Libraries/OCaml Vendor: openmamba Distribution: openmamba Packager: Silvan Calarco -URL: https://github.com/dsheets/ocaml-unix-errno -Source: https://github.com/dsheets/ocaml-unix-errno.git/%{version}/ocaml-unix-errno-%{version}.tar.bz2 +URL: https://github.com/xapi-project/ocaml-unix-errno +Source: https://github.com/xapi-project/ocaml-unix-errno.git/%{version}/ocaml-unix-errno-%{version}.tar.bz2 License: MIT ## AUTOBUILDREQ-BEGIN BuildRequires: glibc-devel BuildRequires: ocaml +BuildRequires: ocaml-bigarray-compat-devel BuildRequires: ocaml-ctypes-devel BuildRequires: ocaml-integers BuildRequires: ocaml-result ## AUTOBUILDREQ-END +BuildRequires: ocaml-ctypes-devel >= 0.20.0-2mamba +BuildRequires: dune %description Unix errno types, maps, and support for OCaml. @@ -33,19 +36,17 @@ This package contains libraries and header files for developing applications tha %prep %setup -q +# requires alcotest; skipping +rm -rf unix_test %build -%make -j1 +dune build %install [ "%{buildroot}" != / ] && rm -rf "%{buildroot}" -export OCAMLFIND_DESTDIR=%{buildroot}$(ocamlfind printconf destdir) -export DLLDIR=$OCAMLFIND_DESTDIR/stublibs +DESTDIR=%{buildroot} dune install --prefix "/usr" --libdir "%{_lib}/ocaml" -install -d $OCAMLFIND_DESTDIR/%{ocamlpck} -install -d $OCAMLFIND_DESTDIR/stublibs - -make install +rm -rf %{buildroot}/usr/doc %clean [ "%{buildroot}" != / ] && rm -rf "%{buildroot}" @@ -62,6 +63,7 @@ make install %files devel %defattr(-,root,root) +%{_bindir}/errno-map %{_libdir}/ocaml/%{ocamlpck}/*.a %{_libdir}/ocaml/%{ocamlpck}/*.cmx %{_libdir}/ocaml/%{ocamlpck}/*.cmxa @@ -70,5 +72,11 @@ make install %changelog +* Wed Feb 09 2022 Silvan Calarco 0.6.1-2mamba +- rebuilt with ocaml-ctypes-devel 0.20.0-2mamba + +* Tue Feb 08 2022 Silvan Calarco 0.6.1-1mamba +- update to 0.6.1 + * Sun Feb 06 2022 Silvan Calarco 0.5.2-1mamba - package created using the webbuild interface