[packages/chrony] - rel 2; force nettle >= 3.4 to avoid: /usr/sbin/chronyd: relocation error: /usr/sbin/chronyd: symbo

arekm arekm at pld-linux.org
Fri Jul 27 10:09:13 CEST 2018


commit 917d712fa029ede51e25687c29ebe61aca43b304
Author: Arkadiusz Miśkiewicz <arekm at maven.pl>
Date:   Fri Jul 27 10:09:05 2018 +0200

    - rel 2; force nettle >= 3.4 to avoid: /usr/sbin/chronyd: relocation error: /usr/sbin/chronyd: symbol nettle_get_hashes version NETTLE_6 not defined in file libnettle.so.6 with link time reference

 chrony.spec | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)
---
diff --git a/chrony.spec b/chrony.spec
index 5af6072..35af36e 100644
--- a/chrony.spec
+++ b/chrony.spec
@@ -1,7 +1,9 @@
+%define		nettle_ver	3.4
+
 Summary:	An NTP client/server
 Name:		chrony
 Version:	3.3
-Release:	1
+Release:	2
 License:	GPL v2
 Group:		Daemons
 Source0:	http://download.tuxfamily.org/chrony/%{name}-%{version}.tar.gz
@@ -15,6 +17,7 @@ URL:		http://chrony.tuxfamily.org/
 BuildRequires:	asciidoc
 BuildRequires:	bison
 BuildRequires:	libcap-devel
+BuildRequires:	nettle-devel >= %{nettle_ver}
 BuildRequires:	nss-devel
 BuildRequires:	readline-devel
 BuildRequires:	rpmbuild(macros) >= 1.453
@@ -27,6 +30,7 @@ Requires(pre):	/usr/sbin/useradd
 Provides:	group(ntp)
 Provides:	ntpdaemon
 Provides:	user(ntp)
+Requires:	nettle >= %{nettle_ver}
 Obsoletes:	ntpdaemon
 Conflicts:	logrotate < 3.8.0
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/chrony.git/commitdiff/917d712fa029ede51e25687c29ebe61aca43b304



More information about the pld-cvs-commit mailing list