Compare commits

...
Sign in to create a new pull request.

27 commits

Author SHA1 Message Date
Jerry James
89d4ce2b46 Rebuild to fix rocq dependencies 2026-07-29 12:07:50 -06:00
Fedora Release Engineering
d706603ef8 Rebuilt for https://fedoraproject.org/wiki/Fedora_45_Mass_Rebuild 2026-07-17 09:39:45 +00:00
Jerry James
690b763b98 OCaml 5.5.0 rebuild 2026-07-09 16:29:13 -06:00
Jerry James
908bb57416 Rebuild for rocq 9.2.0 2026-04-16 11:36:07 -06:00
Jerry James
bb037f14a5 Rebuild for rocq 9.1.1
- Add patch to avoid deprecated usage
2026-03-19 21:25:57 -06:00
Richard W.M. Jones
47d0c43b0f OCaml 5.4.1 rebuild 2026-02-20 23:46:15 +00:00
Fedora Release Engineering
67507a4ddf Rebuilt for https://fedoraproject.org/wiki/Fedora_44_Mass_Rebuild 2026-01-17 21:07:24 +00:00
Jerry James
79034fa8b3 Reflow the description text
- Fix a changelog entry
2026-01-14 08:54:02 -07:00
Richard W.M. Jones
d38321127a OCaml 5.4.0 rebuild 2025-10-14 09:53:32 +01:00
Jerry James
fe5842f5b3 Bump and rebuild 2025-08-22 09:47:09 -06:00
Jerry James
aa00da82f4 Bump and rebuild 2025-08-10 10:42:50 -06:00
Fedora Release Engineering
1eb3c4026c Rebuilt for https://fedoraproject.org/wiki/Fedora_43_Mass_Rebuild 2025-07-25 21:17:24 +00:00
Jerry James
96afada8f4 Rebuild to fix OCaml dependencies 2025-07-12 15:21:01 -06:00
Jerry James
b9a87dfa9e Rebuild for coq 8.20.1 2025-01-22 15:37:14 -07:00
Fedora Release Engineering
673cd36b69 Rebuilt for https://fedoraproject.org/wiki/Fedora_42_Mass_Rebuild 2025-01-19 16:44:12 +00:00
Jerry James
6033d8718c OCaml 5.3.0 rebuild for Fedora 42 2025-01-10 09:44:49 -07:00
Fedora Release Engineering
fcec17e073 Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild 2024-07-20 10:50:29 +00:00
Jerry James
0e1bdbf94c Fix the VCS field 2024-07-17 16:21:12 -06:00
Richard W.M. Jones
8454349e2c OCaml 5.2.0 ppc64le fix 2024-06-19 19:12:48 +01:00
Richard W.M. Jones
948431df64 OCaml 5.2.0 for Fedora 41 2024-05-29 22:47:06 +01:00
Jerry James
070ecc9208 Add VCS field 2024-05-23 12:14:12 -06:00
Jerry James
7cb80570d2 Rebuild for rebuilt coq 2024-02-02 16:29:48 -07:00
Fedora Release Engineering
c20aee4465 Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild 2024-01-27 11:04:22 +00:00
Jerry James
05c59effb8 Rebuild for coq 8.18.0 2024-01-02 12:12:15 -07:00
Richard W.M. Jones
f4b2af69e5 OCaml 5.1.1 + s390x code gen fix for Fedora 40 2023-12-18 15:30:14 +00:00
Richard W.M. Jones
960aa15941 OCaml 5.1.1 rebuild for Fedora 40 2023-12-12 15:40:57 +00:00
Richard W.M. Jones
b6424d4192 OCaml 5.1 rebuild for Fedora 40 2023-10-05 16:22:39 +01:00
2 changed files with 129 additions and 30 deletions

34
zenon-deprecated.patch Normal file
View file

@ -0,0 +1,34 @@
--- zenon-0.8.5/zenon_coqbool.v.orig 2020-10-23 09:19:07.000000000 -0600
+++ zenon-0.8.5/zenon_coqbool.v 2026-03-03 16:33:33.636474063 -0700
@@ -1,6 +1,6 @@
(* Copyright 2004 INRIA *)
-Require Export Bool.
+From Stdlib Require Export Bool.
Definition __g_not_b := negb.
Definition __g_and_b := andb.
--- zenon-0.8.5/zenon_focal.v.orig 2020-10-23 09:19:07.000000000 -0600
+++ zenon-0.8.5/zenon_focal.v 2026-03-03 16:34:30.531982864 -0700
@@ -1,8 +1,8 @@
(* Copyright 2004 INRIA *)
-Require Export Bool.
-Require Import ClassicalEpsilon.
-Require List.
+From Stdlib Require Export Bool.
+From Stdlib Require Import ClassicalEpsilon.
+From Stdlib Require List.
(* magic: this whole file depends on the following definitions:
basics.and_b := andb
--- zenon-0.8.5/zenon.v.orig 2020-10-23 09:19:07.000000000 -0600
+++ zenon-0.8.5/zenon.v 2026-03-03 16:33:06.988515450 -0700
@@ -1,6 +1,6 @@
(* Copyright 2004 INRIA *)
-Require Export Classical.
+From Stdlib Require Export Classical.
Lemma zenon_notnot : forall P : Prop,
P -> (~ P -> False).

View file

@ -1,47 +1,46 @@
# Coq's plugin architecture requires cmxs files, so:
ExclusiveArch: %{ocaml_native_compiler}
# ANTLR is unavailable on i686, so coq is also unavailable
# See https://fedoraproject.org/wiki/Changes/Drop_i686_JDKs
#ExclusiveArch: %%{java_arches}
%ifnarch %{ocaml_native_compiler}
%global debug_package %{nil}
%endif
%global coqver 8.17.1
%global rocqver 9.2.0
%global giturl https://github.com/zenon-prover/zenon
Name: zenon
Version: 0.8.5
Release: 19%{?dist}
Release: 43%{?dist}
Summary: Automated theorem prover for first-order classical logic
License: BSD-3-Clause
URL: http://zenon-prover.org/
Source0: https://github.com/zenon-prover/zenon/archive/%{version}/%{name}-%{version}.tar.gz
VCS: git:%{giturl}.git
Source0: %{giturl}/archive/%{version}/%{name}-%{version}.tar.gz
Source1: http://zenon-prover.org/zenlpar07.pdf
Source2: %{name}-tptp-COM003+2.p
Source3: %{name}-tptp-ReadMe
# Basic documentation (man pages). Submitted upstream 2008-07-25:
Source4: %{name}.1
Source5: %{name}-format.5
# Update deprecated usage
Patch: %{name}-deprecated.patch
BuildRequires: coq = %{coqver}
BuildRequires: ghostscript
BuildRequires: ImageMagick
# Rocq's plugin architecture requires cmxs files
ExclusiveArch: %{ocaml_native_compiler}
BuildRequires: coq-core-compat = %{rocqver}
BuildRequires: rocq = %{rocqver}
BuildRequires: rocq-stdlib
BuildRequires: make
BuildRequires: ocaml
Requires: coq%{?_isa} = %{coqver}
Requires: rocq%{?_isa} = %{rocqver}
Requires: rocq-stdlib%{?_isa}
Requires: coreutils
%description
Zenon is an automated theorem prover for first order classical logic
with equality, based on the tableau method. Zenon can read input files
in TPTP, Coq, Focal, and its own Zenon format. Zenon can directly
generate Coq proofs (proof scripts or proof terms), which can be
reinserted into Coq specifications. Zenon can also be extended.
Zenon is an automated theorem prover for first order classical logic with
equality, based on the tableau method. Zenon can read input files in TPTP,
Coq, Focal, and its own Zenon format. Zenon can directly generate Coq proofs
(proof scripts or proof terms), which can be reinserted into Coq
specifications. Zenon can also be extended.
%prep
%autosetup
%autosetup -p1
cp -p %{SOURCE1} .
@ -55,14 +54,8 @@ mkdir examples
cp -p %{SOURCE2} examples/tptp-COM003+2.p
cp -p %{SOURCE3} examples/tptp-ReadMe
# Work around Makefile errors (fails if no ocamlopt, uses _bytecode_ otherwise)
%ifarch %{ocaml_native_compiler}
make %{?_smp_mflags} zenon.bin
cp -p zenon.bin zenon
%else
make %{?_smp_mflags} zenon.byt
cp -p zenon.byt zenon
%endif
make %{?_smp_mflags} zenon.bin
cp -p zenon.bin zenon
# Use of %%{?_smp_mflags} sometimes leads to build failures
make coq
@ -99,6 +92,78 @@ fi
%{_mandir}/man5/zenon-format.5*
%changelog
* Wed Jul 29 2026 Jerry James <loganjerry@gmail.com> - 0.8.5-43
- Rebuild to fix rocq dependencies
* Fri Jul 17 2026 Fedora Release Engineering <releng@fedoraproject.org> - 0.8.5-42
- Rebuilt for https://fedoraproject.org/wiki/Fedora_45_Mass_Rebuild
* Thu Jul 09 2026 Jerry James <loganjerry@gmail.com> - 0.8.5-41
- OCaml 5.5.0 rebuild
* Thu Apr 16 2026 Jerry James <loganjerry@gmail.com> - 0.8.5-40
- Rebuild for rocq 9.2.0
* Thu Mar 19 2026 Jerry James <loganjerry@gmail.com> - 0.8.5-39
- Rebuild for rocq 9.1.1
* Fri Feb 20 2026 Richard W.M. Jones <rjones@redhat.com> - 0.8.5-38
- OCaml 5.4.1 rebuild
* Sat Jan 17 2026 Fedora Release Engineering <releng@fedoraproject.org> - 0.8.5-37
- Rebuilt for https://fedoraproject.org/wiki/Fedora_44_Mass_Rebuild
* Tue Oct 14 2025 Richard W.M. Jones <rjones@redhat.com> - 0.8.5-36
- OCaml 5.4.0 rebuild
* Fri Aug 22 2025 Jerry James <loganjerry@gmail.com> - 0.8.5-35
- Bump and rebuild
* Sun Aug 10 2025 Jerry James <loganjerry@gmail.com> - 0.8.5-34
- Bump and rebuild
* Fri Jul 25 2025 Fedora Release Engineering <releng@fedoraproject.org> - 0.8.5-33
- Rebuilt for https://fedoraproject.org/wiki/Fedora_43_Mass_Rebuild
* Sat Jul 12 2025 Jerry James <loganjerry@gmail.com> - 0.8.5-32
- Rebuild to fix OCaml dependencies
* Wed Jan 22 2025 Jerry James <loganjerry@gmail.com> - 0.8.5-31
- Rebuild for coq 8.20.1
* Sun Jan 19 2025 Fedora Release Engineering <releng@fedoraproject.org> - 0.8.5-30
- Rebuilt for https://fedoraproject.org/wiki/Fedora_42_Mass_Rebuild
* Fri Jan 10 2025 Jerry James <loganjerry@gmail.com> - 0.8.5-29
- OCaml 5.3.0 rebuild for Fedora 42
* Sat Jul 20 2024 Fedora Release Engineering <releng@fedoraproject.org> - 0.8.5-28
- Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild
* Wed Jun 19 2024 Richard W.M. Jones <rjones@redhat.com> - 0.8.5-27
- OCaml 5.2.0 ppc64le fix
* Wed May 29 2024 Richard W.M. Jones <rjones@redhat.com> - 0.8.5-26
- OCaml 5.2.0 for Fedora 41
* Fri Feb 2 2024 Jerry James <loganjerry@gmail.com> - 0.8.5-25
- Rebuild for rebuilt coq
* Sat Jan 27 2024 Fedora Release Engineering <releng@fedoraproject.org> - 0.8.5-24
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
* Tue Jan 2 2024 Jerry James <loganjerry@gmail.com> - 0.8.5-23
- Rebuild for coq 8.18.0
* Mon Dec 18 2023 Richard W.M. Jones <rjones@redhat.com> - 0.8.5-22
- OCaml 5.1.1 + s390x code gen fix for Fedora 40
* Tue Dec 12 2023 Richard W.M. Jones <rjones@redhat.com> - 0.8.5-21
- OCaml 5.1.1 rebuild for Fedora 40
* Thu Oct 05 2023 Richard W.M. Jones <rjones@redhat.com> - 0.8.5-20
- OCaml 5.1 rebuild for Fedora 40
* Thu Jul 27 2023 Jerry James <loganjerry@gmail.com> - 0.8.5-19
- Rebuild for ocaml-zarith 1.13