Compare commits
1 commit
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
fbe3fc62a2 |
3 changed files with 17 additions and 22 deletions
1
.gitignore
vendored
1
.gitignore
vendored
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -6,8 +6,8 @@ ExcludeArch: %{ix86}
|
|||
%endif
|
||||
|
||||
Name: ocaml-findlib
|
||||
Version: 1.9.6
|
||||
Release: 14%{?dist}
|
||||
Version: 1.9.8
|
||||
Release: 1%{?dist}
|
||||
Summary: Objective CAML package manager and build helper
|
||||
License: MIT
|
||||
|
||||
|
|
@ -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,12 @@ sed -i '/ocamlfind\.conf/d' .ofiles
|
|||
|
||||
|
||||
%changelog
|
||||
* Tue Jan 28 2025 Jerry James <loganjerry@gmail.com> - 1.9.8-1
|
||||
- OCaml 5.2.1 rebuild for Fedora 41
|
||||
- Version 1.9.8
|
||||
- Drop workaround for upstream dynlink_subdir bug
|
||||
- Change config name to findlib.conf to match upstream
|
||||
|
||||
* Thu Jul 18 2024 Fedora Release Engineering <releng@fedoraproject.org> - 1.9.6-14
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild
|
||||
|
||||
|
|
|
|||
2
sources
2
sources
|
|
@ -1 +1 @@
|
|||
SHA512 (findlib-1.9.6.tar.gz) = cfaf1872d6ccda548f07d32cc6b90c3aafe136d2aa6539e03143702171ee0199add55269bba894c77115535dc46a5835901a5d7c75768999e72db503bfd83027
|
||||
SHA512 (findlib-1.9.8.tar.gz) = 64aa28ac27358e1bc5d118e283fb64757fb96329151860bb9c1e9352a9fa1728ebcb4320b8d2eeb57ed2eea83c9849ea89d06c0fa25e1884ececb431341f9f1a
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue