From: Arkadiusz Miśkiewicz Date: Wed, 30 Jul 2008 07:24:19 +0000 (+0000) Subject: - fix build; txt no longer available X-Git-Tag: auto/th/digitemp-3_5_0-2 X-Git-Url: http://git.pld-linux.org/?p=packages%2Fdigitemp.git;a=commitdiff_plain;h=bbfa125d24756c06fb4aa71c540b9c2a8c244fc6 - fix build; txt no longer available Changed files: digitemp.spec -> 1.20 --- diff --git a/digitemp.spec b/digitemp.spec index 9094386..bd2183c 100644 --- a/digitemp.spec +++ b/digitemp.spec @@ -7,9 +7,7 @@ License: GPL v2 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 @@ -38,13 +36,12 @@ dynamicznych wpisów. %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 @@ -59,7 +56,7 @@ rm -rf $RPM_BUILD_ROOT %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/*