rebuilt with ocaml-ctypes-devel 0.20.0-2mamba [release 0.6.1-2mamba;Wed Feb 09 2022]

This commit is contained in:
Silvan Calarco 2024-01-06 08:04:21 +01:00
parent 7ddcab8c1a
commit 39c63bb8a4

View File

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