The LD definition in %build of notecase is broken, should be using eg \$(CXX) instead of $CXX so that stuff isn't substituted by the shell. But even that doesn't help with getting a sane debuginfo package out of this, %install builds the binary again (!), this time without the customized LD (so -s ends up in the linker command line and debuginfo is lost).
It's in need of a version update anyways, so two birds with one stone...
I took a look at 1.1.2-1 in CVS, and it still results in a useless debuginfo package. Additionally, the build does not honor $RPM_OPT_FLAGS.
The useless debuginfo package has been reintroduced in 1.1.9-2: $ rpm -qlp http://fedoraproject.org/extras/development/i386/debug/notecase-debuginfo-1.1.9-2.fc6.i386.rpm (contains no files) More info: http://fedoraproject.org/wiki/Packaging/Debuginfo
fixed