]> git.pld-linux.org Git - packages/digitemp.git/commitdiff
- fix build; txt no longer available auto/th/digitemp-3_5_0-2
authorArkadiusz Miśkiewicz <arekm@maven.pl>
Wed, 30 Jul 2008 07:24:19 +0000 (07:24 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    digitemp.spec -> 1.20

digitemp.spec

index 90943866e0a2ad749e237381a5f985c712ab1030..bd2183c888d25e59fefa0e11c891c40127308321 100644 (file)
@@ -7,9 +7,7 @@ License:        GPL v2
 Group:         Applications/System
 Source0:       http://www.digitemp.com/software/linux/%{name}-%{version}.tar.gz
 # Source0-md5: 72bda9c8a66b017aa969c19dedb3225b
 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
 Patch0:                %{name}-opt.patch
 URL:           http://www.digitemp.com/
 BuildRequires: libusb-devel
@@ -38,13 +36,12 @@ dynamicznych wpisów.
 %setup -q
 %patch0 -p1
 
 %setup -q
 %patch0 -p1
 
-cp %{SOURCE1} %{SOURCE2} .
+install %{SOURCE1} .
 
 %build
 
 %build
-export OPT="%{rpmcflags}"
-%{__make} ds9097
-%{__make} ds9097u
-%{__make} ds2490
+%{__make} ds9097 ds9097u ds2490 \
+       CC="%{__cc}" \
+       OPT="%{rpmcflags}"
 
 %install
 rm -rf $RPM_BUILD_ROOT
 
 %install
 rm -rf $RPM_BUILD_ROOT
@@ -59,7 +56,7 @@ rm -rf $RPM_BUILD_ROOT
 
 %files
 %defattr(644,root,root,755)
 
 %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/*
 %attr(755,root,root) %{_bindir}/*
 %{_examplesdir}/%{name}-%{version}
 %{_mandir}/man1/*
This page took 0.097372 seconds and 4 git commands to generate.