From b3b7dec7b050f0e2c44c50919510f54ee603788d Mon Sep 17 00:00:00 2001 From: Nikita Tokarchuk Date: Wed, 6 Apr 2022 19:24:21 +0200 Subject: [PATCH] Fix base directory path --- csync2.spec | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/csync2.spec b/csync2.spec index 4631f52..55f55f3 100644 --- a/csync2.spec +++ b/csync2.spec @@ -5,6 +5,8 @@ # # SPDX-License-Identifier: GPL-2.0-or-later +%global commit 83b36449abb4c2903ef3b40b46018240633989e0 + Summary: Cluster synchronization tool License: GPL-2.0-or-later Group: Productivity/Clustering/HA @@ -13,7 +15,7 @@ Name: csync2 Version: 2.1 Release: 0rc1 URL: https://github.com/LINBIT/csync2#readme -Source0: https://github.com/LINBIT/csync2/archive/83b36449abb4c2903ef3b40b46018240633989e0.tar.gz +Source0: https://github.com/LINBIT/csync2/archive/%{commit}.tar.gz Patch1: 0001-build-use-mariadb-libraries-as-a-mysql-connector.patch BuildRequires: autoconf @@ -48,7 +50,7 @@ much more than just 2 hosts, handle file deletions and can detect conflicts. It is expedient for HA-clusters, HPC-clusters, COWs and server farms. %prep -%setup +%setup -n %{name}-%{commit} %autopatch -p1