fix ocaml libdir [release 2.8.1-2mamba;Sat Jan 23 2021]
This commit is contained in:
parent
6fc042b8be
commit
41de2d668f
16
dune.spec
16
dune.spec
@ -1,20 +1,19 @@
|
||||
Name: dune
|
||||
Version: 2.8.1
|
||||
Release: 1mamba
|
||||
Release: 2mamba
|
||||
Summary: A composable build system for OCaml
|
||||
Group: Development/Tools
|
||||
Vendor: openmamba
|
||||
Distribution: openmamba
|
||||
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
||||
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
|
||||
License: MIT
|
||||
## AUTOBUILDREQ-BEGIN
|
||||
BuildRequires: glibc-devel
|
||||
BuildRequires: ocaml-runtime
|
||||
## AUTOBUILDREQ-END
|
||||
BuildRequires: ocaml >= 4.09.0
|
||||
BuildRequires: ocaml >= 4.11.1
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
||||
|
||||
%description
|
||||
@ -28,7 +27,8 @@ A composable build system for OCaml.
|
||||
|
||||
%build
|
||||
./configure \
|
||||
--libdir=%{_libdir}
|
||||
--libdir=%{_libdir}/ocaml \
|
||||
--mandir=%{_mandir} \
|
||||
|
||||
%make release
|
||||
|
||||
@ -36,7 +36,6 @@ A composable build system for OCaml.
|
||||
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
||||
%makeinstall
|
||||
|
||||
mv %{buildroot}%{_prefix}/man %{buildroot}%{_datadir}
|
||||
mv %{buildroot}%{_prefix}/doc %{buildroot}%{_datadir}
|
||||
|
||||
%clean
|
||||
@ -49,14 +48,17 @@ mv %{buildroot}%{_prefix}/doc %{buildroot}%{_datadir}
|
||||
#%{_bindir}/ocaml-syntax-shims
|
||||
%{_datadir}/emacs/site-lisp/dune-flymake.el
|
||||
%{_datadir}/emacs/site-lisp/dune.el
|
||||
%dir %{_libdir}/dune
|
||||
%{_libdir}/dune/*
|
||||
%dir %{_libdir}/ocaml/dune
|
||||
%{_libdir}/ocaml/dune/*
|
||||
%dir %{_docdir}/dune
|
||||
%{_docdir}/dune/*
|
||||
%{_mandir}/man1/dune*.1*
|
||||
%{_mandir}/man5/dune-config.5*
|
||||
|
||||
%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
|
||||
- automatic version update by autodist
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user