From 249acd1f0c785b2aa88ba193ce7a1a8e442b3ef5 Mon Sep 17 00:00:00 2001 From: Thierry Parmentelat Date: Mon, 24 Jan 2011 15:49:15 +0100 Subject: [PATCH] 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 --- spec2make.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) 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 }, -- 2.43.0