rpm-find-spec-bcond is broken

Tomasz Wittner twittner at o2.pl
Thu Aug 11 00:09:06 CEST 2005


Displaying in rpm-find-spec-bcond is broken. I'm talking about:
SOURCES]$ cvs status rpm-find-spec-bcond
===================================================================
File: rpm-find-spec-bcond       Status: Up-to-date

   Working revision:    1.8
   Repository revision: 1.8     /cvsroot/SOURCES/rpm-find-spec-bcond,v

It behaves different for old and new bconds - kernel-mosix.spec has oldfashion 
bconds, mc.spec - new:
SOURCES]$ ./rpm-find-spec-bcond ../SPECS/kernel-mosix.spec
_without_doc
_without_owl
_without_smp
_without_source
_without_up

I've intentionally added few blanks after %bcond_with
%bcond_with                     ext2undel     # with ext2 undelete fs
to mc.spec - here is result:
SOURCES]$ ./rpm-find-spec-bcond ../SPECS/mc.spec
_with
_____________
__ext2undel
_without
perl_vfs
_without
x
_with
samba
_with
utf8

Enclosed patch fixes this issue, but, probably, our builder scripts relies on 
such displaying bconds (in other words - my fix breaks builder). I'm not 
going to fix builder - sorry ;).

-- 
Tomasz Wittner
-------------- next part --------------
A non-text attachment was scrubbed...
Name: rpm-find-spec-bcond.patch
Type: text/x-diff
Size: 697 bytes
Desc: not available
Url : /mailman/pipermail/pld-devel-en/attachments/20050811/2366d1ca/rpm-find-spec-bcond-0002.bin


More information about the pld-devel-en mailing list