SPECS: digitemp.spec - fix build; txt no longer available

arekm arekm at pld-linux.org
Wed Jul 30 09:24:25 CEST 2008


Author: arekm                        Date: Wed Jul 30 07:24:25 2008 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- fix build; txt no longer available

---- Files affected:
SPECS:
   digitemp.spec (1.19 -> 1.20) 

---- Diffs:

================================================================
Index: SPECS/digitemp.spec
diff -u SPECS/digitemp.spec:1.19 SPECS/digitemp.spec:1.20
--- SPECS/digitemp.spec:1.19	Wed Jul 30 08:47:45 2008
+++ SPECS/digitemp.spec	Wed Jul 30 09:24:19 2008
@@ -8,9 +8,7 @@
 Group:		Applications/System
 Source0:	http://www.digitemp.com/software/linux/%{name}-%{version}.tar.gz
 # Source0-md5:	72bda9c8a66b017aa969c19dedb3225b
-Source1:	http://www.brianlane.com/linux/dthowto.txt
-# Source1-md5:	313824e3f211c1983971913ce785f4f7
-Source2:	DS9097_Schematic.gif
+Source1:	DS9097_Schematic.gif
 Patch0:		%{name}-opt.patch
 URL:		http://www.digitemp.com/
 BuildRequires:	libusb-devel
@@ -39,13 +37,12 @@
 %setup -q
 %patch0 -p1
 
-cp %{SOURCE1} %{SOURCE2} .
+install %{SOURCE1} .
 
 %build
-export OPT="%{rpmcflags}"
-%{__make} ds9097
-%{__make} ds9097u
-%{__make} ds2490
+%{__make} ds9097 ds9097u ds2490 \
+	CC="%{__cc}" \
+	OPT="%{rpmcflags}"
 
 %install
 rm -rf $RPM_BUILD_ROOT
@@ -60,7 +57,7 @@
 
 %files
 %defattr(644,root,root,755)
-%doc CREDITS DS9097_S* FAQ README TODO dthowto.txt
+%doc CREDITS DS9097_S* FAQ README TODO
 %attr(755,root,root) %{_bindir}/*
 %{_examplesdir}/%{name}-%{version}
 %{_mandir}/man1/*
@@ -71,6 +68,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.20  2008/07/30 07:24:19  arekm
+- fix build; txt no longer available
+
 Revision 1.19  2008/07/30 06:47:45  arekm
 - release 2
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SPECS/digitemp.spec?r1=1.19&r2=1.20&f=u



More information about the pld-cvs-commit mailing list