From: Thierry Parmentelat Date: Mon, 24 Jan 2011 14:49:15 +0000 (+0100) Subject: added rpmbuild options, but not enough to properly handle X-Git-Tag: 5.0-rc18~52 X-Git-Url: http://git.onelab.eu/?p=build.git;a=commitdiff_plain;h=249acd1f0c785b2aa88ba193ce7a1a8e442b3ef5 added rpmbuild options, but not enough to properly handle --with or --define or --target note that --with is a popt option that relies on --define --- diff --git a/spec2make.c b/spec2make.c index 30af6d00..712ce686 100644 --- a/spec2make.c +++ b/spec2make.c @@ -6,7 +6,6 @@ * Mark Huang * Copyright (C) 2006 The Trustees of Princeton University * - * $Id$ */ #include @@ -33,6 +32,10 @@ extern size_t strnlen(const char *s, size_t maxlen); /* the structure describing the options we take and the defaults */ static struct poptOption optionsTable[] = { + { NULL, '\0', POPT_ARG_INCLUDE_TABLE, rpmBuildPoptTable, 0, + "Build options with [ | | ]:", + NULL }, + { NULL, '\0', POPT_ARG_INCLUDE_TABLE, rpmcliAllPoptTable, 0, "Common options for all rpm modes and executables:", NULL },