public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/gap-pkg-cohomolo] f45: Version 1.7.0
@ 2026-08-14 21:23 Jerry James
0 siblings, 0 replies; only message in thread
From: Jerry James @ 2026-08-14 21:23 UTC (permalink / raw)
To: git-commits
A new commit has been pushed.
Repo : rpms/gap-pkg-cohomolo
Branch : f45
Commit : 7eee6cae3372d0df0acd861c14e83cdf6ba49cd6
Author : Jerry James <loganjerry@gmail.com>
Date : 2026-08-14T15:13:37-06:00
Stats : +5/-72 in 3 file(s)
URL : https://src.fedoraproject.org/rpms/gap-pkg-cohomolo/c/7eee6cae3372d0df0acd861c14e83cdf6ba49cd6?branch=f45
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
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2026-08-14 21:23 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-08-14 21:23 [rpms/gap-pkg-cohomolo] f45: Version 1.7.0 Jerry James
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox