]> git.pld-linux.org Git - packages/heartbeat.git/commitdiff
Use actual release as Source0
authorJacek Konieczny <j.konieczny@eggsoft.pl>
Tue, 30 Oct 2012 12:03:24 +0000 (13:03 +0100)
committerJacek Konieczny <jajcus@jajcus.net>
Tue, 30 Oct 2012 12:03:24 +0000 (13:03 +0100)
The only change on the snapshot packaged previously is no in the
heartbeat-type_mismatch.patch.

Release: 6

heartbeat-type_mismatch.patch [new file with mode: 0644]
heartbeat.spec

diff --git a/heartbeat-type_mismatch.patch b/heartbeat-type_mismatch.patch
new file mode 100644 (file)
index 0000000..208ee2e
--- /dev/null
@@ -0,0 +1,26 @@
+http://hg.linux-ha.org/heartbeat-STABLE_3_0/rev/7e3a82377fa8
+
+# HG changeset patch
+# User Lars Ellenberg <lars@linbit.com>
+# Date 1308306763 -7200
+# Node ID 7e3a82377fa8c88b4d9ee47e29020d4531f4629a
+# Parent  66b99da853910131ed599e8b06d200883f51b895
+Fix type mismatch in reset_seqtrack
+
+Would result in compilation warning, and probably bad runtime behaviour on
+32bit arch, if facing packet loss when packet sequence numbers already left
+the 32bit value space.
+
+--- a/heartbeat/heartbeat.c
++++ b/heartbeat/heartbeat.c
+@@ -5517,7 +5517,8 @@ static void
+ reset_seqtrack(struct node_info *n)
+ {
+       struct seqtrack *t = &n->track;
+-      int i, seq;
++      seqno_t seq;
++      int i;
+       for (i = 0; i < t->nmissing; ++i) {
+               seq = t->seqmissing[i];
+
index 40944638039df4ebeef4e9e4a39bb03098cd3b46..f0d3e0913e814ac3058ea439aaea5c6cf6eae2f3 100644 (file)
@@ -3,7 +3,6 @@
 # - cleanup deps, users for 3.x
 # - fixup deps, inner deps, think of subpackages, ugprade path from 2.1
 #
-%define                gitrel  7e3a82377fa8
 %include       /usr/lib/rpm/macros.perl
 Summary:       Heartbeat - subsystem for High-Availability Linux
 Summary(es.UTF-8):     Subsistema heartbeat para Linux "High-Availability"
@@ -11,16 +10,17 @@ Summary(pl.UTF-8):  Podsystem heartbeat dla systemów o podwyższonej niezawodno
 Summary(pt_BR.UTF-8):  Implementa sistema de monitoração (heartbeats) visando Alta Disponibilidade
 Name:          heartbeat
 Version:       3.0.5
-Release:       5
+Release:       6
 License:       GPL v2+
 Group:         Networking/Daemons
-Source0:       http://hg.linux-ha.org/heartbeat-STABLE_3_0/archive/%{gitrel}.tar.bz2
-# Source0-md5: 396510e3c143a9c2288bc52cfc9caa3c
+Source0:       http://hg.linux-ha.org/heartbeat-STABLE_3_0/archive/STABLE-%{version}.tar.bz2
+# Source0-md5: f8686abde8722c42265c6d84fbe3d3bf
 Source1:       %{name}.init
 Source2:       %{name}.tmpfiles
-Patch0:                %{name}-ac.patch
-Patch1:                %{name}-libs.patch
-Patch2:                %{name}-tls.patch
+Patch0:                %{name}-type_mismatch.patch
+Patch1:                %{name}-ac.patch
+Patch2:                %{name}-libs.patch
+Patch3:                %{name}-tls.patch
 URL:           http://www.linux-ha.org/Heartbeat
 BuildRequires: OpenIPMI-devel >= 2.0.3
 BuildRequires: autoconf
@@ -137,10 +137,11 @@ Cluster Test Suite for heartbeat.
 Zestaw testów klastra opartego o heartbeat.
 
 %prep
-%setup -qn Heartbeat-3-0-%{gitrel}
+%setup -qn Heartbeat-3-0-STABLE-%{version}
 %patch0 -p1
 %patch1 -p1
 %patch2 -p1
+%patch3 -p1
 rm -rf libltdl
 
 %build
This page took 0.095819 seconds and 4 git commands to generate.