From 9c43916a37ac9ddf8e3e7673a631f300765c62a45e65a1aaa682da6824c5a6c4 Mon Sep 17 00:00:00 2001 From: Martin Pluskal Date: Sat, 15 Apr 2017 20:47:47 +0000 Subject: [PATCH] OBS-URL: https://build.opensuse.org/package/show/hardware:sdr/bladeRF?expand=0&rev=9 --- bladeRF.spec | 14 ++++++-------- 1 file changed, 6 insertions(+), 8 deletions(-) diff --git a/bladeRF.spec b/bladeRF.spec index 2a0d8d1..3996e2f 100644 --- a/bladeRF.spec +++ b/bladeRF.spec @@ -40,7 +40,6 @@ BuildRequires: help2man BuildRequires: pkgconfig BuildRequires: pkgconfig(libusb-1.0) BuildRequires: pkgconfig(udev) -BuildRoot: %{_tmppath}/%{name}-%{version}-build %description The software for bladeRF USB 3.0 Superspeed Software Defined Radio. @@ -77,17 +76,16 @@ use of libbladerf. %build cd host %cmake \ - -DCMAKE_INSTALL_LIBDIR:PATH=%{_lib} \ - -DCMAKE_BUILD_TYPE=Release \ - -DUDEV_RULES_PATH=%{_udevrulesdir} \ - -DBLADERF_GROUP=%{bladerf_group} \ + -DCMAKE_INSTALL_LIBDIR:PATH=%{_lib} \ + -DUDEV_RULES_PATH=%{_udevrulesdir} \ + -DBLADERF_GROUP=%{bladerf_group} \ %ifnarch %arm ppc ppc64 - -DBUILD_DOCUMENTATION=YES \ + -DBUILD_DOCUMENTATION=YES \ %endif %if 0%{?use_syslog} - -DENABLE_LIBBLADERF_SYSLOG=ON \ + -DENABLE_LIBBLADERF_SYSLOG=ON \ %endif - -DBUILD_DOCUMENTATION=ON + -DBUILD_DOCUMENTATION=ON make %{?_smp_mflags}