From 6f5991750be4c5e211105aa88714834f724cc973 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jo=C3=A3o=20Valverde?= Date: Fri, 22 Apr 2016 23:35:14 +0100 Subject: autotools: Fix rpm-package target Change-Id: I6012199370a17d534ba7633509cd95c8a81aaebd Reviewed-on: https://code.wireshark.org/review/15062 Reviewed-by: Jeff Morriss --- packaging/rpm/SPECS/wireshark.spec.in | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) (limited to 'packaging/rpm') diff --git a/packaging/rpm/SPECS/wireshark.spec.in b/packaging/rpm/SPECS/wireshark.spec.in index 9a96863e73..952aa620b1 100644 --- a/packaging/rpm/SPECS/wireshark.spec.in +++ b/packaging/rpm/SPECS/wireshark.spec.in @@ -22,16 +22,18 @@ # are set. %global use_wireshark_group 1 +%global package_version @VERSION@ + Summary: Wireshark is the world's foremost protocol analyzer Name: wireshark -Version: @VERSION@ +Version: @RPM_VERSION@ Release: 1 License: GPLv2+ Group: Applications/Internet -Source: https://wireshark.org/download/src/%{name}-%{version}.tar.bz2 +Source: https://wireshark.org/download/src/%{name}-%{package_version}.tar.bz2 # Or this URL for automated builds: -#Source: https://wireshark.org/download/automated/src/%{name}-%{version}.tar.bz2 +#Source: https://wireshark.org/download/automated/src/%{name}-%{package_version}.tar.bz2 URL: https://www.wireshark.org/ Packager: Gerald Combs # Some distributions create a wireshark-devel package; get rid of it @@ -214,7 +216,7 @@ This package contains the GTK+ Wireshark GUI and desktop integration files. %prep -%setup -q -n %{name}-%{version} +%setup -q -n %{name}-%{package_version} # Don't specify the prefix here: configure is a macro which expands to set # the prefix and everything else too. If you need to change the prefix -- cgit v1.2.1