public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Jerry James <loganjerry@gmail.com>
To: git-commits@fedoraproject.org
Subject: [rpms/gappalib-coq] f44: Version 1.11.0
Date: Mon, 05 Oct 2026 21:55:49 GMT [thread overview]
Message-ID: <179123734932.1.13171648334663979725.rpms-gappalib-coq-551491e28306@fedoraproject.org> (raw)
A new commit has been pushed.
Repo : rpms/gappalib-coq
Branch : f44
Commit : 551491e283065dd1f598a76586304f4358fe22b4
Author : Jerry James <loganjerry@gmail.com>
Date : 2026-10-05T15:55:29-06:00
Stats : +88/-8 in 3 file(s)
URL : https://src.fedoraproject.org/rpms/gappalib-coq/c/551491e283065dd1f598a76586304f4358fe22b4?branch=f44
Log:
Version 1.11.0
- Add patch for rocq 9.3.0 compatibility
---
diff --git a/gappalib-coq-rocq9.3.patch b/gappalib-coq-rocq9.3.patch
new file mode 100644
index 0000000..6de3fe9
--- /dev/null
+++ b/gappalib-coq-rocq9.3.patch
@@ -0,0 +1,80 @@
+--- gappalib-coq-1.11.0/configure.in.orig 2026-06-01 03:15:04.000000000 -0600
++++ gappalib-coq-1.11.0/configure.in 2026-09-26 20:04:58.697886008 -0600
+@@ -50,7 +50,7 @@ AC_MSG_CHECKING([for Flocq >= 4.1])
+ AS_IF(
+ [ echo "From Flocq Require Import Version." \
+ "From Coq Require Import BinNat." \
+- "Goal (40100 <= Flocq_version)%N. easy. Qed." > conftest.v
++ "Goal (40100 <= Flocq_version)%N. Proof. easy. Qed." > conftest.v
+ $COQC conftest.v > conftest.err ],
+ [ AC_MSG_RESULT([yes]) ],
+ [ AC_MSG_RESULT([no])
+@@ -85,7 +85,7 @@ if test "$native_tactic" = yes; then
+ AC_MSG_CHECKING([for native development files])
+ AS_IF(
+ [ echo "let _ = (Evd.empty, Big_int_Z.zero_big_int)" > conftest.ml
+- $OCAMLFIND ocamlopt -rectypes -thread -package coq-core.engine -package zarith -shared conftest.ml -o conftest.cmxs ],
++ $OCAMLFIND ocamlopt -rectypes -thread -package rocq-runtime.engine -package zarith -shared conftest.ml -o conftest.cmxs ],
+ [ AC_MSG_RESULT(yes) ],
+ [ AC_MSG_RESULT(no)
+ AC_MSG_ERROR([ *** Failed to compile a native OCaml library ]) ])
+@@ -95,7 +95,7 @@ if test "$byte_tactic" = yes; then
+ AC_MSG_CHECKING([for bytecode development files])
+ AS_IF(
+ [ echo "let _ = (Evd.empty, Big_int_Z.zero_big_int)" > conftest.ml
+- $OCAMLFIND ocamlc -rectypes -thread -package coq-core.engine -package zarith -c conftest.ml -o conftest.cmo ],
++ $OCAMLFIND ocamlc -rectypes -thread -package rocq-runtime.engine -package zarith -c conftest.ml -o conftest.cmo ],
+ [ AC_MSG_RESULT(yes) ],
+ [ AC_MSG_RESULT(no)
+ AC_MSG_ERROR([ *** Failed to compile a bytecode OCaml library ]) ])
+--- gappalib-coq-1.11.0/configure.orig 2026-06-01 03:15:04.000000000 -0600
++++ gappalib-coq-1.11.0/configure 2026-09-26 20:05:40.601417452 -0600
+@@ -3685,7 +3685,7 @@ printf "%s\n" "$OCAMLLEX" >&6; }
+ printf %s "checking for Flocq >= 4.1... " >&6; }
+ if echo "From Flocq Require Import Version." \
+ "From Coq Require Import BinNat." \
+- "Goal (40100 <= Flocq_version)%N. easy. Qed." > conftest.v
++ "Goal (40100 <= Flocq_version)%N. Proof. easy. Qed." > conftest.v
+ $COQC conftest.v > conftest.err
+ then :
+ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
+@@ -3734,7 +3734,7 @@ if test "$native_tactic" = yes; then
+ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for native development files" >&5
+ printf %s "checking for native development files... " >&6; }
+ if echo "let _ = (Evd.empty, Big_int_Z.zero_big_int)" > conftest.ml
+- $OCAMLFIND ocamlopt -rectypes -thread -package coq-core.engine -package zarith -shared conftest.ml -o conftest.cmxs
++ $OCAMLFIND ocamlopt -rectypes -thread -package rocq-runtime.engine -package zarith -shared conftest.ml -o conftest.cmxs
+ then :
+ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
+ printf "%s\n" "yes" >&6; }
+@@ -3749,7 +3749,7 @@ if test "$byte_tactic" = yes; then
+ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for bytecode development files" >&5
+ printf %s "checking for bytecode development files... " >&6; }
+ if echo "let _ = (Evd.empty, Big_int_Z.zero_big_int)" > conftest.ml
+- $OCAMLFIND ocamlc -rectypes -thread -package coq-core.engine -package zarith -c conftest.ml -o conftest.cmo
++ $OCAMLFIND ocamlc -rectypes -thread -package rocq-runtime.engine -package zarith -c conftest.ml -o conftest.cmo
+ then :
+ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
+ printf "%s\n" "yes" >&6; }
+--- gappalib-coq-1.11.0/Remakefile.in.orig 2026-06-01 03:15:04.000000000 -0600
++++ gappalib-coq-1.11.0/Remakefile.in 2026-09-26 20:04:11.793997256 -0600
+@@ -50,7 +50,7 @@ tools/vdep.exe: tools/vdep.ml
+ @COQC@ @COQEXTRAFLAGS@ -q -R src Gappa -I src $<
+
+ COQPKGS = clib engine kernel interp lib library parsing pretyping printing proofs tactics toplevel vernac plugins.ltac
+-PACKAGES = $(addprefix -package coq-core., $(COQPKGS)) -package zarith
++PACKAGES = $(addprefix -package rocq-runtime., $(COQPKGS)) -package zarith
+
+ src/gappatac.ml: src/gappatac.c Remakefile
+ @CPP@ -DCOQVERSION=@COQVERSION@ $< -o $@
+--- gappalib-coq-1.11.0/src/META.coq-gappa.orig 2026-06-01 03:15:04.000000000 -0600
++++ gappalib-coq-1.11.0/src/META.coq-gappa 2026-09-26 20:06:56.138208533 -0600
+@@ -1,7 +1,7 @@
+ package "tactic" (
+ directory = "."
+ description = "Coq Gappa"
+- requires = "coq-core.plugins.ltac"
++ requires = "rocq-runtime.plugins.ltac"
+ archive(byte) = "gappatac.cma"
+ archive(native) = "gappatac.cmxa"
+ plugin(byte) = "gappatac.cma"
diff --git a/gappalib-coq.spec b/gappalib-coq.spec
index 2728753..480524d 100644
--- a/gappalib-coq.spec
+++ b/gappalib-coq.spec
@@ -3,19 +3,19 @@
# install the package and run "remake check" manually before committing.
%global gappadir %{ocamldir}/coq/user-contrib/Gappa
-%global rocqver 9.2.0
-%global commit df59b68361b1efbd697b17c40f7fae4a35991c44
-%global giturl https://gitlab.inria.fr/gappa/coq
+%global rocqver 9.3.0
Name: gappalib-coq
-Version: 1.10.0
+Version: 1.11.0
Release: %autorelease
Summary: Coq support library for gappa
License: LGPL-3.0-or-later
URL: https://gappa.gitlabpages.inria.fr/
-VCS: git:%{giturl}.git
-Source: %{giturl}/-/archive/%{name}-%{version}/%{name}-%{version}.tar.gz
+VCS: git:https://gitlab.inria.fr/gappa/coq.git
+Source: %{url}releases/%{name}-%{version}.tar.gz
+# Adapt to rocq 9.3
+Patch: %{name}-rocq9.3.patch
# Coq's plugin architecture requires cmxs files
ExclusiveArch: %{ocaml_native_compiler}
@@ -55,7 +55,7 @@ files are not needed to use gappalib-coq. They are made available for
informational purposes.
%prep
-%autosetup -n coq-%{name}-%{version}-%{commit}
+%autosetup -p1
%conf
# Enable debuginfo
diff --git a/sources b/sources
index 04ae42c..cfe4dcc 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-SHA512 (gappalib-coq-1.10.0.tar.gz) = a764838f26716e1c1b497b9d9b4f19dda63617f91deacc3cbf65386a3f21cea2987dc2eecfbcf135962cd30d70dad9e50aa7621c200894488a117d2c82c4e4cf
+SHA512 (gappalib-coq-1.11.0.tar.gz) = 654d4787998ce085b8ce7e6f6c266e826e9581b34002c1c0995972a3927800e5732f8e6205ea63047aca84327413f4e2f774e2c5627fe7b98fba809250c0b857
reply other threads:[~2026-10-05 21:55 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=179123734932.1.13171648334663979725.rpms-gappalib-coq-551491e28306@fedoraproject.org \
--to=loganjerry@gmail.com \
--cc=git-commits@fedoraproject.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox