bronhaim pushed to safelease (epel7). "safeleaes 1.0-5"
notifications at fedoraproject.org
notifications at fedoraproject.org
Sun May 24 12:21:05 UTC 2015
From 43442ab308a0a3105a2cb4d3c806e412cd4f5e7b Mon Sep 17 00:00:00 2001
From: Yaniv Bronhaim <ybronhei at redhat.com>
Date: Sun, 24 May 2015 15:20:47 +0300
Subject: safeleaes 1.0-5
diff --git a/safelease.spec b/safelease.spec
index 938f606..2c68bf5 100644
--- a/safelease.spec
+++ b/safelease.spec
@@ -1,6 +1,6 @@
Name: safelease
Version: 1.0
-Release: 4%{?dist}
+Release: 5%{?dist}
Summary: Legacy locking utility for VDSM
Group: System Environment/Libraries
@@ -10,6 +10,23 @@ Source0: https://bronhaim.fedorapeople.org/%{name}-%{version}.tar.gz
BuildRequires: autoconf
BuildRequires: automake
+##
+# The following requirements are necessary for VDSM to avoid
+# platform dependencies. Those are not required by safelease code and should
+# remove once vdsm will be able to provide those requirements otherwise.
+
+# Numactl is not available on s390[x] and ARM
+%ifnarch s390 s390x %{arm}
+Requires: numactl
+%endif
+
+%ifarch x86_64
+Requires: python-dmidecode
+Requires: dmidecode
+%endif
+
+## hack end.
+
%description
Safelease is a legacy cluster lock utility used by VDSM. It is based on
the algorithm presented in the article "Light-Weight Leases for
@@ -35,7 +52,10 @@ make %{?_smp_mflags}
%{_libexecdir}/%{name}/%{name}
%changelog
-* Sun Apr 12 2015 Yaniv Bronhaim <ybronhei at redhat.com.com> - 1.0-4
+* Sun May 17 2015 Yaniv Bronhaim <ybronhei at redhat.com> - 1.0-5
+- Adding vdsm hack to require platform depended packages which vdsm needs
+
+* Sun Apr 12 2015 Yaniv Bronhaim <ybronhei at redhat.com> - 1.0-4
- Adding %%license macro for COPYING
* Mon Dec 8 2014 Vitor de Lima <vdelima at redhat.com> - 1.0-3
--
cgit v0.10.2
http://pkgs.fedoraproject.org/cgit/safelease.git/commit/?h=epel7&id=43442ab308a0a3105a2cb4d3c806e412cd4f5e7b
More information about the scm-commits
mailing list