Bug 9930
Summary: | RPM - cannot comment out %configure macro | ||
---|---|---|---|
Product: | [Retired] Red Hat Linux | Reporter: | Motonobu Ichimura <famao> |
Component: | rpm-build | Assignee: | Jeff Johnson <jbj> |
Status: | CLOSED WORKSFORME | QA Contact: | |
Severity: | medium | Docs Contact: | |
Priority: | medium | ||
Version: | 6.2 | CC: | iamanikamalhotra, iammariaanams, nml580oa, ss |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | i386 | ||
OS: | Linux | ||
URL: | http://www.kondara.org | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2004-02-10 19:21:39 UTC | Type: | --- |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: |
Description
Motonobu Ichimura
2000-03-03 06:12:11 UTC
This is still an issue in rpm-4.0-0.45 from Rawhide too. This also happens with %define. Changing component. This is still a problem with rpm-4.0.4-7x on RH7.1. Here is a simple test case and the results: [root@redtower SPECS]# cat test.spec Summary: shows octothorp aren't ignored by lines with %defines Name: test Version: 1 Release: 1 Group: testcase License: open # here is the definition we want %define good good # the following define is preceeded by a octothorp which # should cause the line to be ignored but doesn't # %define good bad %description See Summary: %build echo "good is %{good} is %good" [root@redtower SPECS]# rpm -ba test.spec Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.39414 + umask 022 + cd /usr/src/redhat/BUILD + echo 'good is bad is bad' good is bad is bad + exit 0 Wrote: /usr/src/redhat/SRPMS/test-1-1.src.rpm Macros are context free, expanded wherever thay are found, within strings, in comments, everywhere. Add an escaping %, as in %%define if you wish to disable the expansion. Cannot comment out % configure macro, This confirmation is better for everyone for those who are checking our https://essay-reviewer.com/college-paper-org-review/ comment they understand the importance for Marco which we mostly use in our comments. |