A tool for creating scanners (text pattern recognizers)
Go to file
Arjun Shankar e7d1e0be25 Remove and obsolete the flex-doc subpackage (#1915609)
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.
2021-05-06 00:49:44 +02:00
.fmf Introduce CI gating 2021-02-01 11:12:11 +00:00
plans Introduce CI gating 2021-02-01 11:12:11 +00:00
tests/Sanity/smoke-check-flex-runs Introduce CI gating 2021-02-01 11:12:11 +00:00
.gitignore Rebase to 2.6.4 (#1389575) 2018-09-03 18:37:45 +02:00
flex-rh1389575.patch Rebase to 2.6.4 (#1389575) 2018-09-03 18:37:45 +02:00
flex.spec Remove and obsolete the flex-doc subpackage (#1915609) 2021-05-06 00:49:44 +02:00
gating.yaml Introduce CI gating 2021-02-01 11:12:11 +00:00
gen-quilt-series.sh Include quilt tooling and convert patches to be used with quilt 2018-06-27 14:05:06 +02:00
quilt-patch.sh Rebase to 2.6.4 (#1389575) 2018-09-03 18:37:45 +02:00
README.quilt Include quilt tooling and convert patches to be used with quilt 2018-06-27 14:05:06 +02:00
sources Rebase to 2.6.4 (#1389575) 2018-09-03 18:37:45 +02:00

This package supports working with patch files using quilt.

To regenerate the quilt series file run:
./gen-quilt-series.sh

Setup environment:
export QUILT_PATCHES=$PWD

Setup the source:
./quilt-patch.sh [-f]

Use `-f` if you want to have quilt-patch always remove the existing
source directory before starting. Otherwise you'll be patching on top of
an already patched tree generated perhaps by `*pkg prep`.

To add a new patch:

Option 1: Create a new patch:

cd flex-2.6.1/
quilt new flex-rh1439367.patch
quilt add tests/test-bison-yylloc/parser.y
# edit tests/test-bison-yylloc/parser.y
# you may add and edit several files in the same fashion

Option 2: Add an already prepared patch (e.g. from an upstream commit):

cd flex-2.6.1/
quilt import -P flex-rh1439367.patch ~/backport/obsolete-bison.patch
quilt push # if this fails, manually deal with conflicts (as in Option 1)

Finally:
quilt refresh -p ab
cd ..
git add flex-rh1439367.patch
# edit flex.spec to build with the new patch
git add flex.spec
git commit

You're done!