Compare commits

...

5 Commits

Author SHA1 Message Date
Richard W.M. Jones e85b3d4430 Disable debuginfo generation
RPM build errors:
error: Empty %files file /builddir/build/BUILD/odoc-2.2.0/debugsourcefiles.list
    Empty %files file /builddir/build/BUILD/odoc-2.2.0/debugsourcefiles.list
Child return code was: 1
2023-01-24 18:55:43 +00:00
Richard W.M. Jones 17ea33955e Rebuild OCaml packages for F38 2023-01-24 18:45:45 +00:00
Fedora Release Engineering ad14febc8b Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2023-01-19 22:15:07 +00:00
Jerry James e14c733a51 Version 2.2.0. Disable tests due to missing dependency. 2023-01-09 12:36:09 -07:00
Jerry James c8ab4c09d6 Convert License tags to SPDX. 2022-12-12 14:46:11 -07:00
2 changed files with 26 additions and 9 deletions

View File

@ -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

View File

@ -1 +1 @@
SHA512 (odoc-2.1.1.tar.gz) = ac6871ff7c5e6de5acde2cf50ee4f881f25f6524175f6564f0423c6d5e16877392533826788a4bc96f420671b29b185e235c6b62e343acc0a6150e073b9f9d52
SHA512 (odoc-2.2.0.tar.gz) = 1f1b0f00bef5b4a01b25823dc71ccba4a0425ba950042636dbb2140d16df87eff185d3c6c213263878bb997708e81d60d7f34ec980bf48a7e7e745f620521c57