public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/flex] rawhide: Rebase to 2.7.9 (#2562413)
@ 2026-11-30 17:19 Arjun Shankar
0 siblings, 0 replies; only message in thread
From: Arjun Shankar @ 2026-11-30 17:19 UTC (permalink / raw)
To: git-commits
A new commit has been pushed.
Repo : rpms/flex
Branch : rawhide
Commit : 9835e1019333b03865b6c98ab4761fa5920c49d6
Author : Arjun Shankar <arjun@redhat.com>
Date : 2026-11-30T14:27:41+01:00
Stats : +27/-44 in 5 file(s)
URL : https://src.fedoraproject.org/rpms/flex/c/9835e1019333b03865b6c98ab4761fa5920c49d6?branch=rawhide
Log:
Rebase to 2.7.9 (#2562413)
This commit:
* Rebases flex to 2.7.9
* Drops the now obsolete patch for a 2.6.4 build failure
* Adds build-time signature verification
* Adds a new pkgconfig file to libfl-devel
---
diff --git a/.gitignore b/.gitignore
index b3edfc9..892c19e 100644
--- a/.gitignore
+++ b/.gitignore
@@ -8,3 +8,5 @@ flex-2.5.35.tar.bz2
/flex-2.6.1.tar.xz
/flex-2.6.4.tar.gz
series
+/flex-2.7.9.tar.gz
+/flex-2.7.9.tar.gz.sig
diff --git a/flex-release-key.asc b/flex-release-key.asc
new file mode 100644
index 0000000..286fb7f
--- /dev/null
+++ b/flex-release-key.asc
@@ -0,0 +1,16 @@
+-----BEGIN PGP PUBLIC KEY BLOCK-----
+
+mDMEavJBPRYJKwYBBAHaRw8BAQdAidcRm/qf8gMIZP0M3VXA6vFFGxJFChfZa4OP
+LSYQ+wG0JkZsZXggUmVsZWFzZXMgPHJlbGVhc2VzQGZsZXhsZXhlci5vcmc+iJYE
+ExYIAD4WIQRW1mTHDMI2TPUWSRS33+i7bCQf7QUCavJBPQIbAQUJCWYBgAULCQgH
+AgYVCgkICwIEFgIDAQIeAQIXgAAKCRC33+i7bCQf7XBzAP0QQYjxWQL6qTWfoJCW
+BRs3sOscFMEYeH5eDckW0eyQUgEAkI/Rg6T3R3yav20sNVePjGYkhNdEb6wL8C/u
+tK+3PwG4MwRq8kG/FgkrBgEEAdpHDwEBB0Afn0BtCohDs5U1T5Ld3wmTodsLHQT1
+qdYxRbBmQUUaToj1BBgWCAAmFiEEVtZkxwzCNkz1FkkUt9/ou2wkH+0FAmryQb8C
+GwIFCQPCZwAAgQkQt9/ou2wkH+12IAQZFggAHRYhBBWi0+O+rMLpfTvKcpTZ0zzQ
+VMi0BQJq8kG/AAoJEJTZ0zzQVMi0HOoA/0D6QG2aJxFCrtwmIVEfG8Bd09ze2h0Z
+zJW47WI9YpEOAQD6OlXOag3u9apcZPdJCkjCtPokKga6Cr3jXFG4X3cTANBLAQDa
+E2d6DGiHGcxxkkRqEGkbcTlCm3PEvbM4Xy3G0ZCqBQEA1jwIdYrxDZ04ch9T0n/g
+kCc1z0TNq3GGEk77oTOPEwM=
+=+W7Q
+-----END PGP PUBLIC KEY BLOCK-----
diff --git a/flex-rh1389575.patch b/flex-rh1389575.patch
deleted file mode 100644
index 9095626..0000000
--- a/flex-rh1389575.patch
+++ /dev/null
@@ -1,39 +0,0 @@
-This patch fixes a flex-2.6.4 build failure on x86_64 and possibly other
-architectures where `size_t' is larger than `int'. The failure occurs as
-follows:
-
-A missing `reallocarray' prototype during compilation means that the
-compiler assumes an `int' return type. When compiling with `-pie' (standard
-for Fedora), addresses on the heap can be larger than `int' can store. Thus,
-pointers returned from `reallocarray' are truncated and any read/write to
-them leads to a SIGSEGV.
-
-From 24fd0551333e7eded87b64dd36062da3df2f6380 Mon Sep 17 00:00:00 2001
-From: Explorer09 <explorer09@gmail.com>
-Date: Mon, 4 Sep 2017 10:47:33 +0800
-Subject: [PATCH] build: AC_USE_SYSTEM_EXTENSIONS in configure.ac.
-
-This would, e.g. define _GNU_SOURCE in config.h, enabling the
-reallocarray() prototype in glibc 2.26+ on Linux systems with that
-version of glibc.
-
-Fixes #241.
----
- configure.ac | 2 ++
- 1 file changed, 2 insertions(+)
-
-Index: b/configure.ac
-===================================================================
---- a/configure.ac
-+++ b/configure.ac
-@@ -25,8 +25,10 @@
- # autoconf requirements and initialization
-
- AC_INIT([the fast lexical analyser generator],[2.6.4],[flex-help@lists.sourceforge.net],[flex])
-+AC_PREREQ([2.60])
- AC_CONFIG_SRCDIR([src/scan.l])
- AC_CONFIG_AUX_DIR([build-aux])
-+AC_USE_SYSTEM_EXTENSIONS
- LT_INIT
- AM_INIT_AUTOMAKE([1.11.3 -Wno-portability foreign check-news std-options dist-lzip parallel-tests subdir-objects])
- AC_CONFIG_HEADER([src/config.h])
diff --git a/flex.spec b/flex.spec
index 8abd0bb..a73ce5b 100644
--- a/flex.spec
+++ b/flex.spec
@@ -2,7 +2,7 @@
Summary: A tool for generating scanners (text pattern recognizers)
Name: flex
-Version: 2.6.4
+Version: 2.7.9
Release: %autorelease
# An SPDX license string check done against flex-2.6.4 using fossology
@@ -11,13 +11,14 @@ Release: %autorelease
License: BSD-3-Clause-flex AND GPL-3.0-or-later WITH Autoconf-exception-generic-3.0 AND GPL-3.0-or-later WITH Bison-exception-2.2 AND GPL-3.0-or-later WITH Texinfo-exception AND FSFAP AND FSFUL AND FSFULLR AND FSFULLRWD AND GPL-2.0-or-later AND X11
URL: https://github.com/westes/flex
-Source: https://github.com/westes/flex/releases/download/v%{version}/flex-%{version}.tar.gz
-
-Patch0: flex-rh1389575.patch
+Source0: https://github.com/westes/flex/releases/download/v%{version}/flex-%{version}.tar.gz
+Source1: https://github.com/westes/flex/releases/download/v%{version}/flex-%{version}.tar.gz.sig
+Source2: https://github.com/westes/flex/releases/download/v%{version}/flex-release-key.asc
Requires: m4
BuildRequires: gettext gettext-devel bison m4 help2man gcc gcc-c++ automake libtool
BuildRequires: make
+BuildRequires: openpgpverify
Obsoletes: flex-doc < 2.6.4-8
Provides: flex-doc = %{version}-%{release}
@@ -81,6 +82,7 @@ This package contains the static library with default implementations of
statically link against instead of implementing their own.
%prep
+%{openpgpverify} --keyring='%{SOURCE2}' --signature='%{SOURCE1}' --data='%{SOURCE0}'
%autosetup -p1
%build
@@ -126,6 +128,7 @@ echo ============END TESTING===========
%files -n libfl-devel
%{_includedir}/FlexLexer.h
%{_libdir}/libfl.so
+%{_libdir}/pkgconfig/libfl.pc
%files -n libfl-static
%dir %{_pkgdocdir}
diff --git a/sources b/sources
index 67236e5..ed7f023 100644
--- a/sources
+++ b/sources
@@ -1 +1,2 @@
-SHA512 (flex-2.6.4.tar.gz) = e9785f3d620a204b7d20222888917dc065c2036cae28667065bf7862dfa1b25235095a12fd04efdbd09bfd17d3452e6b9ef953a8c1137862ff671c97132a082e
+SHA512 (flex-2.7.9.tar.gz) = 1d22060dcda2557197d18a11c5fbc543d82611353c7f41f9ab986e78c9be8effc4b06a0686f736eb1aca30244979989b960007be16f203f655fde82a34a1a3c7
+SHA512 (flex-2.7.9.tar.gz.sig) = 2192fd62f3ada1cacb458c66c878a4f51a8a58b44a83a27f8d463e62cbd00a4dfcf0f11c3c078e816ad30d5b44f28f10473a423a659afaa455aece1acecbd951
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2026-11-30 17:19 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-11-30 17:19 [rpms/flex] rawhide: Rebase to 2.7.9 (#2562413) Arjun Shankar
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox