diff --git a/.gitignore b/.gitignore index 66bc4cf..d08b7af 100644 --- a/.gitignore +++ b/.gitignore @@ -13,3 +13,4 @@ tigervnc-1.0.90-20100721svn4113.tar.bz2 /tigervnc-1.3.1.tar.gz /tigervnc-1.4.2.tar.gz /tigervnc-1.4.3.tar.gz +/tigervnc-49d0629dd87c0eb695d72dec7481e9169f55ae9e.tar.gz diff --git a/sources b/sources index 93ad39c..d1d1306 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -2177ee42fa1a3902b6feeaa7747f1c2a tigervnc-1.4.3.tar.gz +7df7399ed51716d7ed72ecdf19a4e14f tigervnc-49d0629dd87c0eb695d72dec7481e9169f55ae9e.tar.gz diff --git a/tigervnc.spec b/tigervnc.spec index d4babc1..d3e31c6 100644 --- a/tigervnc.spec +++ b/tigervnc.spec @@ -1,6 +1,11 @@ +# https://fedoraproject.org/wiki/Packaging:SourceURL?rd=Packaging/SourceURL#Github +# Full hash for v1.4.3 tag: +%global commit 49d0629dd87c0eb695d72dec7481e9169f55ae9e +%global shortcommit %(c=%{commit}; echo ${c:0:7}) + Name: tigervnc Version: 1.4.3 -Release: 5%{?dist} +Release: 6%{?dist} Summary: A TigerVNC remote display system %global _hardened_build 1 @@ -9,7 +14,7 @@ Group: User Interface/Desktops License: GPLv2+ URL: http://www.tigervnc.com -Source0: %{name}-%{version}.tar.gz +Source0: https://github.com/TigerVNC/tigervnc/archive/%{commit}/tigervnc-%{commit}.tar.gz Source1: vncserver.service Source2: vncserver.sysconfig Source3: 10-libvnc.conf @@ -151,7 +156,7 @@ BuildArch: noarch This package contains icons for TigerVNC viewer %prep -%setup -q +%setup -qn %{name}-%{commit} %patch1 -p1 -b .cookie %patch2 -p1 -b .ldnow @@ -355,6 +360,9 @@ fi %{_datadir}/icons/hicolor/*/apps/* %changelog +* Tue Apr 21 2015 Tim Waugh - 1.4.3-6 +- Use full git hash for GitHub tarball release. + * Fri Apr 10 2015 Tim Waugh - 1.4.3-5 - Explicit version build dependency for fltk (bug #1208814).