From 26f2b6a93d1244e26f690a66e31da1353cf9012b Mon Sep 17 00:00:00 2001 From: Silvan Calarco Date: Fri, 4 Jan 2013 16:56:05 +0100 Subject: [PATCH] pck-update: restore support for passing user parameters to rpm This was apparently broken in commit 58edaf3373589aaa8c13aa1d1b85b761e2c4e259: libspec: new function 'specfile.check_syntax()' --- plugins/pck-update.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/pck-update.in b/plugins/pck-update.in index 982c8c3..ad4e9c8 100644 --- a/plugins/pck-update.in +++ b/plugins/pck-update.in @@ -497,7 +497,7 @@ done)" --define=\"%_specdir $spec_dir\" --define=\"%_sourcedir $source_dir\"" specfile.check_syntax \ - --rpmopts "$rpmbuild_opts" \ + --rpmopts "$rpmbuild_opts $USER_RPMDEFINE_OPTS" \ --specfile "$SRPM_SPECFILE_WITH_PATH" \ --specfile-preprocessed "$specfile_preprocessed" fi