[uhd] Fixed release number

Jaroslav Škarvada jskarvad at fedoraproject.org
Mon Sep 1 15:17:23 UTC 2014


commit b8e2bc83dcd77c91aacff2855602244683839ec4
Author: Jaroslav Škarvada <jskarvad at redhat.com>
Date:   Mon Sep 1 17:17:17 2014 +0200

    Fixed release number

 uhd.spec |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
---
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


More information about the scm-commits mailing list