Commit e7d1e0be25 removed and obsoleted
flex-doc, but did not 'Provides:' it. This commit fixes that.
Fedora 40 commit: 6e3f209ce3390dbc83041818632a75940b52461d
Resolves: RHEL-33632
The flex-doc subpackage hasn't contained any documentation for quite a
while. It is supposed to contain the manual in PDF format, but
`make && make install' does not produce a PDF. Since info and man pages
are provided in the main package itself, this leaves flex-doc redundant.
This commit removes and obsoletes the flex-doc subpackage.
No Fedora packages are currently dependent on or build-dependent on
flex-doc:
$ dnf repoquery --whatdepends flex-doc
$ dnf repoquery --disablerepo="*" --enablerepo="*-source" --arch=src \
--whatdepends flex-doc
Therefore, only an "Obsoletes: flex-doc" line is added, with no
accompanying "Provides: flex-doc" line.
This resolves a user request for a shared library (#1327851) and harmonizes
package names and content with Debian and SUSE.
The following subpackage changes have been made:
- Remove and obsolete the flex-devel subpackage containing static libraries
- Provide shared libraries in a new subpackage named libfl2
- Provide development files in a new subpackage named libfl-devel
- Provide static libraries in a new subpackage named libfl-static
This patch rebases flex to upstream version 2.6.4 and thus drops all
backported upstream patches that the package has been carrying so far.
One exception is flex-2.6.0-yyless.patch which has no equivalent upstream.
I could not track the origin of this patch because flex development moved
from SourceForge to GitHub and in the process, sourceforge bug tracker
content has been lost. However, RHBZ #1281976 seems to suggest that this
patch was included in order to fix a libreswan build failure caused by a
flex integer comparison type mismatch bug. I dropped flex-2.6.0-yyless.patch
and confirmed that the Fedora libreswan package corresponding to
libreswan-3.25 builds successfully despite this patch being dropped.
Additionally, flex-2.6.4 FTBFS because it uses reallocarray but does not
define _GNU_SOURCE leading to a missing prototype for reallocarray. This
commit also includes the upstream patch that fixes this. The patch modifies
configure.ac, which necessitates executing autoreconf at build time and thus
a corresponding set of new build dependencies.
Compiling a flex generated scanner with g++ with all warnings turned on (-Wall)
produces a warning due to "comparison of integer expressions of different
signedness". This change removes the warning by using the same signedness.
This bug was a regression inherited from upstream flex during the rebase to
flex-2.6.1. The same bug was fixed previously (albeit differently) by commit
a3088c99e8.
This is not a functional change and merely adds quilt scripts and a README
explaining their usage. In addition, it rewrites patch levels to be in line
with the result of 'quilt refresh -p ab'. No source changes are involved and
the source files are identical.
None of currently supported distributions need that.
Last one was EL5 which is EOL for a while.
Signed-off-by: Igor Gnatenko <ignatenkobrain@fedoraproject.org>
None of currently supported distributions need that.
It was needed last for EL5 which is EOL now
Signed-off-by: Igor Gnatenko <ignatenkobrain@fedoraproject.org>