From 9efd9337a51773fb393aa61dc24a7094bb6b50fc Mon Sep 17 00:00:00 2001 From: David Howells Date: Fri, 9 Feb 2018 10:36:43 +0000 Subject: [PATCH] Fix Makefile and spec --- Makefile | 2 +- redhat/kafs-client.spec | 7 +++++++ 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 27f5923..3d117c5 100644 --- a/Makefile +++ b/Makefile @@ -40,7 +40,7 @@ endif all: aklog aklog: aklog.c Makefile - $(CC) $(CFLAGS) $(LDFLAGS) -o $@ $< + $(CC) $(CFLAGS) $(LDFLAGS) -o $@ $< -lkrb5 -lcrypto -lkeyutils ############################################################################### # diff --git a/redhat/kafs-client.spec b/redhat/kafs-client.spec index 80dea2f..86cf670 100644 --- a/redhat/kafs-client.spec +++ b/redhat/kafs-client.spec @@ -8,6 +8,13 @@ License: GPLv2+ URL: https://www.infradead.org/~dhowells/kafs/ Source0: https://www.infradead.org/~dhowells/kafs/kafs-client-%{version}.tar.bz2 +BuildRequires: krb5-devel +BuildRequires: keyutils-libs-devel +BuildRequires: openssl-devel +Requires: krb5-libs +Requires: keyutils-libs +Requires: openssl-libs + BuildRequires: systemd-units Requires(post): systemd-units Requires(preun): systemd-units -- 2.50.1