From 782807f4939e83b938e766b80b7814902982e977 Mon Sep 17 00:00:00 2001 From: Ondrej Mosnacek Date: Mon, 27 May 2019 13:13:45 +0200 Subject: [PATCH] Fix FTBFS: hardlink is now in bindir Signed-off-by: Ondrej Mosnacek --- libkcapi.spec | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/libkcapi.spec b/libkcapi.spec index 0d594d1..cabb560 100644 --- a/libkcapi.spec +++ b/libkcapi.spec @@ -87,7 +87,7 @@ for app in %{apps_fipscheck}; do \ bin/kcapi-hasher -n fipshmac -d "$lib_path"/fipscheck \\\ "$bin_path"/$app || exit 1 \ done \ -%{_sbindir}/hardlink -cfv %{buildroot}%{_bindir} \ +%{_bindir}/hardlink -cfv %{buildroot}%{_bindir} \ bin/kcapi-hasher -n fipshmac -d "$lib_path"/fipscheck \\\ "$lib_path"/libkcapi.so.%{version} || exit 1 \ %{__ln_s} libkcapi.so.%{version}.hmac \\\ @@ -97,7 +97,7 @@ bin/kcapi-hasher -n fipshmac -d "$lib_path"/fipscheck \\\ Name: libkcapi Version: %{vmajor}.%{vminor}.%{vpatch} -Release: 1%{?dist} +Release: 2%{?dist} Summary: User space interface to the Linux Kernel Crypto API License: BSD or GPLv2 @@ -356,7 +356,7 @@ EOF # Possibly save some space by hardlinking. for d in %{_mandir} %{_pkgdocdir}; do - %{_sbindir}/hardlink -cfv %{buildroot}$d + %{_bindir}/hardlink -cfv %{buildroot}$d done