Disable stripping on bytecode platforms as that breaks the binary.
This commit is contained in:
parent
e1702f8c28
commit
61395e3f5a
@ -1,6 +1,14 @@
|
|||||||
# OCaml packages not built on i686 since OCaml 5 / Fedora 39.
|
# OCaml packages not built on i686 since OCaml 5 / Fedora 39.
|
||||||
ExcludeArch: %{ix86}
|
ExcludeArch: %{ix86}
|
||||||
|
|
||||||
|
# Stripping breaks bytecode binaries. We also have to disable LTO
|
||||||
|
# because of https://bugzilla.redhat.com/1915570
|
||||||
|
%ifnarch %{ocaml_native_compiler}
|
||||||
|
%global __strip /bin/true
|
||||||
|
%global _lto_cflags %nil
|
||||||
|
%global debug_package %{nil}
|
||||||
|
%endif
|
||||||
|
|
||||||
# On platforms and architectures that support it, the default is
|
# On platforms and architectures that support it, the default is
|
||||||
# ‘--with dietlibc’.
|
# ‘--with dietlibc’.
|
||||||
#
|
#
|
||||||
@ -32,7 +40,7 @@ ExcludeArch: %{ix86}
|
|||||||
Summary: Tool for creating supermin appliances
|
Summary: Tool for creating supermin appliances
|
||||||
Name: supermin
|
Name: supermin
|
||||||
Version: 5.3.3
|
Version: 5.3.3
|
||||||
Release: 11%{?dist}
|
Release: 12%{?dist}
|
||||||
License: GPL-2.0-or-later
|
License: GPL-2.0-or-later
|
||||||
|
|
||||||
ExclusiveArch: %{kernel_arches}
|
ExclusiveArch: %{kernel_arches}
|
||||||
@ -203,8 +211,9 @@ make check || {
|
|||||||
|
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
* Tue Jul 11 2023 Richard W.M. Jones <rjones@redhat.com> - 5.3.3-11
|
* Tue Jul 11 2023 Richard W.M. Jones <rjones@redhat.com> - 5.3.3-12
|
||||||
- OCaml 5.0 rebuild for Fedora 39
|
- OCaml 5.0 rebuild for Fedora 39
|
||||||
|
- Disable stripping on bytecode platforms as that breaks the binary.
|
||||||
|
|
||||||
* Mon Jul 10 2023 Jerry James <loganjerry@gmail.com> - 5.3.3-10
|
* Mon Jul 10 2023 Jerry James <loganjerry@gmail.com> - 5.3.3-10
|
||||||
- OCaml 5.0.0 rebuild
|
- OCaml 5.0.0 rebuild
|
||||||
|
Loading…
Reference in New Issue
Block a user