It's really not necessary to parse "hwdata.spec" to tell us our
package name is "hwdata".
The other targets still do depend on the version/release in
hwdata.spec.
Signed-off-by: Adam Jackson <ajax@redhat.com>
-NAME=$(shell awk '/Name:/ { print $$2 }' hwdata.spec)
+NAME=hwdata
VERSION=$(shell awk '/Version:/ { print $$2 }' hwdata.spec)
RELEASE=$(shell rpm -q --define 'dist %{nil}' --specfile --qf "%{release}" hwdata.spec)
SOURCEDIR := $(shell pwd)