The version should be set in the Makefile. Have a look at the first few rows.
I think most of the methods you've already used:
Code:
rpm -q kernel-source
rpm -q kernel-default
uname -r
ls -l /usr/src/linux
ls -l /boot/vmlinuz
Code:
$>cat /usr/src/linux-2.6.7/Makefile
VERSION = 2
PATCHLEVEL = 6
SUBLEVEL = 7
EXTRAVERSION =
NAME=Zonked Quokka
...
I usually clone the old kernel config with
Code:
zcat /proc/config.gz > .config
make oldconfig
make prepare
I think
make cloneconfig does the same.
Since you seem to be german, I would highly recommend to have a look here:
http://www.thomashertweck.de/kernel26.html