----- Original Message -----
Hi Dave,
crash/extensions/sial.so is missing in my mock build, after using your
crash-6.0.7-0.src.rpm from
http://people.redhat.com/anderson. To correct
this problem flex and bison is required within the BuildRequires: step.
current step:
BuildRequires: ncurses-devel zlib-devel
my step:
BuildRequires: ncurses-devel zlib-devel flex bison
Is it possible to fix it in the future ?
Mit freundlichen Grüßen / Kind regards
Axel Wirbser
Build & Packaging Spezialist
IBM Systems & Technology Group, Systems Software Development
Technical Operations & Linux Technologies, Systems Software
Management
Right, I understand the situation, but it's done that way on purpose.
That's the reason that the extensions/sial.mk file has this:
all:
@if [ -f /usr/bin/flex ] && [ -f /usr/bin/bison ]; then \
if [ -f ../$(GDB)/crash.target ]; then \
make -f sial.mk sial.so; else \
echo "sial.so: build failed: requires the crash $(GDB) module"; fi \
else \
echo "sial.so: build failed: requires /usr/bin/flex and
/usr/bin/bison"; fi
i.e., precisely for situations like yours, but where a user does not have flex
and bison installed, and has no interest in SIAL. The idea is to keep the upstream
spec file as unrestrictive as possible.
Is it possible to restrict the BuildRequires to only the extensions subpackage?
Dave