[packages/sigrok-firmware-fx2lafw] add missing BuildRoot
glen
glen at pld-linux.org
Sun Mar 10 16:32:36 CET 2013
commit f3a2e740c4a64e779eb4f2c54aaa636a74b99497
Author: Elan Ruusamäe <glen at delfi.ee>
Date: Sun Mar 10 17:32:28 2013 +0200
add missing BuildRoot
sigrok-firmware-fx2lafw.spec | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/sigrok-firmware-fx2lafw.spec b/sigrok-firmware-fx2lafw.spec
index 679581f..35c2ca1 100644
--- a/sigrok-firmware-fx2lafw.spec
+++ b/sigrok-firmware-fx2lafw.spec
@@ -9,6 +9,7 @@ Source0: http://downloads.sourceforge.net/sigrok/%{name}-%{version}.tar.gz
# Source0-md5: 4e1080dbaaf44f1faba503a742b8bc56
BuildRequires: sdcc
BuildArch: noarch
+BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
%description
fx2lafw is a free/libre/open-source firmware for logic analyzers based
@@ -26,10 +27,9 @@ and uses additional helper code (fx2lib), licensed under the GNU LGPL
%install
rm -rf $RPM_BUILD_ROOT
-
# libsigrok will look here
%{__make} -j1 install \
- DESTDIR=$RPM_BUILD_ROOT/%{_datadir}/sigrok-firmware
+ DESTDIR=$RPM_BUILD_ROOT%{_datadir}/sigrok-firmware
%clean
rm -rf $RPM_BUILD_ROOT
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/sigrok-firmware-fx2lafw.git/commitdiff/f3a2e740c4a64e779eb4f2c54aaa636a74b99497
More information about the pld-cvs-commit
mailing list