Help get Debian package working

Hello,

I am trying to get my package to build for Debian and its failing here.


   71s] Making all in opennopdrv
   71s] make[3]: Entering directory `/usr/src/packages/BUILD/opennopdrv'
   71s] make -C /lib/modules/4.4.22-1-default/build M=/usr/src/packages/BUILD/opennopdrv modules
**   71s] make: Entering an unknown directory
   71s] make: *** /lib/modules/4.4.22-1-default/build: No such file or directory.  Stop.
   71s] make: Leaving an unknown directory**
   71s] make[3]: *** [all] Error 2
   71s] make[3]: Leaving directory `/usr/src/packages/BUILD/opennopdrv'
   71s] make[2]: *** [all-recursive] Error 1
   71s] make[2]: Leaving directory `/usr/src/packages/BUILD'
   71s] make[1]: *** [all] Error 2
   71s] make[1]: Leaving directory `/usr/src/packages/BUILD'
   71s] make: *** [build-stamp] Error 2
   71s] dpkg-buildpackage: error: debian/rules build gave error exit status 2
   71s] 
   71s] lamb17 failed "build opennop.dsc" at Fri Oct 21 17:46:41 UTC 2016.
   71s] 
   71s] ### WATCHDOG MARKER START ###
   74s]    63.337229] reboot: Power down
   74s] ### WATCHDOG MARKER END ###
   74s] 
   74s] lamb17 failed "build _service:set_version:download_url:opennop.dsc" at Fri Oct 21 17:46:44 UTC 2016.
   74s] 

I think its because I need to include linux-headers-uname -r in my dsc and debian.control files but it does not seem to work like that. I have travis-ci builds working and they use a Debian build system and am using "include linux-headers-$(uname -r). None of those seem to be processed by OBS though and I just get an unsolvable error “nothing includes linux-headers-uname -r”.

Its not just Debian though. I also get this for the OpenSuse 13.1 package so if someone can help me get them all working that would be great.


   91s] make[2]: Entering directory `/home/abuild/rpmbuild/BUILD/opennop-0.5.1.1462203290.fd67662/opennopdrv'
   91s] make -C /lib/modules/4.4.22-1-default/build M=/home/abuild/rpmbuild/BUILD/opennop-0.5.1.1462203290.fd67662/opennopdrv modules
   91s] make: Entering an unknown directory
   91s] make: *** /lib/modules/4.4.22-1-default/build: No such file or directory.  Stop.
   91s] make: Leaving an unknown directory
   91s] make[2]: *** [all] Error 2
   91s] make[2]: Leaving directory `/home/abuild/rpmbuild/BUILD/opennop-0.5.1.1462203290.fd67662/opennopdrv'
   91s] make[1]: *** [all-recursive] Error 1
   91s] make[1]: Leaving directory `/home/abuild/rpmbuild/BUILD/opennop-0.5.1.1462203290.fd67662'
   91s] make: *** [all] Error 2
   91s] error: Bad exit status from /var/tmp/rpm-tmp.Of7t2z (%build)

Package is here.
https://build.opensuse.org/package/show/network:opennop:devel/opennop

Thank you,
Justin.