From 2eceffcbcd1f826c9412ad8c3fb9521b7995a8c6ac29bfa8987b3c4460ad897a Mon Sep 17 00:00:00 2001
From: Tim Serong <tserong@suse.com>
Date: Tue, 21 Feb 2012 02:43:46 +0000
Subject: [PATCH] Accepting request 106108 from
 home:coolo:branches:openSUSE:Factory

- factory has librsync split into devel package

OBS-URL: https://build.opensuse.org/request/show/106108
OBS-URL: https://build.opensuse.org/package/show/network:ha-clustering:Factory/csync2?expand=0&rev=11
---
 csync2.changes |  5 +++++
 csync2.spec    | 24 ++++++++++++++++++------
 2 files changed, 23 insertions(+), 6 deletions(-)

diff --git a/csync2.changes b/csync2.changes
index c7888b4..89fe291 100644
--- a/csync2.changes
+++ b/csync2.changes
@@ -1,3 +1,8 @@
+-------------------------------------------------------------------
+Mon Feb 20 19:10:40 UTC 2012 - coolo@suse.com
+
+- factory has librsync split into devel package
+
 -------------------------------------------------------------------
 Wed Oct 26 09:19:16 UTC 2011 - tserong@suse.com
 
diff --git a/csync2.spec b/csync2.spec
index 44abd60..4b85e05 100644
--- a/csync2.spec
+++ b/csync2.spec
@@ -1,7 +1,7 @@
 #
 # spec file for package csync2
 #
-# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -17,12 +17,12 @@
 
 
 Summary:        Cluster synchronization tool
+License:        GPL-2.0+ ; LGPL-2.1+
+Group:          Productivity/Clustering/HA
 
 Name:           csync2
 Version:        1.34
-Release:        2
-Group:          Productivity/Clustering/HA
-License:        GPL-2.0+ ; LGPL-2.1+
+Release:        0
 Url:            http://oss.linbit.com/csync2/
 Source0:        http://oss.linbit.com/csync2/%{name}-%{version}.tar.gz
 Source1:        csync2-README.quickstart
@@ -35,8 +35,20 @@ BuildRequires:  pkg-config
 %endif
 BuildRoot:      %{_tmppath}/%{name}-%{version}-build
 Requires(post): openssl 
-Requires:       xinetd gnutls sqlite2 
-BuildRequires:  bison flex libgnutls-devel libgnutls-extra-devel librsync libtasn1-devel sqlite2-devel
+Requires:       gnutls
+Requires:       sqlite2
+Requires:       xinetd
+BuildRequires:  bison
+BuildRequires:  flex
+BuildRequires:  libgnutls-devel
+BuildRequires:  libgnutls-extra-devel
+BuildRequires:  libtasn1-devel
+BuildRequires:  sqlite2-devel
+%if 0%{?suse_version} > 1210
+BuildRequires:  librsync-devel
+%else
+BuildRequires:  librsync
+%endif
 
 %description
 Csync2 is a cluster synchronization tool. It can be used to keep files