[Bug 385836] Re: adapter adds extra unneded quotation sign
Elan Ruusamäe
glen at delfi.ee
Thu Jun 11 11:02:18 CEST 2009
adapter.... is a good tool, but do not trust it. review before accepting
it's changes, use the 'c'onfirm mode to accept only few chunks. it's not
spec parser, it attempts to fix specs by regexps, that's not the way,
ever.
for workaround use double quotes, then adapter will not "see" this line:
LDFLAGS="%{rpmldflags} -lpci -lz"
otherwise patches welcome, adapter source is at:
http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/adapter.awk
adding this bug to adapter.awk so if somebody wants to fix it and
closing the bug.
** Changed in: pld-linux
Importance: Undecided => Low
** Changed in: pld-linux
Status: New => Won't Fix
--
adapter adds extra unneded quotation sign
https://bugs.launchpad.net/bugs/385836
You received this bug notification because you are subscribed to PLD
Linux.
Status in PLD Linux Distribution: Won't Fix
Bug description:
In some spec I've noticed some strenge behavoiur (part of diff output illustrated problem):
%{__make} \
CC='%{__cc}' \
CFLAGS='%{rpmcflags}' \
- LDFLAGS='%{rpmldflags} -lpci -lz'
+ LDFLAGS='%{rpmldflags} -lpci -lz'"
%install
I can't explain this, but is important bug, which breaks whole build...
Both problematic sources :
- ftp://ftp.th.pld-linux.org/dists/th/PLD/noarch/RPMS/rpm-build-tools-4.4.9-17.noarch
- current head cvs version (11-06-2009)
More information about the pld-bugs
mailing list