Compare commits
5 Commits
78644af477
...
e85b3d4430
Author | SHA1 | Date |
---|---|---|
Richard W.M. Jones | e85b3d4430 | |
Richard W.M. Jones | 17ea33955e | |
Fedora Release Engineering | ad14febc8b | |
Jerry James | e14c733a51 | |
Jerry James | c8ab4c09d6 |
|
@ -1,15 +1,16 @@
|
|||
%undefine _package_note_flags
|
||||
|
||||
%ifnarch %{ocaml_native_compiler}
|
||||
# debuginfo generation fails for unclear reasons.
|
||||
%global debug_package %{nil}
|
||||
%endif
|
||||
|
||||
Name: ocaml-odoc
|
||||
Version: 2.1.1
|
||||
Release: 2%{?dist}
|
||||
Version: 2.2.0
|
||||
Release: 3%{?dist}
|
||||
Summary: Documentation compiler for OCaml and Reason
|
||||
|
||||
License: ISC
|
||||
# ISC: The project as a whole
|
||||
# BSD-3-Clause: src/html_support_files/highlight.pack.js
|
||||
License: ISC AND BSD-3-Clause
|
||||
URL: https://github.com/ocaml/odoc
|
||||
Source0: %{url}/archive/%{version}/odoc-%{version}.tar.gz
|
||||
|
||||
|
@ -43,6 +44,7 @@ offers a good opportunity to improve HTML output compared to ocamldoc,
|
|||
but this is very much a work in progress.
|
||||
|
||||
%package devel
|
||||
License: ISC
|
||||
Summary: Development files for %{name}
|
||||
Requires: %{name}%{?_isa} = %{version}-%{release}
|
||||
Requires: ocaml-fmt-devel%{?_isa}
|
||||
|
@ -56,6 +58,7 @@ The %{name}-devel package contains libraries and signature files for
|
|||
developing applications that use %{name}.
|
||||
|
||||
%package doc
|
||||
License: ISC
|
||||
Summary: Documentation for %{name}
|
||||
BuildArch: noarch
|
||||
|
||||
|
@ -75,12 +78,13 @@ Documentation for %{name}.
|
|||
mkdir -p %{buildroot}%{_mandir}/man1
|
||||
_build/install/default/bin/odoc --help groff > %{buildroot}%{_mandir}/man1/odoc.1
|
||||
|
||||
%check
|
||||
%dune_check
|
||||
# It is no longer possible to run the tests because Fedora lacks ocaml-crunch.
|
||||
#check
|
||||
#dune_check
|
||||
|
||||
%files -f .ofiles
|
||||
%doc CHANGES.md README.md
|
||||
%license LICENSE.md
|
||||
%license LICENSE.md src/html_support_files/LICENSE
|
||||
%{_mandir}/man1/odoc.1*
|
||||
|
||||
%files devel -f .ofiles-devel
|
||||
|
@ -90,6 +94,19 @@ _build/install/default/bin/odoc --help groff > %{buildroot}%{_mandir}/man1/odoc.
|
|||
%license LICENSE.md
|
||||
|
||||
%changelog
|
||||
* Tue Jan 24 2023 Richard W.M. Jones <rjones@redhat.com> - 2.2.0-3
|
||||
- Rebuild OCaml packages for F38
|
||||
|
||||
* Thu Jan 19 2023 Fedora Release Engineering <releng@fedoraproject.org> - 2.2.0-2
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
|
||||
|
||||
* Mon Jan 9 2023 Jerry James <loganjerry@gmail.com> - 2.2.0-1
|
||||
- Version 2.2.0
|
||||
- Disable tests due to missing dependency
|
||||
|
||||
* Mon Dec 12 2022 Jerry James <loganjerry@gmail.com> - 2.1.1-2
|
||||
- Convert License tags to SPDX
|
||||
|
||||
* Thu Sep 15 2022 Jerry James <loganjerry@gmail.com> - 2.1.1-2
|
||||
- Rebuild for ocaml-cmdliner 1.1.1
|
||||
|
||||
|
|
2
sources
2
sources
|
@ -1 +1 @@
|
|||
SHA512 (odoc-2.1.1.tar.gz) = ac6871ff7c5e6de5acde2cf50ee4f881f25f6524175f6564f0423c6d5e16877392533826788a4bc96f420671b29b185e235c6b62e343acc0a6150e073b9f9d52
|
||||
SHA512 (odoc-2.2.0.tar.gz) = 1f1b0f00bef5b4a01b25823dc71ccba4a0425ba950042636dbb2140d16df87eff185d3c6c213263878bb997708e81d60d7f34ec980bf48a7e7e745f620521c57
|
||||
|
|
Loading…
Reference in New Issue