Compare commits
4 Commits
rawhide
...
f33-riscv6
Author | SHA1 | Date | |
---|---|---|---|
f05ccb157b | |||
d46070ac7f | |||
1db079d193 | |||
|
9bd073be47 |
@ -2,15 +2,11 @@
|
||||
%global debug_package %{nil}
|
||||
%endif
|
||||
|
||||
# Documentation adds a circular dependency, so by
|
||||
# default we build without.
|
||||
%bcond_with doc
|
||||
|
||||
%global srcname mew
|
||||
|
||||
Name: ocaml-%{srcname}
|
||||
Version: 0.1.0
|
||||
Release: 8%{?dist}
|
||||
Release: 5%{?dist}.1.rvre2
|
||||
Summary: Modal Editing Witch
|
||||
|
||||
License: MIT
|
||||
@ -19,9 +15,7 @@ Source0: %{url}/archive/%{version}/%{srcname}-%{version}.tar.gz
|
||||
|
||||
BuildRequires: ocaml >= 4.02.3
|
||||
BuildRequires: ocaml-dune >= 1.1.0
|
||||
%if %{with doc}
|
||||
BuildRequires: ocaml-odoc
|
||||
%endif
|
||||
BuildRequires: ocaml-result-devel
|
||||
BuildRequires: ocaml-trie-devel
|
||||
|
||||
@ -49,17 +43,13 @@ files for developing applications that use %{name}.
|
||||
|
||||
%build
|
||||
dune build %{?_smp_mflags}
|
||||
%if %{with doc}
|
||||
dune build %{?_smp_mflags} @doc
|
||||
%endif
|
||||
|
||||
%install
|
||||
dune install --destdir=%{buildroot}
|
||||
|
||||
%if %{with doc}
|
||||
# We do not want the dune markers
|
||||
find _build/default/_doc/_html -name .dune-keep -delete
|
||||
%endif
|
||||
|
||||
# We do not want the ml files
|
||||
find %{buildroot}%{_libdir}/ocaml -name \*.ml -delete
|
||||
@ -88,9 +78,7 @@ find %{buildroot}%{_libdir}/ocaml -name \*.cmxs -exec chmod a+x {} \+
|
||||
%endif
|
||||
|
||||
%files devel
|
||||
%if %{with doc}
|
||||
%doc _build/default/_doc/*
|
||||
%endif
|
||||
%{_libdir}/ocaml/%{srcname}/META
|
||||
%{_libdir}/ocaml/%{srcname}/dune-package
|
||||
%{_libdir}/ocaml/%{srcname}/opam
|
||||
@ -102,15 +90,17 @@ find %{buildroot}%{_libdir}/ocaml -name \*.cmxs -exec chmod a+x {} \+
|
||||
%{_libdir}/ocaml/%{srcname}/%{srcname}*.cmt
|
||||
|
||||
%changelog
|
||||
* Mon Mar 1 15:56:26 GMT 2021 Richard W.M. Jones <rjones@redhat.com> - 0.1.0-8
|
||||
- OCaml 4.12.0 build
|
||||
- Make documentation conditional.
|
||||
* Sun Apr 25 2021 David Abdurachmanov <david.abdurachmanov@sifive.com> - 0.1.0-5.1.rvre2
|
||||
- Rebuilt for Fedora RISCV, no changes
|
||||
|
||||
* Tue Feb 2 2021 Richard W.M. Jones <rjones@redhat.com> - 0.1.0-7
|
||||
- Bump and rebuild for updated ocaml-camomile dep (RHBZ#1923853).
|
||||
* Sun Apr 25 2021 David Abdurachmanov <david.abdurachmanov@sifive.com> - 0.1.0-5.1.rvre1
|
||||
- Rebuilt for Fedora RISCV, no changes
|
||||
|
||||
* Tue Jan 26 2021 Fedora Release Engineering <releng@fedoraproject.org> - 0.1.0-6
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
|
||||
* Sun Apr 25 2021 David Abdurachmanov <david.abdurachmanov@sifive.com> - 0.1.0-5.1.rvre0
|
||||
- Rebuilt for Fedora RISCV, no changes
|
||||
|
||||
* Wed Sep 02 2020 Richard W.M. Jones <rjones@redhat.com> - 0.1.0-5.1
|
||||
- Bump release and rebuild.
|
||||
|
||||
* Tue Sep 01 2020 Richard W.M. Jones <rjones@redhat.com> - 0.1.0-5
|
||||
- OCaml 4.11.1 rebuild
|
||||
|
Loading…
Reference in New Issue
Block a user