When I execute rpm --rebuild qt-2.3.1-3.src.rpm, I get an Unclosed %if error. This happens with both qt-2.3.1-3.src.rpm downloaded from
the kde mirror site and qt-2.3.1-4.src.rpm, downloaded from the rawhide SRPM ftp site
Translator messup. %endif was removed after a %description tag by the program
that injects translations into the RPMs.
This will be fixed in 8.0, simply ignore it for now, it's just a harmless
Hmmm. "simply ignore it for now, it's just a harmless warning." OK, how do I ignore it? I execute "rpm --rebuild qt-2.3.1-3.src.rpm" and the rebuild
FAILS with the error message "Unclosed %if error". How do I go about "ignoring" that? Is there an rpm --rebuild --"ignore that error you're going to
Or, are you telling me that I can't use rpm to compile qt and should download the source?
You can't ignore it because you're using an ancient version of rpm.
The current rpm just displays the warning and goes on.
Either update rpm, or add the %endif after the "%description Xt" section
manually. (The build system keeps removing it when it injects translations,
that's why it's broken in the first place).
The fixed package is waiting for the compiler update in the 8.0 environment.