fix ocaml libdir [release 2.8.1-2mamba;Sat Jan 23 2021]

This commit is contained in:
Silvan Calarco 2024-01-05 22:00:09 +01:00
parent 6fc042b8be
commit 41de2d668f

View File

@ -1,20 +1,19 @@
Name: dune Name: dune
Version: 2.8.1 Version: 2.8.1
Release: 1mamba Release: 2mamba
Summary: A composable build system for OCaml Summary: A composable build system for OCaml
Group: Development/Tools Group: Development/Tools
Vendor: openmamba Vendor: openmamba
Distribution: openmamba Distribution: openmamba
Packager: Silvan Calarco <silvan.calarco@mambasoft.it> Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: https://dune.build/ URL: https://dune.build/
## GITSOURCE https://github.com/ocaml/dune.git 1.9.2
Source: https://github.com/ocaml/dune.git/%{version}/dune-%{version}.tar.bz2 Source: https://github.com/ocaml/dune.git/%{version}/dune-%{version}.tar.bz2
License: MIT License: MIT
## AUTOBUILDREQ-BEGIN ## AUTOBUILDREQ-BEGIN
BuildRequires: glibc-devel BuildRequires: glibc-devel
BuildRequires: ocaml-runtime BuildRequires: ocaml-runtime
## AUTOBUILDREQ-END ## AUTOBUILDREQ-END
BuildRequires: ocaml >= 4.09.0 BuildRequires: ocaml >= 4.11.1
BuildRoot: %{_tmppath}/%{name}-%{version}-root BuildRoot: %{_tmppath}/%{name}-%{version}-root
%description %description
@ -28,7 +27,8 @@ A composable build system for OCaml.
%build %build
./configure \ ./configure \
--libdir=%{_libdir} --libdir=%{_libdir}/ocaml \
--mandir=%{_mandir} \
%make release %make release
@ -36,7 +36,6 @@ A composable build system for OCaml.
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" [ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%makeinstall %makeinstall
mv %{buildroot}%{_prefix}/man %{buildroot}%{_datadir}
mv %{buildroot}%{_prefix}/doc %{buildroot}%{_datadir} mv %{buildroot}%{_prefix}/doc %{buildroot}%{_datadir}
%clean %clean
@ -49,14 +48,17 @@ mv %{buildroot}%{_prefix}/doc %{buildroot}%{_datadir}
#%{_bindir}/ocaml-syntax-shims #%{_bindir}/ocaml-syntax-shims
%{_datadir}/emacs/site-lisp/dune-flymake.el %{_datadir}/emacs/site-lisp/dune-flymake.el
%{_datadir}/emacs/site-lisp/dune.el %{_datadir}/emacs/site-lisp/dune.el
%dir %{_libdir}/dune %dir %{_libdir}/ocaml/dune
%{_libdir}/dune/* %{_libdir}/ocaml/dune/*
%dir %{_docdir}/dune %dir %{_docdir}/dune
%{_docdir}/dune/* %{_docdir}/dune/*
%{_mandir}/man1/dune*.1* %{_mandir}/man1/dune*.1*
%{_mandir}/man5/dune-config.5* %{_mandir}/man5/dune-config.5*
%changelog %changelog
* Sat Jan 23 2021 Silvan Calarco <silvan.calarco@mambasoft.it> 2.8.1-2mamba
- fix ocaml libdir
* Mon Jan 18 2021 Automatic Build System <autodist@mambasoft.it> 2.8.1-1mamba * Mon Jan 18 2021 Automatic Build System <autodist@mambasoft.it> 2.8.1-1mamba
- automatic version update by autodist - automatic version update by autodist