diff --git a/uhd.spec b/uhd.spec index d662958..2ad4c15 100644 --- a/uhd.spec +++ b/uhd.spec @@ -14,7 +14,7 @@ %global ver %(printf "%03d.%03d.%03d" %{ver_major} %{ver_minor} %{ver_patch}) %global ver_ %(printf "%03d_%03d_%03d" %{ver_major} %{ver_minor} %{ver_patch}) -%global wireshark_ver %((%{__awk} '/^#define VERSION[ \t]+/ { print $NF }' /usr/include/wireshark/config.h 2>/dev/null||echo none)|/usr/bin/tr -d '"') +%global wireshark_ver %(rpm -q --qf '%{VERSION}' 2>/dev/null || echo none) %ifarch %{arm} %if %{without neon} @@ -25,7 +25,7 @@ Name: uhd URL: http://code.ettus.com/redmine/ettus/projects/uhd/wiki Version: %{ver_major}.%{ver_minor}.%{ver_patch} -Release: 6%{?dist} +Release: 1%{?dist} License: GPLv3+ BuildRequires: cmake BuildRequires: boost-devel libusb1-devel python-cheetah