Compare commits

...
Sign in to create a new pull request.

7 commits

Author SHA1 Message Date
Jerry James
eea7434021 Fix a changelog entry 2026-01-13 16:24:29 -07:00
Richard W.M. Jones
7d01903ff7 OCaml 5.4.0 rebuild 2025-10-13 12:52:55 +01:00
Fedora Release Engineering
4cc60c6533 Rebuilt for https://fedoraproject.org/wiki/Fedora_43_Mass_Rebuild 2025-07-24 23:10:54 +00:00
Jerry James
9033149637 Rebuild to fix OCaml dependencies 2025-07-11 10:38:37 -06:00
Fedora Release Engineering
550c7d394e Rebuilt for https://fedoraproject.org/wiki/Fedora_42_Mass_Rebuild 2025-01-17 20:49:40 +00:00
Jerry James
b11d2d2f2f OCaml 5.3.0 rebuild for Fedora 42 2025-01-09 10:15:11 -07:00
Jerry James
58f1cf08af Version 1.9.8
- Drop workaround for upstream dynlink_subdir bug
- Change config name to findlib.conf to match upstream
- Update %__ocaml_requires_opts for OCaml 5.3.0
2024-12-26 20:07:22 -07:00
3 changed files with 31 additions and 23 deletions

1
.gitignore vendored
View file

@ -21,3 +21,4 @@ findlib-1.2.5.tar.gz
/findlib-1.9.4.tar.gz
/findlib-1.9.5.tar.gz
/findlib-1.9.6.tar.gz
/findlib-1.9.8.tar.gz

View file

@ -6,8 +6,8 @@ ExcludeArch: %{ix86}
%endif
Name: ocaml-findlib
Version: 1.9.6
Release: 14%{?dist}
Version: 1.9.8
Release: 5%{?dist}
Summary: Objective CAML package manager and build helper
License: MIT
@ -29,7 +29,7 @@ BuildRequires: make
Requires: ocaml
# Do not require ocaml-compiler-libs at runtime
%global __ocaml_requires_opts -i Asttypes -i Build_path_prefix_map -i Cmi_format -i Env -i Ident -i Identifiable -i Load_path -i Location -i Longident -i Misc -i Outcometree -i Parsetree -i Path -i Primitive -i Shape -i Subst -i Topdirs -i Toploop -i Type_immediacy -i Types -i Warnings
%global __ocaml_requires_opts -i Asttypes -i Build_path_prefix_map -i Cmi_format -i Env -i Format_doc -i Ident -i Identifiable -i Load_path -i Location -i Longident -i Misc -i Oprint -i Outcometree -i Parsetree -i Path -i Primitive -i Shape -i Subst -i Topdirs -i Toploop -i Type_immediacy -i Types -i Unit_info -i Warnings
%description
@ -57,9 +57,6 @@ mv doc/README.utf8 doc/README
# Fix the OCaml core man directory
sed -i 's,/usr/local/man,%{_mandir},' configure
# Configure bug? dynlink_subdir is the empty string
sed -i 's/\${dynlink_subdir}/dynlink/' configure
# Build an executable that is not damaged by stripping
sed -i 's/\(custom=\)-custom/\1-output-complete-exe/' configure
@ -73,7 +70,7 @@ ocamlc -where
(cd tools/extract_args && make)
tools/extract_args/extract_args -o src/findlib/ocaml_args.ml ocamlc ocamlcp ocamlmktop ocamlopt ocamldep ocamldoc ||:
cat src/findlib/ocaml_args.ml
./configure -config %{_sysconfdir}/ocamlfind.conf \
./configure -config %{_sysconfdir}/findlib.conf \
-bindir %{_bindir} \
-sitelib `ocamlc -where` \
-mandir %{_mandir} \
@ -86,29 +83,20 @@ rm doc/guide-html/TIMESTAMP
%install
# Grrr destdir grrrr
mkdir -p $RPM_BUILD_ROOT%{_bindir}
mkdir -p $RPM_BUILD_ROOT%{_mandir}/man{1,5}
make install \
prefix=$RPM_BUILD_ROOT \
mkdir -p $RPM_BUILD_ROOT%{_sysconfdir}
%make_install \
OCAMLFIND_BIN=%{_bindir} \
OCAMLFIND_CONF=%{_sysconfdir} \
OCAMLFIND_MAN=%{_mandir}
# Remove spurious executable bits
chmod 0644 $RPM_BUILD_ROOT%{_mandir}/man{1,5}/*
chmod 0644 $RPM_BUILD_ROOT%{_libdir}/ocaml/findlib/*.{cma,cmi,ml,mli,pattern}
chmod 0644 $RPM_BUILD_ROOT%{_libdir}/ocaml/findlib/{META,Makefile*}
%ifarch %{ocaml_native_compiler}
chmod 0644 $RPM_BUILD_ROOT%{_libdir}/ocaml/findlib/*.{a,cmxa}
%endif
rmdir $RPM_BUILD_ROOT%{_mandir}/man3
%ocaml_files
sed -i '/ocamlfind\.conf/d' .ofiles
sed -i '/etc/d' .ofiles
%files -f .ofiles
%doc LICENSE doc/README
%config(noreplace) %{_sysconfdir}/ocamlfind.conf
%config(noreplace) %{_sysconfdir}/findlib.conf
%files devel -f .ofiles-devel
@ -116,6 +104,25 @@ sed -i '/ocamlfind\.conf/d' .ofiles
%changelog
* Mon Oct 13 2025 Richard W.M. Jones <rjones@redhat.com> - 1.9.8-5
- OCaml 5.4.0 rebuild
* Thu Jul 24 2025 Fedora Release Engineering <releng@fedoraproject.org> - 1.9.8-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_43_Mass_Rebuild
* Fri Jul 11 2025 Jerry James <loganjerry@gmail.com> - 1.9.8-3
- Rebuild to fix OCaml dependencies
* Fri Jan 17 2025 Fedora Release Engineering <releng@fedoraproject.org> - 1.9.8-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_42_Mass_Rebuild
* Thu Jan 9 2025 Jerry James <loganjerry@gmail.com> - 1.9.8-1
- OCaml 5.3.0 rebuild for Fedora 42
- Version 1.9.8
- Drop workaround for upstream dynlink_subdir bug
- Change config name to findlib.conf to match upstream
- Update __ocaml_requires_opts for OCaml 5.3.0
* Thu Jul 18 2024 Fedora Release Engineering <releng@fedoraproject.org> - 1.9.6-14
- Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild

View file

@ -1 +1 @@
SHA512 (findlib-1.9.6.tar.gz) = cfaf1872d6ccda548f07d32cc6b90c3aafe136d2aa6539e03143702171ee0199add55269bba894c77115535dc46a5835901a5d7c75768999e72db503bfd83027
SHA512 (findlib-1.9.8.tar.gz) = 64aa28ac27358e1bc5d118e283fb64757fb96329151860bb9c1e9352a9fa1728ebcb4320b8d2eeb57ed2eea83c9849ea89d06c0fa25e1884ececb431341f9f1a