]> git.pld-linux.org Git - packages/digitemp.git/commitdiff
- unified examples dir auto/ac/digitemp-3_3_2-2
authorJakub Bogusz <qboosh@pld-linux.org>
Wed, 28 Apr 2004 23:16:20 +0000 (23:16 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    digitemp.spec -> 1.10

digitemp.spec

index c0caf049af1ccf8a94b79046ba66c3bfe6264c40..89d784b0e2c5210a8e41687b8bc9dc3d2ac1bd50 100644 (file)
@@ -12,7 +12,7 @@ Source1:      http://www.brianlane.com/linux/dthowto.txt
 Patch0:                %{name}-opt.patch
 URL:           http://www.digitemp.com/
 BuildRequires:  libusb-devel
-BuildRequires: lockdev
+BuildRequires: lockdev-devel
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %description
@@ -46,11 +46,11 @@ export OPT="%{rpmcflags}"
 
 %install
 rm -rf $RPM_BUILD_ROOT
-install -d $RPM_BUILD_ROOT{%{_bindir},%{_examplesdir}/%{name},%{_mandir}/man1}
+install -d $RPM_BUILD_ROOT{%{_bindir},%{_examplesdir}/%{name}-%{version},%{_mandir}/man1}
 
 install digitemp_DS* $RPM_BUILD_ROOT%{_bindir}
 install %{name}.1 $RPM_BUILD_ROOT%{_mandir}/man1
-cp -rf perl python rrdb $RPM_BUILD_ROOT%{_examplesdir}/%{name}
+cp -rf perl python rrdb $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
 
 %clean
 rm -rf $RPM_BUILD_ROOT
@@ -59,5 +59,5 @@ rm -rf $RPM_BUILD_ROOT
 %defattr(644,root,root,755)
 %doc CREDITS FAQ README TODO dthowto.txt
 %attr(755,root,root) %{_bindir}/*
-%{_examplesdir}/*
+%{_examplesdir}/%{name}-%{version}
 %{_mandir}/man1/*
This page took 0.071629 seconds and 4 git commands to generate.