Revert "Make lwt subpackage conditional."
This reverts commit ed261ee9ab
.
This commit is contained in:
parent
ed261ee9ab
commit
36cfffaa29
@ -4,8 +4,6 @@
|
|||||||
|
|
||||||
%global srcname ounit
|
%global srcname ounit
|
||||||
|
|
||||||
%bcond_with lwt
|
|
||||||
|
|
||||||
Name: ocaml-%{srcname}
|
Name: ocaml-%{srcname}
|
||||||
Version: 2.2.2
|
Version: 2.2.2
|
||||||
Release: 2%{?dist}
|
Release: 2%{?dist}
|
||||||
@ -22,9 +20,7 @@ Patch0: %{name}-stdlib-shims.patch
|
|||||||
BuildRequires: ocaml >= 4.02.3
|
BuildRequires: ocaml >= 4.02.3
|
||||||
BuildRequires: ocaml-dune >= 1.11.0
|
BuildRequires: ocaml-dune >= 1.11.0
|
||||||
BuildRequires: ocaml-findlib
|
BuildRequires: ocaml-findlib
|
||||||
%if %{with lwt}
|
|
||||||
BuildRequires: ocaml-lwt-devel
|
BuildRequires: ocaml-lwt-devel
|
||||||
%endif
|
|
||||||
BuildRequires: ocaml-mmap-devel
|
BuildRequires: ocaml-mmap-devel
|
||||||
BuildRequires: ocaml-ocplib-endian-devel
|
BuildRequires: ocaml-ocplib-endian-devel
|
||||||
BuildRequires: ocaml-odoc
|
BuildRequires: ocaml-odoc
|
||||||
@ -51,7 +47,6 @@ The %{name}-devel package contains libraries and signature files for
|
|||||||
developing applications that use %{name}.
|
developing applications that use %{name}.
|
||||||
|
|
||||||
|
|
||||||
%if %{with lwt}
|
|
||||||
%package lwt
|
%package lwt
|
||||||
Summary: Helper functions for building Lwt tests using OUnit
|
Summary: Helper functions for building Lwt tests using OUnit
|
||||||
Requires: %{name} = %{version}-%{release}
|
Requires: %{name} = %{version}-%{release}
|
||||||
@ -74,7 +69,6 @@ Provides: %{name}2-lwt-devel = %{version}-%{release}
|
|||||||
%description lwt-devel
|
%description lwt-devel
|
||||||
The %{name}-lwt-devel package contains libraries and signature
|
The %{name}-lwt-devel package contains libraries and signature
|
||||||
files for developing applications that use %{name}-lwt.
|
files for developing applications that use %{name}-lwt.
|
||||||
%endif
|
|
||||||
|
|
||||||
|
|
||||||
%package doc
|
%package doc
|
||||||
@ -157,7 +151,6 @@ find %{buildroot}%{_libdir}/ocaml -name \*.cmxs -exec chmod a+x {} \+
|
|||||||
%{_libdir}/ocaml/%{srcname}2/*/*.mli
|
%{_libdir}/ocaml/%{srcname}2/*/*.mli
|
||||||
|
|
||||||
|
|
||||||
%if %{with lwt}
|
|
||||||
%files lwt
|
%files lwt
|
||||||
%dir %{_libdir}/ocaml/%{srcname}-lwt/
|
%dir %{_libdir}/ocaml/%{srcname}-lwt/
|
||||||
%dir %{_libdir}/ocaml/%{srcname}2-lwt/
|
%dir %{_libdir}/ocaml/%{srcname}2-lwt/
|
||||||
@ -182,7 +175,6 @@ find %{buildroot}%{_libdir}/ocaml -name \*.cmxs -exec chmod a+x {} \+
|
|||||||
%endif
|
%endif
|
||||||
%{_libdir}/ocaml/%{srcname}2-lwt/oUnitLwt.cmt
|
%{_libdir}/ocaml/%{srcname}2-lwt/oUnitLwt.cmt
|
||||||
%{_libdir}/ocaml/%{srcname}2-lwt/oUnitLwt.ml
|
%{_libdir}/ocaml/%{srcname}2-lwt/oUnitLwt.ml
|
||||||
%endif
|
|
||||||
|
|
||||||
|
|
||||||
%files doc
|
%files doc
|
||||||
@ -195,7 +187,6 @@ find %{buildroot}%{_libdir}/ocaml -name \*.cmxs -exec chmod a+x {} \+
|
|||||||
%changelog
|
%changelog
|
||||||
* Wed Feb 26 2020 Richard W.M. Jones <rjones@redhat.com> - 2.2.2-2
|
* Wed Feb 26 2020 Richard W.M. Jones <rjones@redhat.com> - 2.2.2-2
|
||||||
- OCaml 4.10.0 final.
|
- OCaml 4.10.0 final.
|
||||||
- Make lwt subpackage conditional.
|
|
||||||
|
|
||||||
* Fri Feb 7 2020 Jerry James <loganjerry@gmail.com> - 2.2.2-1
|
* Fri Feb 7 2020 Jerry James <loganjerry@gmail.com> - 2.2.2-1
|
||||||
- New upstream version 2.2.2
|
- New upstream version 2.2.2
|
||||||
|
Loading…
Reference in New Issue
Block a user