rebuilt to fix provides [release 4.11.1-2mamba;Thu Jan 21 2021]

This commit is contained in:
Silvan Calarco 2024-01-06 07:48:56 +01:00
parent 66a6265071
commit 0010d4559e
3 changed files with 43 additions and 16 deletions

Binary file not shown.

BIN
ocaml-4.11-refman.pdf Normal file

Binary file not shown.

View File

@ -1,8 +1,8 @@
%define majorminor %(echo %version | cut -d. -f 1-2) %define majorminor %(echo %version | cut -d. -f 1-2)
Name: ocaml Name: ocaml
Version: 4.09.0 Version: 4.11.1
Release: 4mamba Release: 2mamba
Summary: The OCaml compiler and programming environment Summary: The OCaml compiler and programming environment
Group: Applications/Development Group: Applications/Development
Vendor: openmamba Vendor: openmamba
@ -20,10 +20,18 @@ BuildRequires: libX11-devel
BuildRequires: libbinutils-devel BuildRequires: libbinutils-devel
## AUTOBUILDREQ-END ## AUTOBUILDREQ-END
BuildRequires: emacs-nox BuildRequires: emacs-nox
BuildRequires: ocaml-runtime >= %{?epoch:%epoch:}%{version} #BuildRequires: ocaml-runtime >= %{?epoch:%epoch:}%{version}
BuildRequires: libgdbm-devel BuildRequires: libgdbm-devel
Requires: %{name}-runtime = %{?epoch:%epoch:}%{version}-%{release} Requires: %{name}-runtime = %{?epoch:%epoch:}%{version}-%{release}
Requires: gcc Requires: gcc
# From Fedora:
# Because we pass -c flag to ocaml-find-requires (to avoid circular
# dependencies) we also have to explicitly depend on the right version
# of ocaml-runtime.
Requires: ocaml-runtime = %{?epoch:%epoch:}%{version}-%{release}
Provides: ocaml(compiler) = %{version}
%global __ocaml_requires_opts -c -f '%{buildroot}%{_bindir}/ocamlrun %{buildroot}%{_bindir}/ocamlobjinfo.byte'
%global __ocaml_provides_opts -f '%{buildroot}%{_bindir}/ocamlrun %{buildroot}%{_bindir}/ocamlobjinfo.byte'
BuildRoot: %{_tmppath}/%{name}-%{version}-root BuildRoot: %{_tmppath}/%{name}-%{version}-root
# FIXME: # FIXME:
@ -152,9 +160,12 @@ This package contains documentation in PDF and HTML format as well as man pages
%prep %prep
%setup -q -a2 -a3 %setup -q -a2 -a3
#-D -T
#:<< _EOF
cp %{S:1} refman.pdf cp %{S:1} refman.pdf
%build %build
#:<< _EOF
%configure \ %configure \
--libdir=%{_libdir}/ocaml \ --libdir=%{_libdir}/ocaml \
--with-pic --with-pic
@ -176,7 +187,7 @@ cp %{S:1} refman.pdf
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" [ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%makeinstall \ %makeinstall \
LIBDIR=%{_libdir}/ocaml \ LIBDIR=%{_libdir}/ocaml
#cd emacs #cd emacs
#%makeinstall \ #%makeinstall \
@ -238,18 +249,19 @@ exit 0
%{_bindir}/ocamlobjinfo %{_bindir}/ocamlobjinfo
%{_bindir}/ocamlopt %{_bindir}/ocamlopt
%{_bindir}/ocamlopt.opt %{_bindir}/ocamlopt.opt
#%{_bindir}/ocamloptp %{_bindir}/ocamloptp
#%{_bindir}/ocamloptp.byte %{_bindir}/ocamloptp.byte
#%{_bindir}/ocamloptp.opt %{_bindir}/ocamloptp.opt
%{_bindir}/ocamlprof %{_bindir}/ocamlprof
%{_bindir}/ocamlyacc %{_bindir}/ocamlyacc
%{_bindir}/ocaml-instr-graph #%{_bindir}/ocaml-instr-graph
%{_bindir}/ocaml-instr-report #%{_bindir}/ocaml-instr-report
# #
%{_libdir}/ocaml/camlheader %{_libdir}/ocaml/camlheader
%{_libdir}/ocaml/camlheader_ur %{_libdir}/ocaml/camlheader_ur
%{_libdir}/ocaml/expunge %{_libdir}/ocaml/expunge
%{_libdir}/ocaml/extract_crc %{_libdir}/ocaml/extract_crc
%{_libdir}/ocaml/eventlog_metadata
%{_libdir}/ocaml/ld.conf %{_libdir}/ocaml/ld.conf
%{_libdir}/ocaml/Makefile.config %{_libdir}/ocaml/Makefile.config
%{_libdir}/ocaml/*.a %{_libdir}/ocaml/*.a
@ -262,8 +274,12 @@ exit 0
%{_libdir}/ocaml/libcamlrun_shared.so %{_libdir}/ocaml/libcamlrun_shared.so
%{_libdir}/ocaml/libasmrun_shared.so %{_libdir}/ocaml/libasmrun_shared.so
%{_libdir}/ocaml/objinfo_helper %{_libdir}/ocaml/objinfo_helper
%{_libdir}/ocaml/compiler-libs/ %{_libdir}/ocaml/compiler-libs/*.a
%ifarch x86_64 %{_libdir}/ocaml/compiler-libs/*.cmx
%{_libdir}/ocaml/compiler-libs/*.cmxa
%{_libdir}/ocaml/compiler-libs/*.o
%{_libdir}/ocaml/compiler-libs/*.mli
%ifarch x86_64 aarch64
%{_libdir}/ocaml/stublibs/dllraw_spacetime_lib.so %{_libdir}/ocaml/stublibs/dllraw_spacetime_lib.so
%endif %endif
#%{_libdir}/ocaml/vmthreads/*.a #%{_libdir}/ocaml/vmthreads/*.a
@ -285,7 +301,6 @@ exit 0
%{_mandir}/man1/ocamloptp.* %{_mandir}/man1/ocamloptp.*
%{_mandir}/man1/ocamlprof.* %{_mandir}/man1/ocamlprof.*
%{_mandir}/man1/ocamlyacc.* %{_mandir}/man1/ocamlyacc.*
%doc LICENSE
%files runtime %files runtime
%defattr(-,root,root) %defattr(-,root,root)
@ -296,20 +311,23 @@ exit 0
%{_libdir}/ocaml/*.cma %{_libdir}/ocaml/*.cma
%{_libdir}/ocaml/*.cmt %{_libdir}/ocaml/*.cmt
%{_libdir}/ocaml/*.cmti %{_libdir}/ocaml/*.cmti
%dir %{_libdir}/ocaml/compiler-libs
%{_libdir}/ocaml/compiler-libs/*.cmo
%{_libdir}/ocaml/compiler-libs/*.cmi
%{_libdir}/ocaml/compiler-libs/*.cma
%{_libdir}/ocaml/compiler-libs/*.cmt
%{_libdir}/ocaml/compiler-libs/*.cmti
%dir %{_libdir}/ocaml/stublibs %dir %{_libdir}/ocaml/stublibs
#%{_libdir}/ocaml/stublibs/dllbigarray.so
%{_libdir}/ocaml/stublibs/dllcamlstr.so %{_libdir}/ocaml/stublibs/dllcamlstr.so
#%{_libdir}/ocaml/stublibs/dllgraphics.so
##%{_libdir}/ocaml/stublibs/dllnums.so
%{_libdir}/ocaml/stublibs/dllthreads.so %{_libdir}/ocaml/stublibs/dllthreads.so
%{_libdir}/ocaml/stublibs/dllunix.so %{_libdir}/ocaml/stublibs/dllunix.so
#%{_libdir}/ocaml/stublibs/dllvmthreads.so
%dir %{_libdir}/ocaml/threads %dir %{_libdir}/ocaml/threads
%{_libdir}/ocaml/threads/*.cmi %{_libdir}/ocaml/threads/*.cmi
%{_libdir}/ocaml/threads/*.cmti %{_libdir}/ocaml/threads/*.cmti
%{_libdir}/ocaml/threads/*.cma %{_libdir}/ocaml/threads/*.cma
%{_libdir}/ocaml/threads/*.mli %{_libdir}/ocaml/threads/*.mli
%{_mandir}/man1/ocamlrun.* %{_mandir}/man1/ocamlrun.*
%doc LICENSE
#%files x11 #%files x11
#%defattr(-,root,root) #%defattr(-,root,root)
@ -336,6 +354,15 @@ exit 0
#%doc refman.pdf htmlman #%doc refman.pdf htmlman
%changelog %changelog
* Thu Jan 21 2021 Silvan Calarco <silvan.calarco@mambasoft.it> 4.11.1-2mamba
- rebuilt to fix provides
* Sun Oct 18 2020 Automatic Build System <autodist@mambasoft.it> 4.11.1-1mamba
- automatic version update by autodist
* Sat Oct 17 2020 Silvan Calarco <silvan.calarco@mambasoft.it> 4.11.0-1mamba
- update to 4.11.0
* Mon Dec 30 2019 Silvan Calarco <silvan.calarco@mambasoft.it> 4.09.0-4mamba * Mon Dec 30 2019 Silvan Calarco <silvan.calarco@mambasoft.it> 4.09.0-4mamba
- rebuilt with recent gcc and --with-pic - rebuilt with recent gcc and --with-pic