Fix FTBFS: hardlink is now in bindir
Signed-off-by: Ondrej Mosnacek <omosnace@redhat.com>
This commit is contained in:
parent
af460bd5b3
commit
782807f493
@ -87,7 +87,7 @@ for app in %{apps_fipscheck}; do \
|
|||||||
bin/kcapi-hasher -n fipshmac -d "$lib_path"/fipscheck \\\
|
bin/kcapi-hasher -n fipshmac -d "$lib_path"/fipscheck \\\
|
||||||
"$bin_path"/$app || exit 1 \
|
"$bin_path"/$app || exit 1 \
|
||||||
done \
|
done \
|
||||||
%{_sbindir}/hardlink -cfv %{buildroot}%{_bindir} \
|
%{_bindir}/hardlink -cfv %{buildroot}%{_bindir} \
|
||||||
bin/kcapi-hasher -n fipshmac -d "$lib_path"/fipscheck \\\
|
bin/kcapi-hasher -n fipshmac -d "$lib_path"/fipscheck \\\
|
||||||
"$lib_path"/libkcapi.so.%{version} || exit 1 \
|
"$lib_path"/libkcapi.so.%{version} || exit 1 \
|
||||||
%{__ln_s} libkcapi.so.%{version}.hmac \\\
|
%{__ln_s} libkcapi.so.%{version}.hmac \\\
|
||||||
@ -97,7 +97,7 @@ bin/kcapi-hasher -n fipshmac -d "$lib_path"/fipscheck \\\
|
|||||||
|
|
||||||
Name: libkcapi
|
Name: libkcapi
|
||||||
Version: %{vmajor}.%{vminor}.%{vpatch}
|
Version: %{vmajor}.%{vminor}.%{vpatch}
|
||||||
Release: 1%{?dist}
|
Release: 2%{?dist}
|
||||||
Summary: User space interface to the Linux Kernel Crypto API
|
Summary: User space interface to the Linux Kernel Crypto API
|
||||||
|
|
||||||
License: BSD or GPLv2
|
License: BSD or GPLv2
|
||||||
@ -356,7 +356,7 @@ EOF
|
|||||||
|
|
||||||
# Possibly save some space by hardlinking.
|
# Possibly save some space by hardlinking.
|
||||||
for d in %{_mandir} %{_pkgdocdir}; do
|
for d in %{_mandir} %{_pkgdocdir}; do
|
||||||
%{_sbindir}/hardlink -cfv %{buildroot}$d
|
%{_bindir}/hardlink -cfv %{buildroot}$d
|
||||||
done
|
done
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user