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 - 1.0.0-2 +- Martin is right again: correctly use the Github hash-based tarball + * Tue Apr 1 2014 Conrad Meyer - 1.0.0-1 - Rebase on new irssi-otr upstream, thanks Martin Milata (rh# 1074217)