Use make macros
This commit is contained in:
parent
6821fb7658
commit
b1c7772046
@ -31,13 +31,13 @@ Libtpms header files and documentation.
|
|||||||
%build
|
%build
|
||||||
NOCONFIGURE=1 sh autogen.sh
|
NOCONFIGURE=1 sh autogen.sh
|
||||||
%configure --disable-static --with-tpm2 --with-openssl
|
%configure --disable-static --with-tpm2 --with-openssl
|
||||||
make %{?_smp_mflags}
|
%make_build
|
||||||
|
|
||||||
%check
|
%check
|
||||||
make check
|
make check
|
||||||
|
|
||||||
%install
|
%install
|
||||||
make DESTDIR="%{buildroot}" install
|
%make_install
|
||||||
find %{buildroot} -type f -name '*.la' | xargs rm -f -- || :
|
find %{buildroot} -type f -name '*.la' | xargs rm -f -- || :
|
||||||
|
|
||||||
%ldconfig_scriptlets
|
%ldconfig_scriptlets
|
||||||
|
Loading…
Reference in New Issue
Block a user