update to 0.4.0 [release 0.4.0-1mamba;Thu Jan 21 2021]

This commit is contained in:
Silvan Calarco 2024-01-06 07:54:29 +01:00
parent 1ae88176ca
commit 9c2fc4c6e8

View File

@ -1,34 +1,37 @@
Name: ocaml-integers Name: ocaml-integers
Version: 0.2.2 Version: 0.4.0
Release: 2mamba Release: 1mamba
Summary: Various signed and unsigned integer types for OCaml Summary: Various signed and unsigned integer types 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/ocamllabs/ocaml-integers URL: https://github.com/ocamllabs/ocaml-integers
## GITSOURCE https://github.com/ocamllabs/ocaml-integers.git 0.3.0 Source: https://github.com/ocamllabs/ocaml-integers.git/%{version}/ocaml-integers-%{version}.tar.bz2
Source: https://github.com/ocamllabs/ocaml-integers.git/v%{version}/ocaml-integers-%{version}.tar.bz2
License: MIT License: MIT
## AUTOBUILDREQ-BEGIN ## AUTOBUILDREQ-BEGIN
BuildRequires: glibc-devel BuildRequires: glibc-devel
BuildRequires: ldconfig
BuildRequires: ocaml-runtime
## AUTOBUILDREQ-END ## AUTOBUILDREQ-END
BuildRequires: dune BuildRequires: dune
BuildRequires: ocaml >= 4.09.0-4mamba BuildRequires: ocaml >= 4.11.1
BuildRequires: ocaml-findlib-devel >= 1.8.1-3mamba BuildRequires: ocaml-findlib-devel >= 1.8.1-4mamba
BuildRequires: ocamlbuild >= 0.14.0-3mamba BuildRequires: ocamlbuild >= 0.14.0-4mamba
BuildRequires: opam BuildRequires: opam
BuildRequires: ocaml-topkg BuildRequires: ocaml-topkg >= 1.0.3
BuildRoot: %{_tmppath}/%{name}-%{version}-root BuildRoot: %{_tmppath}/%{name}-%{version}-root
%description %description
The ocaml-integers library provides a number of 8-, 16-, 32- and 64-bit signed and unsigned integer types, together with aliases such as `long` and `size_t` whose sizes depend on the host platform. The ocaml-integers library provides a number of 8-, 16-, 32- and 64-bit signed and unsigned integer types, together with aliases such as `long` and `size_t` whose sizes depend on the host platform.
%debug_package
%prep %prep
%setup -q %setup -q
%build %build
%make dune build --profile release
%install %install
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" [ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
@ -36,8 +39,9 @@ opam-installer \
--prefix=%{buildroot}%{_prefix} \ --prefix=%{buildroot}%{_prefix} \
--libdir=%{buildroot}$(ocamlc -where) \ --libdir=%{buildroot}$(ocamlc -where) \
--docdir=%{buildroot}%{_docdir} \ --docdir=%{buildroot}%{_docdir} \
--stubsdir=%{buildroot}$(ocamlc -where)/stublibs --stubsdir=%{buildroot}$(ocamlc -where)/stublibs \
./_build/default/integers.install
%clean %clean
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" [ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
@ -45,12 +49,15 @@ opam-installer \
%defattr(-,root,root) %defattr(-,root,root)
%dir %{_libdir}/ocaml/integers %dir %{_libdir}/ocaml/integers
%{_libdir}/ocaml/integers/* %{_libdir}/ocaml/integers/*
%{_libdir}/ocaml/stublibs/dllintegers.so %{_libdir}/ocaml/stublibs/dllintegers_stubs.so
%dir %{_datadir}/doc/integers %dir %{_datadir}/doc/integers
%{_datadir}/doc/integers/* %{_datadir}/doc/integers/*
%doc LICENSE.md %doc LICENSE.md
%changelog %changelog
* Thu Jan 21 2021 Silvan Calarco <silvan.calarco@mambasoft.it> 0.4.0-1mamba
- update to 0.4.0
* Mon Dec 30 2019 Silvan Calarco <silvan.calarco@mambasoft.it> 0.2.2-2mamba * Mon Dec 30 2019 Silvan Calarco <silvan.calarco@mambasoft.it> 0.2.2-2mamba
- rebuilt with ocaml 4.09.0-4mamba - rebuilt with ocaml 4.09.0-4mamba