From 70c2351d54135bad5fa671c39f01ea8955490daa Mon Sep 17 00:00:00 2001 From: "Brian P. Hinz" Date: Fri, 21 Nov 2014 20:11:14 -0500 Subject: [PATCH] SPEC file cleanup * Removed the hard coded snap tag, if needed it should be passed in via "rpmbuild --define 'snap ...'". * Changed the hard coded version to "@VERSION@" to make it clear that the copy of the spec file in the repository needs to be updated manually. --- contrib/packages/rpm/el5/SPECS/tigervnc.spec | 3 +-- contrib/packages/rpm/el6/SPECS/tigervnc.spec | 4 +--- contrib/packages/rpm/sle11/SPECS/tigervnc.spec | 3 +-- 3 files changed, 3 insertions(+), 7 deletions(-) diff --git a/contrib/packages/rpm/el5/SPECS/tigervnc.spec b/contrib/packages/rpm/el5/SPECS/tigervnc.spec index d20be535..1b88670d 100644 --- a/contrib/packages/rpm/el5/SPECS/tigervnc.spec +++ b/contrib/packages/rpm/el5/SPECS/tigervnc.spec @@ -1,9 +1,8 @@ %define _default_patch_fuzz 2 -%define snap 20141119git59c5a55c %define mesa_version 7.7.1 Name: tigervnc -Version: 1.3.80 +Version: @VERSION@ Release: 18%{?snap:.%{snap}}%{?dist} Summary: A TigerVNC remote display system diff --git a/contrib/packages/rpm/el6/SPECS/tigervnc.spec b/contrib/packages/rpm/el6/SPECS/tigervnc.spec index 5e8bc599..da8ce73f 100644 --- a/contrib/packages/rpm/el6/SPECS/tigervnc.spec +++ b/contrib/packages/rpm/el6/SPECS/tigervnc.spec @@ -1,7 +1,5 @@ -%define snap 20131128svn5139 - Name: tigervnc -Version: 1.3.80 +Version: @VERSION@ Release: 18%{?snap:.%{snap}}%{?dist} Summary: A TigerVNC remote display system diff --git a/contrib/packages/rpm/sle11/SPECS/tigervnc.spec b/contrib/packages/rpm/sle11/SPECS/tigervnc.spec index ce2f5421..fd91cdb7 100644 --- a/contrib/packages/rpm/sle11/SPECS/tigervnc.spec +++ b/contrib/packages/rpm/sle11/SPECS/tigervnc.spec @@ -14,12 +14,11 @@ # Please submit bugfixes or comments via http://bugs.opensuse.org/ # -%define snap 20131202svn5145 %define debug_package %{nil} Name: tigervnc -Version: 1.3.80 +Version: @VERSION@ Release: 1%{?snap:.%{snap}}%{?dist} Packager: Brian P. Hinz License: GPL-2.0 and MIT -- 2.39.5