rebuilt with ocaml-ctypes-devel 0.20.0-2mamba [release 0.6.1-2mamba;Wed Feb 09 2022]
This commit is contained in:
parent
7ddcab8c1a
commit
39c63bb8a4
@ -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 <silvan.calarco@mambasoft.it>
|
||||
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 <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
|
||||
- package created using the webbuild interface
|
||||
|
Loading…
Reference in New Issue
Block a user