Trying to build a kernel module


I am trying to build a kernel module package but am having a touch time making it work. Currently its failing here.

Processing files: opennopdrv-    55s] warning: File listed twice: /usr/src/opennop/opennopdrv.tar.gz    55s] Provides: opennopdrv = 0: opennopdrv(x86-32) = 0:    55s] Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1    55s] Processing files: opennopdrv-kmp-default-    55s] error: File not found: /home/abuild/rpmbuild/BUILDROOT/opennopdrv-    55s] Checking for unpackaged file(s): /usr/lib/rpm/check-files /home/abuild/rpmbuild/BUILDROOT/opennopdrv-

Have worked through a whole mess of error but though maybe someone could take a look at the package and set me straight. Maybe help cleanup the mess I have made.