Question about an automated check for $RPM_OPT_FLAGS

Ralf Corsepius rc040203 at freenet.de
Fri Jun 3 04:46:00 UTC 2011


On 06/03/2011 06:19 AM, Bruno Wolff III wrote:
> I have a bug report (https://bugzilla.redhat.com/show_bug.cgi?id=710288)
> that claims that manaworld 0.0.29 used $RPM_OPT_FLAGS, but that the
> recent 0.5.2 didn't. Unless there is something subtle it looks like the
> 0.5.2 is using $RPM_OPT_FLAGS.
It obviously doesn't.

C.f. the compiler calls inside of the build.logs, e.g.:

cd /builddir/build/BUILD/tmw-0.5.2/src && /usr/bin/c++    -Wall 
-I/builddir/build/BUILD/tmw-0.5.2/src -I/usr/include/SDL 
-I/usr/include/libxml2   -DPACKAGE_VERSION=\"0.5.2\" 
-DPKG_DATADIR=\"/usr/share/mana/\" -DLOCALEDIR=\"/usr/share/locale/\" 
-DENABLE_NLS=1 -DUSE_OPENGL -DUSE_X11 -o 
CMakeFiles/mana.dir/gui/widgets/avatarlistbox.cpp.o -c 
/builddir/build/BUILD/tmw-0.5.2/src/gui/widgets/avatarlistbox.cpp

If this package was honouring $RPM_OPT_FLAGS, the contents of 
$RPM_OPT_FLAGS would be found inside of this compiler call.


More information about the test mailing list