[irc-otr] Martin is right again: correctly use the Github hash-based tarball
konradm
konradm at fedoraproject.org
Tue Apr 1 13:00:12 UTC 2014
commit 70439b82719e5b717a65216a8f16d73c449f9a33
Author: Conrad Meyer <cse.cem at gmail.com>
Date: Tue Apr 1 09:00:17 2014 -0400
Martin is right again: correctly use the Github hash-based tarball
irc-otr.spec | 12 +++++++++---
1 files changed, 9 insertions(+), 3 deletions(-)
---
diff --git a/irc-otr.spec b/irc-otr.spec
index cd5173f..dd4d5ed 100644
--- a/irc-otr.spec
+++ b/irc-otr.spec
@@ -1,11 +1,14 @@
+%global commit d7a88b6697951727a2fa34b7d3d3543b0e5a2ecc
+%global shortcommit %(c=%{commit}; echo ${c:0:7})
+
Name: irc-otr
Version: 1.0.0
-Release: 1%{?dist}
+Release: 2%{?dist}
Summary: Off-The-Record Messaging plugin for irssi
Group: Applications/Internet
License: GPLv2+
URL: https://github.com/cryptodotis/irssi-otr
-Source0: https://github.com/cryptodotis/irssi-otr/archive/v%{version}.tar.gz
+Source0: https://github.com/cryptodotis/irssi-otr/archive/%{commit}/irssi-otr-%{commit}.tar.gz
# Already upstream, but not present in v1.0.0
Patch0: irssi-otr-configure-module-dir.patch
Obsoletes: irssi-otr < 1.0.0-1
@@ -26,7 +29,7 @@ for the irssi IRC client.
%prep
-%setup -q -n irssi-otr-%{version}
+%setup -q -n irssi-otr-%{commit}
%patch0 -p1
@@ -49,6 +52,9 @@ chmod +x $RPM_BUILD_ROOT%{_libdir}/irssi/modules/libotr.so
%changelog
+* Tue Apr 1 2014 Conrad Meyer <cemeyer at uw.edu> - 1.0.0-2
+- Martin is right again: correctly use the Github hash-based tarball
+
* Tue Apr 1 2014 Conrad Meyer <cemeyer at uw.edu> - 1.0.0-1
- Rebase on new irssi-otr upstream, thanks Martin Milata (rh# 1074217)
More information about the scm-commits
mailing list