Use make macros

This commit is contained in:
Timm Bäder 2021-05-05 18:02:35 +02:00
parent 6821fb7658
commit b1c7772046

View File

@ -31,13 +31,13 @@ Libtpms header files and documentation.
%build
NOCONFIGURE=1 sh autogen.sh
%configure --disable-static --with-tpm2 --with-openssl
make %{?_smp_mflags}
%make_build
%check
make check
%install
make DESTDIR="%{buildroot}" install
%make_install
find %{buildroot} -type f -name '*.la' | xargs rm -f -- || :
%ldconfig_scriptlets