Fix rpmlint error (usage of %{_sourcedir})
Fixes the following reported by rpmlint: libkcapi.src:97: E: use-of-RPM_SOURCE_DIR Fixed by using the appropriate %{SOURCE<n>} macros as documented in: https://fedoraproject.org/wiki/Packaging:RPM_Source_Dir Signed-off-by: Ondrej Mosnacek <omosnace@redhat.com>
This commit is contained in:
parent
8d3f288df5
commit
5db30d35f3
@ -94,8 +94,8 @@
|
||||
%global sha512hmac bin/kcapi-hasher -n sha512hmac
|
||||
%global fipshmac bin/kcapi-hasher -n fipshmac
|
||||
%else
|
||||
%global sha512hmac bash %{_sourcedir}/sha512hmac-openssl.sh
|
||||
%global fipshmac bash %{_sourcedir}/fipshmac-openssl.sh
|
||||
%global sha512hmac bash %{SOURCE2}
|
||||
%global fipshmac bash %{SOURCE3}
|
||||
%endif
|
||||
|
||||
# Add generation of HMAC checksums of the final stripped
|
||||
|
Loading…
Reference in New Issue
Block a user