Patch by Robert Scheck <robert@fedoraproject.org> for digitemp >= 3.6.0,
which forces the use of $RPM_OPT_FLAGS to have a usable -debuginfo package.
Proposed to upstream via e-mail at Sun, 8 Dec 2013 01:37:56 +0100.
--- digitemp-3.6.0/Makefile 2008-08-28 23:37:00.000000000 +0200
+++ digitemp-3.6.0/Makefile.cflags 2009-01-25 20:49:03.000000000 +0100
@@ -12,7 +12,7 @@
VERSION = 3.6.0
CC = gcc
-CFLAGS = -I./src -I./userial -O2 -Wall # -g
+CFLAGS = -I./src -I./userial -O2 -Wall $(RPM_OPT_FLAGS) # -g
OBJS = src/digitemp.o src/device_name.o src/ds2438.o
HDRS = src/digitemp.h src/device_name.h