Blame ocaml-bigarray-compat.spec

d94f98f
# OCaml packages not built on i686 since OCaml 5 / Fedora 39.
d94f98f
ExcludeArch: %{ix86}
d94f98f
c491b33
%ifarch %{ocaml_native_compiler}
c491b33
# The only source file for this package consists of a single "include" line,
c491b33
# referring to the bigarray in stdlib.  Although debuginfo is generated, it is
c491b33
# tagged with the file names from the ocaml package, rather than the single
c491b33
# 1-line source file in this project.  That leads to this error:
c491b33
#
c491b33
# error: Empty %%files file /builddir/build/BUILD/bigarray-compat-1.1.0/debugsourcefiles.list
c491b33
#
c491b33
# Do not try to gather debug sources to workaround the problem.
c491b33
%undefine _debugsource_packages
c491b33
%else
7362199
%global debug_package %{nil}
7362199
%endif
7362199
656db30
Name:           ocaml-bigarray-compat
fc9fb16
Version:        1.1.0
130c770
Release:        15%{?dist}
7362199
Summary:        Compatibility library to use Stdlib.Bigarray when possible
7362199
7362199
License:        ISC
7362199
URL:            https://github.com/mirage/bigarray-compat
656db30
Source0:        %{url}/archive/v%{version}/bigarray-compat-%{version}.tar.gz
7362199
7362199
BuildRequires:  ocaml >= 4.03.0
7362199
BuildRequires:  ocaml-dune >= 1.0
7362199
7362199
%description
7362199
Bigarray-compat is an OCaml library that exposes `Stdlib.Bigarray` when
7362199
possible (OCaml >= 4.07) but can fallback to `Bigarray`.  The compability
7362199
bigarray module is exposed under `Bigarray_compat`.
7362199
7362199
%package        devel
7362199
Summary:        Development files for %{name}
7362199
Requires:       %{name}%{?_isa} = %{version}-%{release}
7362199
7362199
%description    devel
7362199
The %{name}-devel package contains libraries and signature
7362199
files for developing applications that use %{name}.
7362199
7362199
%prep
656db30
%autosetup -n bigarray-compat-%{version}
7362199
7362199
%build
656db30
%dune_build
7362199
7362199
%install
656db30
%dune_install
7362199
7362199
%check
656db30
%dune_check
7362199
656db30
%files -f .ofiles
7362199
%doc README.md
7362199
%license LICENSE.md
7362199
656db30
%files devel -f .ofiles-devel
7362199
7362199
%changelog
130c770
* Wed May 29 2024 Richard W.M. Jones <rjones@redhat.com> - 1.1.0-15
130c770
- OCaml 5.2.0 for Fedora 41
130c770
68903d0
* Thu Jan 25 2024 Fedora Release Engineering <releng@fedoraproject.org> - 1.1.0-14
68903d0
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
68903d0
3568451
* Sun Jan 21 2024 Fedora Release Engineering <releng@fedoraproject.org> - 1.1.0-13
3568451
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
3568451
59d8e44
* Mon Dec 18 2023 Richard W.M. Jones <rjones@redhat.com> - 1.1.0-12
59d8e44
- Bump release and rebuild
59d8e44
05cce0e
* Mon Dec 18 2023 Richard W.M. Jones <rjones@redhat.com> - 1.1.0-11
05cce0e
- OCaml 5.1.1 + s390x code gen fix for Fedora 40
05cce0e
fc0b1b9
* Tue Dec 12 2023 Richard W.M. Jones <rjones@redhat.com> - 1.1.0-10
fc0b1b9
- OCaml 5.1.1 rebuild for Fedora 40
fc0b1b9
47d2826
* Thu Oct 05 2023 Richard W.M. Jones <rjones@redhat.com> - 1.1.0-9
47d2826
- OCaml 5.1 rebuild for Fedora 40
47d2826
bb52d36
* Thu Jul 20 2023 Fedora Release Engineering <releng@fedoraproject.org> - 1.1.0-8
bb52d36
- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
bb52d36
bc9b73e
* Tue Jul 11 2023 Richard W.M. Jones <rjones@redhat.com> - 1.1.0-7
bc9b73e
- OCaml 5.0 rebuild for Fedora 39
bc9b73e
c491b33
* Mon Jul 10 2023 Jerry James <loganjerry@gmail.com> - 1.1.0-6
c491b33
- OCaml 5.0.0 rebuild
c491b33
- Do not produce a debugsource package for OCaml 5+
c491b33
915c5c1
* Tue Jan 24 2023 Richard W.M. Jones <rjones@redhat.com> - 1.1.0-5
915c5c1
- Rebuild OCaml packages for F38
915c5c1
e16bedc
* Thu Jan 19 2023 Fedora Release Engineering <releng@fedoraproject.org> - 1.1.0-4
e16bedc
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
e16bedc
9ef08e3
* Fri Jul 22 2022 Fedora Release Engineering <releng@fedoraproject.org> - 1.1.0-3
9ef08e3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
9ef08e3
656db30
* Wed Jul 20 2022 Jerry James <loganjerry@gmail.com> - 1.1.0-2
656db30
- Use new OCaml macros
656db30
45a1a27
* Sat Jun 18 2022 Richard W.M. Jones <rjones@redhat.com> - 1.1.0-2
45a1a27
- OCaml 4.14.0 rebuild
45a1a27
fc9fb16
* Wed Apr 27 2022 Jerry James <loganjerry@gmail.com> - 1.1.0-1
fc9fb16
- Version 1.1.0
fc9fb16
- Upstream tarball now includes the license file
fc9fb16
b003c0d
* Fri Feb 04 2022 Richard W.M. Jones <rjones@redhat.com> - 1.0.0-6
b003c0d
- OCaml 4.13.1 rebuild to remove package notes
b003c0d
65d3696
* Thu Jan 20 2022 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.0-5
65d3696
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
65d3696
d6c545b
* Mon Oct 04 2021 Richard W.M. Jones <rjones@redhat.com> - 1.0.0-4
d6c545b
- OCaml 4.13.1 build
d6c545b
18308d2
* Thu Jul 22 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.0-3
18308d2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
18308d2
a4d295e
* Mon Mar  1 12:17:30 GMT 2021 Richard W.M. Jones <rjones@redhat.com> - 1.0.0-2
a4d295e
- OCaml 4.12.0 build
a4d295e
7362199
* Tue Feb 09 2021 Jerry James <loganjerry@gmail.com> - 1.0.0-1
7362199
- Initial package