Go to file
Dmitry V. Levin 988b7b0106 parseBits: disallow syntax errors and unknown qualifiers
The previous attempt to fail build in case of syntax errors
and unknown dependency qualifiers made in commit
rpm-4.8.0-beta1-385-gbf2bc18ebb325f081ade65adc2fbb6858f0b8396
missed the following classes of erroneous dependencies:

Requires(,) -- erroneously treated as Requires(),
Requires(;) -- erroneously treated as Requires(),
Requires(,pre) -- erroneously treated as Requires(),
Requires(;pre) -- erroneously treated as Requires(),
Requires(pre,) -- erroneously treated as Requires(pre),
Requires(pre,,postun) -- erroneously treated as Requires(pre),
Requires(pre,,junk) -- erroneously treated as Requires(pre),
Requires(pre;postun) -- erroneously treated as Requires(pre),
Requires(pre;junk) -- erroneously treated as Requires(pre).

Found by code inspection.

Fixes: bf2bc18ebb32 ("Always fail build on unknown dependency qualifiers")

(cherry picked from rpm.org commit aafb861846db97d78964e98d603b4e6cd88ed3ae)

The two last cases listed above have already been fixed by commit
f7280d8302.
2019-04-16 18:46:34 +00:00
.gear added .gitignore, improved support for in-tree building 2010-08-17 19:20:40 +04:00
autodeps added me to "Copyright (C)" 2016-11-28 22:37:13 +03:00
build parseBits: disallow syntax errors and unknown qualifiers 2019-04-16 18:46:34 +00:00
doc Drop %__find_prereq support 2019-01-14 20:56:55 +00:00
lib remark: we don't print the disttag 2019-02-26 23:19:51 +03:00
po 4.0.4-alt100.72 2013-04-08 20:10:07 +00:00
python Fix automake warnings 2014-02-15 22:19:47 +00:00
rpmdb remark: we don't print the disttag 2019-02-26 23:19:51 +03:00
rpmio macro.c: force GNU getopt(3) to reinitialize it's internal data structure 2019-01-31 22:17:45 +03:00
scripts shell.req: correctly detect #!/bin/env bash (ALT#35376) 2019-01-31 21:58:32 +03:00
tools suggest_bpp: fix harmless off-by-one error in bpp estimation 2019-01-20 23:40:39 +00:00
.gitignore 4.0.4-alt100.72 2013-04-08 20:10:07 +00:00
.lclintrc re-added .lclintrc and .cvsignore files from CVS 2002-03-25 20:27:37 +00:00
build.c build.c: adjust for macroTableSize change 2011-01-06 05:00:53 +03:00
build.h Initial revision 2002-03-25 20:16:26 +00:00
CHANGES s/relocateable/relocatable/ (jbj) 2009-03-08 20:12:18 +03:00
configure.ac configure.in: rename to configure.ac 2013-10-28 00:35:31 +00:00
COPYING Initial revision 2002-03-25 20:16:26 +00:00
CREDITS Initial revision 2002-03-25 20:16:26 +00:00
debug.h Initial revision 2002-03-25 20:16:26 +00:00
Doxyfile.in build/files.c (addFile): replaced myftw() with fts(3) 2011-01-15 10:35:58 +03:00
Doxyheader Initial revision 2002-03-25 20:16:26 +00:00
gendiff gendiff: I guess "||" is somewhat better than "&&" (at least two bytes shorter!) 2007-01-25 00:32:34 +03:00
GROUPS GROUPS: add Graphical desktop/MATE (ALT#27626) 2012-08-16 22:56:05 +00:00
INSTALL sync with rpm4 branch: s/redhat/RPM/g 2002-03-25 20:44:16 +00:00
installplatform platform.in: completely expand %%_libsuff (/usr/lib%%nil was ugly) 2019-01-31 21:58:32 +03:00
macros.in Drop %__find_prereq support 2019-01-14 20:56:55 +00:00
Makefile.am Fix automake warnings 2014-02-15 22:19:47 +00:00
platform.in %configure: add --disable-silent-rules 2019-04-16 18:46:34 +00:00
README Initial revision 2002-03-25 20:16:26 +00:00
README.ALT-ru_RU.UTF-8 Introduce brp-check_contents 2017-10-25 03:16:59 +00:00
rpm2cpio.c Make rpm2cpio exit code accurate for large packages 2015-11-18 20:52:46 +03:00
rpm-4_0.spec 4.0.4-alt129 2019-02-27 07:30:19 +03:00
rpm-build.buildreq rpm-build.buildreq: added /usr/lib/rpm/macros.d/* 2008-12-16 03:34:01 +03:00
rpminit Removed cvsid tags. 2006-05-14 17:05:34 +04:00
rpminit.1 Removed cvsid tags. 2006-05-14 17:05:34 +04:00
rpmpopt.in rpmbuild: add "-bt" %check-only option 2011-12-06 16:25:14 +00:00
rpmqv.c rpmbuild: add "-bt" %check-only option 2011-12-06 16:25:14 +00:00
rpmrc.in Add ppc64le support 2018-12-04 14:52:42 +03:00
system.h Introduce xasprintf 2019-01-10 23:20:03 +00:00
TODO Initial revision 2002-03-25 20:16:26 +00:00

This is RPM, the Red Hat Package Manager.

The latest releases are always available at:

	ftp://ftp.rpm.org/pub/rpm

Additional RPM documentation (papers, slides, HOWTOs) can also be
found at the same site, as well as http://www.rpm.org.

There is a mailing list for discussion of RPM issues, rpm-list@redhat.com.
To subscribe, send a message to rpm-list-request@redhat.com with the word
"subscribe" in the subject line.

RPM was originally written by:

    Erik Troan <ewt@redhat.com>
    Marc Ewing <marc@redhat.com>

See the CREDITS file for a list of folks who have helped us out
tremendously.  RPM is Copyright (c) 1998 by Red Hat Software, Inc.,
and may be distributed under the terms of the GPL and LGPL (see  the
file COPYING for details).