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/gap-pkg-cohomolo] f44: Version 1.7.0
Date: Fri, 14 Aug 2026 21:33:47 GMT	[thread overview]
Message-ID: <178674322711.1.2083331425775057716.rpms-gap-pkg-cohomolo-24945b70bf2c@fedoraproject.org> (raw)

            A new commit has been pushed.

            Repo   : rpms/gap-pkg-cohomolo
            Branch : f44
            Commit : 24945b70bf2c2ea1efa0ac1d3b2ac6cc6fd209d7
            Author : Jerry James <loganjerry@gmail.com>
            Date   : 2026-08-14T15:33:40-06:00
            Stats  : +5/-72 in 3 file(s)
            URL    : https://src.fedoraproject.org/rpms/gap-pkg-cohomolo/c/24945b70bf2c2ea1efa0ac1d3b2ac6cc6fd209d7?branch=f44

            Log:
            Version 1.7.0

- Drop upstreamed LTO patch
- Remove workarounds for ancient C code

---
diff --git a/gap-pkg-cohomolo-lto.patch b/gap-pkg-cohomolo-lto.patch
deleted file mode 100644
index e0abd73..0000000
--- a/gap-pkg-cohomolo-lto.patch
+++ /dev/null
@@ -1,46 +0,0 @@
---- cohomolo-1.6.11/standalone/progs.d/exc.c.orig	2023-01-03 08:17:48.000000000 -0700
-+++ cohomolo-1.6.11/standalone/progs.d/exc.c	2023-01-06 19:48:52.358377408 -0700
-@@ -8,6 +8,8 @@ extern short **simcos[], pinv[], gno[],
-     cp[], bno, invg[], **mat[], mwl2, mwdl, mlwdl, maxcos, dim, prime, *spv,
-     **spm, ng, rwl, nb;
- extern FILE *ip, *op;
-+extern short addsv(short,short *);
-+extern short image(short);
- 
- int gc(void)
- /* Garbage collection of coefficients by writing and rereading */
---- cohomolo-1.6.11/standalone/progs.d/gpp.c.orig	2023-01-03 08:17:48.000000000 -0700
-+++ cohomolo-1.6.11/standalone/progs.d/gpp.c	2023-01-06 19:47:50.407054642 -0700
-@@ -21,7 +21,7 @@ FILE *     ip, *op;
-    cp[1]cp[2]..cp[*cp]. This product can be evaluated by the procedure image
-    in permfns.c
- */
--short gpprog(void)
-+int gpprog(void)
- {
-   short i, j, k, l, m, nperms, nb, jobt, np2, seek, cord, ocord, given,
-       ordknown, trivrel, lsv, u, v, w, x, y, z, mxp, mnb, bno, id;
---- cohomolo-1.6.11/standalone/progs.d/nqp3.c.orig	2023-01-03 08:17:48.000000000 -0700
-+++ cohomolo-1.6.11/standalone/progs.d/nqp3.c	2023-01-06 19:49:15.885740607 -0700
-@@ -3,7 +3,8 @@
- extern char  inf[], inf1[], outf1[];
- extern short facexp, prime, exp, *rpf, *rpb, *eexpnt, **pcb, dim, onng,
-     expnt[], **comptr[], *vec[], **mat[], cp[], *wf, *wc, **extno, **subno,
--    chsdim, chpdim, gap;
-+    chsdim, chpdim;
-+extern char gap;
- extern FILE *ip, *op;
- 
- int comprels(void)
---- cohomolo-1.6.11/standalone/progs.d/pcscfns.c.orig	2023-01-03 08:17:48.000000000 -0700
-+++ cohomolo-1.6.11/standalone/progs.d/pcscfns.c	2023-01-06 19:49:38.909117447 -0700
-@@ -2,6 +2,9 @@
- 
- extern short npt, nb, npt1, exp, prime, pinv[], cp[], power[], wt[], base[],
-     ngno[], igno[], *svptr[], *pptr[], d1[];
-+extern short addsv(short,short *);
-+extern short image(short);
-+extern short invert(short *,short *);
- 
- /* Let the central series for P be P=P(n)>...>P(1)>P(0)=1. The procedures
-    in this file express a permutation g in P in in its normal form in the

diff --git a/gap-pkg-cohomolo.spec b/gap-pkg-cohomolo.spec
index ee8d648..41d51c6 100644
--- a/gap-pkg-cohomolo.spec
+++ b/gap-pkg-cohomolo.spec
@@ -2,7 +2,7 @@
 %global giturl      https://github.com/gap-packages/cohomolo
 
 Name:           gap-pkg-%{gap_pkgname}
-Version:        1.6.12
+Version:        1.7.0
 Release:        %autorelease
 Summary:        Cohomology groups of finite groups on finite modules
 
@@ -12,19 +12,17 @@ VCS:            git:%{giturl}.git
 Source:         %{giturl}/releases/download/v%{version}/%{gap_upname}-%{version}.tar.gz
 # Add missing shebangs
 Patch:          %{name}-shebang.patch
-# Fix all -Wlto-type-mismatch warnings
-Patch:          %{name}-lto.patch
 
 # See https://fedoraproject.org/wiki/Changes/EncourageI686LeafRemoval
 ExcludeArch:    %{ix86}
 BuildSystem:    gap
-BuildOption(install): bin gap htm testdata tst
+BuildOption(install): bin gap testdata tst
 BuildOption(check): tst/testall.g
 
+BuildRequires:  gap(autodoc)
 BuildRequires:  gap-devel >= 4.7
 BuildRequires:  gcc
 BuildRequires:  make
-BuildRequires:  tth
 
 Requires:       gap-core%{?_isa} >= 4.7
 
@@ -61,30 +59,13 @@ This package contains documentation for gap-pkg-%{gap_pkgname}.
 %autosetup -p1 -n %{gap_upname}-%{version}
 
 %conf
-# Fix paths
-sed -i 's,\.\./\.\./\.\./,%{gap_libdir}/,' doc/make_doc
-
-%build
-# There are lot of type safety violations in the C code.  It also
-# relies on implicit function declarations, a C89-only language
-# feature.
-%global build_type_safety_c 0
-%set_build_flags
-export CC='gcc -std=gnu89'
-
 # This is NOT an autoconf-generated script.  Do NOT use %%configure.
 ./configure %{gap_archdir}
 
+%build -p
 # Build the binaries
 %make_build
 
-# Build the documentation
-ln -s %{gap_libdir}/doc ../../doc
-cd doc
-./make_doc
-cd -
-rm ../../doc
-
 %install -a
 mkdir -p %{buildroot}%{gap_archdir}/pkg/%{gap_upname}/standalone
 cp -a standalone/{data.d,info.d} \
@@ -103,9 +84,7 @@ cp -a standalone/{data.d,info.d} \
 
 %files doc
 %docdir %{gap_archdir}/pkg/%{gap_upname}/doc/
-%docdir %{gap_archdir}/pkg/%{gap_upname}/htm/
 %{gap_archdir}/pkg/%{gap_upname}/doc/
-%{gap_archdir}/pkg/%{gap_upname}/htm/
 
 %changelog
 %autochangelog

diff --git a/sources b/sources
index 2c110b5..9ea7fdb 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-SHA512 (cohomolo-1.6.12.tar.gz) = 3b160749f8eda220bc132d8ec6b6186271b927280f0d78c62bf713321afae03f2b2f2a503ccfbefbd77396d16a1c0e4a9694982f549f5f3cec3bb7acf7aa28f5
+SHA512 (cohomolo-1.7.0.tar.gz) = ffc55d9f5af6835b7da420026ba7a5b8ca40078e89256ccf3a4278ee0c5fda491d2bad479b60c467dc78f9337ee1fcc3105374fa460c8f740d75d65c132c9def

                 reply	other threads:[~2026-08-14 21:33 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=178674322711.1.2083331425775057716.rpms-gap-pkg-cohomolo-24945b70bf2c@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