SHA256
1
0
forked from pool/libkcapi
Marcus Meissner 2017-06-30 14:09:20 +00:00 committed by Git OBS Bridge
parent fb0569cfc9
commit 673af78dd7

View File

@ -87,6 +87,15 @@ make install maninstall DESTDIR=%{buildroot} LIBDIR="%{_libdir}" %{?_smp_mflags}
cd ../apps
make install DESTDIR=%{buildroot} %{?_smp_mflags} BINDIR=/usr/%_lib/libkcapi/
# Add generation of HMAC checksums of the final fipshmac fipscheck stripped binaries
%define __spec_install_post \
%{?__debug_package:%{__debug_install_post}} \
%{__arch_install_post} \
%{__os_install_post} \
$RPM_BUILD_ROOT/usr/%_lib/libkcapi/fipshmac $RPM_BUILD_ROOT/usr/%_lib/libkcapi/fipscheck \
$RPM_BUILD_ROOT/usr/%_lib/libkcapi/fipshmac $RPM_BUILD_ROOT/usr/%_lib/libkcapi/fipshmac \
%{nil}
%post -n libkcapi0 -p /sbin/ldconfig
%postun -n libkcapi0 -p /sbin/ldconfig