Bugzilla will be upgraded to version 5.0 on a still to be determined date in the near future. The original upgrade date has been delayed.
Bug 32804 - %configure in spec file comment runs configure twice
%configure in spec file comment runs configure twice
Product: Red Hat Raw Hide
Classification: Retired
Component: ntp (Show other bugs)
i386 Linux
medium Severity medium
: ---
: ---
Assigned To: Preston Brown
Brian Brock
Depends On:
  Show dependency treegraph
Reported: 2001-03-23 02:04 EST by kenneth_porter
Modified: 2007-04-18 12:32 EDT (History)
0 users

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2001-03-25 18:30:19 EST
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

  None (edit)
Description kenneth_porter 2001-03-23 02:04:37 EST
RPM macros in spec files are expanded even when within a comment. In the spec file for ntp-4.0.99k-13, the line "#%configure" is expanded 
and the results are executed. This causes configure to run twice.
Comment 1 Brian Brock 2001-03-25 18:30:15 EST
I can verify that, and the package builds in spite of the bug in the spec file. 
However, #%configure is on a line by itself, and there are no other uses of the
%configure macro within that spec file:

# XXX work around for anal ntp configure
%define _target_platform        %{nil}
CFLAGS="-g -DDEBUG" ./configure --prefix=/usr
%undefine       _target_platform
Comment 2 Preston Brown 2001-03-26 10:32:04 EST
fixed in 4.0.99k-14 and later.

Note You need to log in before you can comment on or make changes to this bug.