Disable the tests to avoid circular dependency.
This commit is contained in:
parent
a80b62ec68
commit
26dc712dd9
|
@ -12,6 +12,11 @@
|
||||||
%global srcname bisect-ppx
|
%global srcname bisect-ppx
|
||||||
%global upname bisect_ppx
|
%global upname bisect_ppx
|
||||||
|
|
||||||
|
# Running the tests requires ocaml-ounit, which introduces a circular
|
||||||
|
# dependency (also involving ocaml-lwt). By disabling the tests we
|
||||||
|
# can break this cycle.
|
||||||
|
%bcond_with tests
|
||||||
|
|
||||||
Name: ocaml-%{srcname}
|
Name: ocaml-%{srcname}
|
||||||
Version: 1.4.1
|
Version: 1.4.1
|
||||||
Release: 4.%{gitdate}.%{shorttag}%{?dist}
|
Release: 4.%{gitdate}.%{shorttag}%{?dist}
|
||||||
|
@ -28,7 +33,9 @@ BuildRequires: ocaml-dune
|
||||||
BuildRequires: ocaml-findlib
|
BuildRequires: ocaml-findlib
|
||||||
BuildRequires: ocaml-migrate-parsetree-devel >= 1.4.0
|
BuildRequires: ocaml-migrate-parsetree-devel >= 1.4.0
|
||||||
BuildRequires: ocaml-ocamldoc
|
BuildRequires: ocaml-ocamldoc
|
||||||
|
%if %{with tests}
|
||||||
BuildRequires: ocaml-ounit-devel
|
BuildRequires: ocaml-ounit-devel
|
||||||
|
%endif
|
||||||
BuildRequires: ocaml-ppx-derivers-devel
|
BuildRequires: ocaml-ppx-derivers-devel
|
||||||
BuildRequires: ocaml-ppx-tools-versioned-devel >= 5.2.3
|
BuildRequires: ocaml-ppx-tools-versioned-devel >= 5.2.3
|
||||||
BuildRequires: ocaml-result-devel
|
BuildRequires: ocaml-result-devel
|
||||||
|
@ -89,8 +96,10 @@ rm -fr %{buildroot}%{_prefix}/doc
|
||||||
find %{buildroot}%{_libdir}/ocaml -name \*.cmxs -exec chmod 0755 {} \+
|
find %{buildroot}%{_libdir}/ocaml -name \*.cmxs -exec chmod 0755 {} \+
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
|
%if %{with tests}
|
||||||
%check
|
%check
|
||||||
make test
|
make test
|
||||||
|
%endif
|
||||||
|
|
||||||
%files
|
%files
|
||||||
%doc doc/advanced.md doc/CHANGES README.md
|
%doc doc/advanced.md doc/CHANGES README.md
|
||||||
|
@ -145,6 +154,7 @@ make test
|
||||||
%changelog
|
%changelog
|
||||||
* Wed Feb 26 2020 Richard W.M. Jones <rjones@redhat.com> - 1.4.1-4.20200106.b2661bf
|
* Wed Feb 26 2020 Richard W.M. Jones <rjones@redhat.com> - 1.4.1-4.20200106.b2661bf
|
||||||
- OCaml 4.10.0 final.
|
- OCaml 4.10.0 final.
|
||||||
|
- Disable the tests to avoid circular dependency.
|
||||||
|
|
||||||
* Wed Jan 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.4.1-3.20200106.b2661bf
|
* Wed Jan 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.4.1-3.20200106.b2661bf
|
||||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
|
||||||
|
|
Loading…
Reference in New Issue